Link to home
Start Free TrialLog in
Avatar of Laurent Lebleu
Laurent Lebleu

asked on

JPG orientation with Delphi7

Hey experts

I have this problem with some JPG files as like this example
the left original image appears correctly in a folder
but when loaded in my Delphi program, it results as this image on the right
User generated image

Thanks for your help
Avatar of ste5an
ste5an
Flag of Germany image

The problem is your assumption.

A JPEG has a physical orientation. Your Delphi component respects this. The other tool uses proprably the image properties to adjust orientation.

What JPEG component?
Avatar of Laurent Lebleu
Laurent Lebleu

ASKER

Hey ste5an

Thanks for your answer

I use the standard jpeg.dcu component
Sorry I dont know how I can solve this assumption problem



ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Ferruccio

it works well for rotation 90 right or 90 left
for rotation 180, I made a double rotation 90 right - but it could be smart to make it differently






Right now i'm home due to covid restrictions.
Tomorrow i'll take a look at it
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial