VSoft Technologies Blogs
Oct 16

Written by: Tate Needham
Monday, October 16, 2006 

We've added two actions to FinalBuilder 5 to manipulate image files (ie. JPEG, GIF, etc):
  • Image Manipulation
  • JPEG Lossless Transform
So, what can these do?

Well, firstly, JPEG Lossless Transform can be used to rotate, flip, transpose, mirror, or transverse transpose a JPEG image without loss of any information.  Normally, if you rotate a JPEG it has to be recompressed, and this causes information loss.  So this action can do these basic operations without recompressing the JPEG.  But what's cooler is that it can perform a rotation if required automatically based on Exif information stored in the JPEG.

Let me explain further - most digital cameras store certain information about the photo inside the JPEG file (called Exif).  This information can be the size of the photo, exposure time, if the flash was on or not, the make/model of the camera, etc.  Some cameras also detect the orientation of the camera when the photo was taken, and also record this information.  This is great when taking portrait shots as the photos can be automatically rotated using this orientation information in the Exif to rotate the photo so that it appears correctly on your monitor.  I know most Canon and Nikon cameras store the orientation, but not sure about others.  So, basically, you could use FinalBuilder to scan your entire hard disk and automatically rotate any photos that need rotating!

The other action is the Image Manipulation.  Here are some of the things it can do:
  • Convert image to: BMP, JPEG, GIF, PDF, TIFF, and PNG
  • Rotate Image
  • Mirror Image
  • Flip Image
  • Resize (to specific pixels, or percentage, and with choice of resize algorithm)
And you can combine functions - for example you can resize an image to a thumbnail of 100x75 and then convert to PNG.  Both the Image Manipulation and JPEG Lossless Transform actions also accept a FileSet, so you can easily do bulk operations.

So, a couple of practical examples - just say you want to convert all your .bmp screenshots in your help file to .png, or create thumbnails sized images for your screenshots on your website - very easy with these new actions.  And I already use the auto rotate using Exif information to automatically rotate my own photos :)

Some screenshots of the Image Manipulation action:
ImageManipulate1.png

ImageManipulate2.png

ImageManipulate3.png

ImageManipulate4.png

Tags:

5 comment(s) so far...

Re: New in FinalBuilder 5 - Image Manipulation Actions

Thanks for the post. Your blog is a great example of explaining new features (which would otherwise be boring to read about) in an interesting way.

By Ali on   Monday, October 16, 2006

Re: New in FinalBuilder 5 - Image Manipulation Actions

Thanks for the comment Ali.

It's actually easier to blog about new features then formally write about them in the help file or the website too ;)

cheers!

By Tate on   Monday, October 16, 2006

Re: New in FinalBuilder 5 - Image Manipulation Actions

OK, I'll bite. Why would I want to rotate images as part of my build process?

By Michael Dorfman on   Tuesday, October 17, 2006

Re: New in FinalBuilder 5 - Image Manipulation Actions

Hi Michael,
You got me there... I can't think of one right now, but then again there's a lot of weird and wonderful things that people do during their build process... I'm sure someone will make use of these actions in some way :)

By Tate on   Tuesday, October 17, 2006

Re: New in FinalBuilder 5 - Image Manipulation Actions

"OK, I'll bite. Why would I want to rotate images as part of my build process?"

Because you can!

How about this use.

Start off with an image of a "thumbs up".

If the build is successful, send it to the development team.

If the build is unsuccessful, rotate it to "thumbs down" and then send it to the development team.

Visual build validation!

By Rod on   Wednesday, October 18, 2006

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 

  

Blog Search
  

Blog List
  

Follow FinalBuilder on Twitter.

Blog Calendar
  

Copyright © 2010 VSoft Technologies Pty Ltd Terms Of Use Privacy Statement