-
A couple of things
Just got started with the Graphics Library... What a great resource. Thank you Thank you thank you.
I'm a bit curious about two things
1. in a cImageContainer, I have peImageStyle set to ifFitOneSide. Then I set the psImage and it works great. Almost too great and I don't understand why. Here is the issue I have a collection of pictures. When I look at those pictures in anything else beit Windows Explorer, Corel Photoshop or anything else, some of the pictures are rotated and appear to be on their side. And yet in every case whenever I load that picture into a cImageContainer it ALWAYS displays it correctly rotated for viewing. I then turned off peImageStyle and it style somehow magically transforms the image to a correctly rotated rendering. I don't understand how that is happening.
2. I noticed wwhen peImageStyle is not set and pbShowScrollbars is set to True, the horizontal scroll bar shows but does not work.... only the vertical scrollbar is functional.
M
-
Re: A couple of things
the rotation probably has to do with meta data and how different programs handle it
an image has an actual physical orientation the way the data is saved. In addition cameras record orientation data in the meta data telling programs how to rotate the image for proper viewing
some software automatically handles this for you, some programs do not or have options for it
-
Re: A couple of things
Thank you Michael.
I've never noticed this before ... so must the the meta data info that automatically corrects this.
-
Re: A couple of things
the meta data is just a set of properties like 'what orientation did the user hold the camera', gps coordinates, name of photographer etc
then it depends on the program opening the image what it does with it
-
Re: A couple of things
Thanks Michael
I wasn't aware that that sort of information was in the meta data. First thing that I've learned all week ( so far)
-
Re: A couple of things
google EXIF
it contains things like the camera manufacturer and model, the lens used, focal length, aperture, shutter speed, ISO etc
all this is used by imaging apps to apply lens corrections, auto rotation, GPS location tagging
-
Re: A couple of things
-
Re: A couple of things
Hi Mike
Vincent did a demo once on retrieving and displaying this information in a DataFlex application.
Not sure if it’s in the downloads.
Cheers
Marco
-
Re: A couple of things
It makes sense that all of that detail is tracked... I just never thought about it or realized it!
-
Re: A couple of things
Mike,
The Graphics Library has a function - and it is used in the demo too - to read all EXIF properties of an image. Standard EXIF and Manufacturer custom ones.