ColdFusion Certification... 7 or 8?
CF8
I've been trying hard to get studied up in preparation for taking my ColdFusion Certification test. While I'm not too worried about passing, I'm dead set on getting an Advanced Certification, and thats not quite as easy. One of my coworkers already got his advanced with a score of 95%... tough act to follow!
I'm also wrestling with the idea of going straight to the CF8 test. I've got a good understanding of the updates and changes, and the test is going to be useful for much longer, but my company is only requiring CF7. Paired with the fact that no good study materials have been made for 8 yet, and I'm worried that I could fail if I go that extra mile.
Tough call.
Rounded Corners Code
cfimage,
CF8
A while back I mentioned that I had come up with some code to do rounded borders, but that I was holding it back as part of a larger release. Since then, I've not gotten as far with some of my other code ideas, and since I was asked nicely, I figured I'd release the code for rounded corners.
More
Image Object
cfimage,
CF8
Perhaps I've been overwhelmed by my recent reading on object-oriented design, but as I said in my last post, I thought an object that offered all the CF8 Image functions as methods of that object would be kind of nice. Despite the stumbling block of not being able to use onMissingMethod and Evaluate to create a solution, I applied a little brute force and hand coded it all. You can download it here:
Image.cfc
- Version 0.3
-
- Corrected for ImageDrawQuardicCurve() documentation errors (takes 7, not 9 as listed here).
- Added masks to allow Yes/No and On/Off inputs to be passed as simple boolean values (true/false)
I've tested the basics, but I wont guarantee that it is completely bug free. When I find additional bugs, I'll put out new versions. I'll also be using this object as the bases for a new EffectsImage.cfc that will hold things like the mirroring effect.
Evaluate()'ing a Function with "Nothing" Returned
cfimage,
CF8
So, I'm plugging away at some cool image effect stuff, and I decided that it would be nice to wrap all my image functionality into an object, and that it would be cool to try CF8's new onMissingMethod function to implement the built in function set as methods of this new object. The overall effect would be really nifty and fun to use, but I hit a big old snag; the Evaluate() function fails with "nothing" returned.
More
Transparent Background
cfimage,
CF8,
Java in ColdFusion,
ColdFusion
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.
More
Transparent Backgrounds for CF8 CFImage
cfimage,
CF8,
Java in ColdFusion
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
cfimage,
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.
More
Foundeo's Rounded Borders
CF8,
ColdFusion
I know I said that I wouldn't do it, but I've become obsessed with figuring out replicate the rounded borders effect for CF8 that Foundeo included in its Effects CFC. I tried drawing rounded rectangles with large brush strokes to do it, but I keep messing up the diameters... maybe I'm just not getting it right.
Any one have any ideas?
Testing YouTube Video content.
If it proves too annoying, I'll get rid of it.