When you load a JPEG image in Delphi (both VCL and FMX), the image might appear rotated or even mirrored. This is often the case, when the image is a photo taken with a smartphone in portrait mode.

The reason is that the JPEG contains an additional "Exif" header, which specifies the orientation of the image. In order to display the image correctly, you must read the Exif header and rotate, flip or mirror the image after loading, according to the orientation information in the Exif header.

This small unit does it for you: it is the smallest and fastest JPEG Exif reader currently available for Delphi and automatically applies the necessary transformations to a TBitmap object after loading.

Useage:

procedure JPEGLoadBitmap(ABitmap: TBitmap; AFileName: String); overload;
procedure JPEGLoadBitmap(ABitmap: TBitmap; AStream: TStream); overload;

Features

  • JPEG loader honoring Exif information

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Delphi FMX JPEG loader with Exif

Delphi FMX JPEG loader with Exif Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Delphi FMX JPEG loader with Exif!

Additional Project Details

Operating Systems

Linux, Android, Apple iPhone, Mac, Windows

Registered

2025-02-03