Skip to main content
October 1, 2007
Question

cfimage ImageRotate - change background color

  • October 1, 2007
  • 1 reply
  • 582 views
I'm reading a jpg image, setting its background color to white, then rotating it but the background is always black. I could change the color with alagad's image.cfc, but can't with CF8. Any suggestions?
This topic has been closed for replies.

1 reply

Participating Frequently
October 1, 2007
Hi,

ImageSetBackGroundColor is not meant to be used the way you are trying to. It is used to mainly with ImageClearrect function.
so If you clear a rectangluar area then the whatever background area you have set will take that celared rect.

For the problem you are facing, we already have a bug for ImageRotate and it is on our track.

Thanks & regards,
Jayesh Viradiya
Adobe CF Team