Google Answers Logo
View Question
 
Q: Script to read and display cropped pictures of any size without distortion. ( No Answer,   0 Comments )
Question  
Subject: Script to read and display cropped pictures of any size without distortion.
Category: Computers > Programming
Asked by: bizuth-ga
List Price: $20.00
Posted: 08 Sep 2006 15:49 PDT
Expires: 08 Sep 2006 15:51 PDT
Question ID: 763508
I am currently using an inhouse HTML slide-show program originally
designed to read jpg pictures in a landscape format from a file folder
and to display them on the  in 3 different fixed sizes (small, medium
and large). This personal program has several features that fit my
needs better than commercially available slide-show software, except
that when it displays pictures that are either cropped or taken in
portait format, distortion occurs to fit each of the full fixed sizes
specified. Photos not captured in a landscape mode are frequently
badly streched horizontally. I am only seeking a script (Java or
other) to read any size pictures from a folder, dynamically calculate
the display dimensions and display the result while maintaining
picture integrity ratios. The available display space is in landscape
mode to fit laptop screens. Thus pictures in portrait mode would fit
the height but use less than the available width. Likewise, cropped
pictures with odd sizes would be adjusted accordingly to retain
integrity ratio.
Please specify open-source script or freeware I may embed into the
program. available. Alternatively, you are also most welcome to
provide the source routine.
I have two primary school children waiting to show their summer
holiday project to their friends and classmates.
Your assistance is highly appreciated.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy