Steve,

 

Here is what you can do for your scenario.

 

// Create an image object..

Image = CreateObject("java", "java.awt.image.BufferedImage");

 

//Initialise image object..

Image.init( JavaCast("int", width), JavaCast("int", height), JavaCast("int",
image.TYPE_INT_ARGB));

 

>From here you now have an object to do further processing with, it is
complicated from this point onwards as you have to now go to the java docs
for the classes to do what you need.

 

ColdFusion when it creates this image buffer will always do so with the RGB
type, which can be a pain in the butt to say the least as you are finding
out. I should also point out that you will not be able to use the ColdFusion
image tags or functions from this point on without it converting it back to
a normal RGB image type.

 

Feel free to contact me again or post in here if you need further
assistance. 

 

 

Regards,

Andrew Scott

 <http://www.andyscott.id.au/> http://www.andyscott.id.au/

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to