1 / 20

CFIMAGE: Advanced Image Processing in CF8

Learn about the new CFIMAGE tag in CF8 which supports 9 operations and over 50 new image processing functions. Resize, rotate, convert, and more. Examples provided.

evag
Download Presentation

CFIMAGE: Advanced Image Processing in CF8

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CFIMAGE • Presentation By Pete Freitag • Foundeo Inc.

  2. Image Processing in CF8 • New CFIMAGE tag supports 9 operations • Over 50 new image processing functions added to CF8

  3. CFIMAGE Action’s • border • captcha • convert • info • read • resize • rotate • write • writeToBrowser

  4. Example: Resize <cfimage action=”resize” source=”filePath” destination=”filePath” height=”n” width=”n”>

  5. Example 1 • Resize an Uploaded Image

  6. What if... • You only wanted to resize big images?

  7. Image Info • <cfimage action=”info” source=”file” structName=”imgInfo”>

  8. Example 2: • Image Info

  9. Example 3: • Conditionally Resize an Image.

  10. CAPTCHA • Whatcha talkin about? • Completely Automated Public Turing test to tell Computers and Humans Apart.

  11. CAPTCHA’s • Used to detect spammers • Displays hard to read text via an image • To foil OCR or image to text apps • CAPTCHA’s do not meet Section 508 Accessibility standards

  12. CFIMAGE CAPTCHAs • <cfimage action=”captcha” text=”display” width=”50” height=”300”>

  13. Example 4: • CAPTCHA Images generated by CFIMAGE

  14. Example 5: • CAPTCHA Form Example

  15. 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

  16. Example 6: • Building a button from scratch using Image functions.

  17. What if you wanted... • Gradients • Rounded Corners • Reflection Effect • Drop Shadows • More...

  18. Foundeo’s CFIMAGEEffects http://foundeo.com/image-effects/

  19. Example 7: • Foundeo’s CFIMAGE Effects

  20. Questions? • Thank You. • Blog: http://www.petefreitag.com • Company: http://foundeo.com/

More Related