I am trying to dynamically convert BMP's to JPEG's. I have installed GD, ImageMagick, and MagickWand and they are all working, but I cannot get the imagecreatefromwbmp() function to work. I get an error that it is not a valid WBMP file. There is no function to convert plain BMP files. Is there another way I can go about this? I have searched all over google and haven't come up with anything.
Here is my code:
$imgfile = "chartupdate/charts/Chart1.bmp";
$wand = NewMagickWand();
$bmpimg = MagickReadImage($wand, $imgfile);
$im = imagecreatefromwbmp("chartupdate/charts/Chart1.bmp");
Thanks for your assistance,