Transparent Background

One of the big frustrations about CF8 image effects, is the lack of any way to get transparent writes or backgrounds. While most people think of transparent as just one more color, when you look at how Java handles pixels, you'll understand why Adobe didn't take the time to do this themselves.

 

Transparent Backgrounds for CF8 CFImage

Can you create an image with a transparent background, but it takes creating some Java objects. I'll be posting the code as part of an image effects set, but you an follow the steps here to figure out how to do it.

 

Problems with Image Copying in CF8

I ran into an interesting problem with ColdFusion 8's image functions. I wanted to compare my image from before I added my effect, and my image after. Simple right? Well no, no its not. I'm doing my image manipulations in function, so I wanted to pass in the original image, and save the result to a new variable, but I kept coming out with two copies of the same image. It took me a bit, but I finally found a solution.

 
Jon in Chicago, July 2008

I'm Jon Hartmann and I'm a C# .Net developer by day, a ColdFusion guru by night, and all around Javascript fanatic. Stay right here to read my technical posts as I grapple with mysterious error messages, user interface design questions, and all things baffling and irksome about programming for the web. Learn more about me.

Post a job. Find one. authenticjobs.com

Interested in becoming a sponsor? Contact me.