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 | Your top-rated shield against malware and online scams Icon
Get Avast Free Antivirus | Your top-rated shield against malware and online scams

Boost your PC's defense against cyberthreats and web-based scams.

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
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