Beruflich Dokumente
Kultur Dokumente
1
Image Processing in CF8
2
CFIMAGE Action’s
• border
• captcha
• convert
• info
• read
• resize
• rotate
• write
• writeToBrowser
3
Example: Resize
<cfimage action=”resize”
source=”filePath”
destination=”filePath”
height=”n”
width=”n”>
4
Example 1
Resize an Uploaded Image
5
What if...
6
Image Info
7
Example 2:
Image Info
8
Example 3:
Conditionally Resize an Image.
9
CAPTCHA
10
CAPTCHA’s
11
CFIMAGE CAPTCHAs
12
Example 4:
CAPTCHA Images generated by CFIMAGE
13
Example 5:
CAPTCHA Form Example
14
Image Functions
• Create Images from Scratch
• Add Shapes & Lines to an image
• Add Text to an Image
• Overlay an Image on another Image
• Crop, Flip, Blur, Grayscale, Invert, Rotate
• Get EXIF & IPTC Image Metadata
15
Example 6:
Building a button from scratch using Image functions.
16
What if you wanted...
• Gradients
• Rounded Corners
• Reflection Effect
• Drop Shadows
• More...
17
Foundeo’s CFIMAGE
Effects
http://foundeo.com/image-effects/
18
Example 7:
Foundeo’s CFIMAGE Effects
19
Questions?
Thank You.
Blog: http://www.petefreitag.com
Company: http://foundeo.com/
20