I have raw data that I've extracted from a database that I need to convert to a image. The compressed file is a very small bmp for which I have the original bmp that was placed in the application
What I know so far:
--------------------------------------
The data was placed into the database via a C# application that uses [login to view URL] Or maybe [login to view URL] (the Ionic library dll is included in the app) or maybe something else? .Decompiling the app shows the zlib being read via a stream (I have attached some of t e c# code snippets as [login to view URL]). The code indicates to skip the first 71 bytes, then start reading. Byte 72 looks like it contains information about the file extention, in this case bmp
Byte 86 looks seems like it is the start of a zlib header (78 9C)
Attached are 3 files
1) [login to view URL]
---Contains the compressed zlib data and filename information prior to zlib data, zlib data starts at byte 86
2) [login to view URL]
--The original bmp file, the app creates a temporary file from the [login to view URL] that is an exact copy of this. I need to be able to do this
3) [login to view URL]
--c# code from the app that reads and writes the raw data to a [login to view URL]
I need a simple way, directions or a simple app on how to pass it a [login to view URL] string and get a bmp. Focus on the [login to view URL] conversion, the [login to view URL] are just there for reference so you can see how they did it and how I've came to the conclusions I have so far. Please don't waste my time or yours --- this should be easy for the right person.