I like to open a Windows bitmap file within php.
I found some piece of code (imagecreatefrombmp), that converts a bmp to png. But that code is in plain php and to slow. My images have a size around 1000x2000 pixels.
gdlib doesn't open bmp files.
IMagick to complicated to compile and i don't find windows binaries that work with my php.
Additional i like to open that bmp from a string. it is streamed from a db.
I also need to do some rotations (0, 90, 180, 270) and some cropping.
Finally i like to save it to tiff or png file (or string).
But primary problem, how to open a bmp file?
plattform:
- php 5.2 (vc6,ts) on Windows Cli and Apache 2.2 Module
- zend framework 1.10