I need a library to create Flash SWF files from raw bitmaps passed in memory in RGB.
The library simply takes an output file path, framerate(the gap between the images), maybe a quality setting, and then it will receive a series of bitmaps in memory.
The deliverable includes the library in a DLL form, a test application, and all the source code. The source code should not contain any code/library/package which requires third party license.
The library should be written in C++ on Windows platforms, without using MFC.
Some clarifications
1. It must be a Visual C++ 6.0 project, with source code written in C++.
2. It must take bitmap from memory. Two similiar functions are needed. One takes a HBITMP. The other one takes a memory buffer whose format is 32 bit RGB.
3. The bitmaps will have the same width and height. The output flash file will be the same width and height as input.
So, in conclusion, I need the following functions.
1. SetOutputPath(const char * inFilePath); - set the output swf file path.
2. SetSize(const short inWidth, const short inHeight); - set the output width and height. Note, whether the height is positive or negative determines whether the RGB memory buffer is upside down or opposite.
3. SetFrameRate(const double inFrameRate); - the frame rate is how many bitmaps being displayed per second. For example, if the frame rate is 5.0, the first bitmap will be displayed at 0 second, the second will be display at 0.2 second, and so on.
4. Start(void); When I am reading to add the bitmaps, this function will be called.
5. bool AddBitmap(HBITMAP inBitmap); if the input bitmap has a different size from specified in SetSize(), do not process and return false. If it has the correct size, add the bitmap to the SWF.
6. Finish(void); When all bitmaps are added, this function will be called so you have a chance to clean up.
Some clarifications:
The images should be compressed as JPEGs in the SWF. There should be a SetQuality(const double inQuality) function, with inQuality from 0 to 1 and passed to the JPEG compressor. You can use CxImage for the JPEG compression. <[login to view URL]>.
If you want to bid on this project, it would help if you can give some of your background information and please state how you would proceed - for example, I need to know which library you will use, if any.
John
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows.