Good day, all. I'm having an odd issue with an application that involves the import of photos taken on a point-and-shoot camera. The application in question uses an auto-enter calculation to thumbnail the photos on the way in (since we don't need full resolution). This is a sample of the calculation:
Let ( [
imageWidth = GetContainerAttribute ( Self ; "width" ) ;
imageHeight = GetContainerAttribute ( Self ; "height" ) ;
imageWidthReduction = 750 / imageWidth ;
imageHeightReduction = 600 / imageHeight
imageWidthReduction < 1 ;
GetThumbnail ( Self ; 750 ; imageHeight * imageWidthReduction ) ;
imageHeightReduction < 1 ;
GetThumbnail ( Self ; imageWidth * imageHeightReduction ; 600 ) ;
Now, this works quite well when taking photos from the onboard camera, and it works well with importing most photos from external sources. With one particular camera model, however, it just ... fails. No reduction of the image is done, although if I drag the photo out of the container and back in, it works.
I am not a whiz when it comes to digital photographs. Can anyone perhaps suggest what might be happening here? Right now, the client is working around it by tweaking the camera settings, but I'd really like for them not to have to do that.