Skip to content
pubscout

flutter_exif_rotation

0.5.2, released 2 years ago by an unverified publisher

Fixes picture orientation for photos taken in landscape mode on specific devices.

$ flutter pub add flutter_exif_rotation
Source repository

What it does

A Flutter plugin that corrects image orientation based on EXIF data, specifically designed to fix issues where certain devices save pictures in landscape orientation when they were taken in portrait.

AI-written summary of version 0.5.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to fix incorrect image orientation caused by device EXIF data on Android or iOS
  • You are processing images taken with the camera or selected from the gallery

Skip it when

  • You only need generic image manipulation or filters without EXIF rotation fixes
  • You are building a web-only application (not documented as supported for web)

Strengths

  • Solves specific device-dependent EXIF orientation bugs
  • Provides options to either rotate and save or return the rotated file directly

Weaknesses

  • Limited scope restricted to EXIF orientation fixing
  • Requires platform-specific configuration/permissions on Android depending on storage usage

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

May require AndroidManifest.xml permissions depending on whether you manipulate files from internal storage or external locations.

File rotatedImage = await FlutterExifRotation.rotateImage(path: image.path);

Alternatives

Packages that do the same job and could replace flutter_exif_rotation.