May 2018

          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
:: 11/25/2010 ::
A Simple Photo Uploader with an ImageShrinker.swc
Return   Back To Top
Happy Thanksgiving to everyone. Here's an early black friday special for readers of my blog. This "Simple PhotoUploader" Adobe AIR application shows an example of doing file uploads with AIR and ColdFusion while leveraging a cool swc I found (ImageShrinker.swc) that allows you to manipulate the images prior to the actual physical upload. This allows you, the developer, to control the size and other properties of file uploads (height / width / output format / shrink ratio / etc.) before the file actually touches your server. Gone are the days of huge files tying up your server's storage space.

Here are the properties and methods available with the ImageShrinker.swc:


Here's the "Simple PhotoUploader" Adobe AIR application: Simple PhotoUploader.air. The source code is included in the installed application. You will need to install the Adobe AIR runtime if you do not already have it installed.

A screenshot of the application shows a simple UI - a browse button, a hslider to change the height/width between 75 and 450 pixels, and the display of the image to be uploaded. The application includes a connectivity test - the uploads require a connection to my hosted CF server (the repository for the uploaded images) and feedback via the AIR statusBar.

Screenshot of the AIR application

The next screenshot shows the original image size:

Screenshot of the original image and dimensions

The last screenshot shows the final image size (hslider was set at 450):

Screenshot of the final image and dimensions


canada goose femme pas cher Soldes Louboutin Chaussures Soldes Louboutin louis vuitton taschen outlet louboutin outlet uk billig canada goose canada goose tilbud goyard pas cher longchamp bags outlet Monlcer udsalg billige parajumpers YSL replica sac louis vuitton pas cher Canada Goose Pas Cher Canada Goose Outlet UK Moncler Outlet uk goyard replica bags polo Lacoste pas cher Bolsos Longchamp España Moncler Jakker tilbud Doudoune moncler pas cher Parajumpers Jakker tilbud Ralph Lauren Soldes Parajumpers Outlet louis vuitton replica Moncler Jas sale Billiga Canada Goose Jacka Canada Goose outlet Billiga Moncler Doudoune Canada Goose Pas Cher Canada Goose Pas Cher Louboutin Soldes Canada Goose Pas Cher Hemers replica Doudoune Canada Goose Pas Cher prada replica Canada Goose Pas Cher Canada Goose Soldes Doudoune Canada Goose Pas Cher Canada Goose Pas Cher Canada Goose outlet Canada Goose outlet Canada Goose outlet