bumptech / bumptech/glide

Reading the Exif in the load background thread

Open
#3,367 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**Glide Version**: 4.8.0

Since Glide doesn’t have Exif support for **raw (dng)** image files, we are currently using the **Exif Support Library** to read the correct orientation for such format and supply a custom transform class according to it.

The problem is that reading the Exif in the UI thread right before committing to Glide the task to load the image has a performance hit.

If Exif support for such format isn’t something in the roadmap, then, is there any callback in the load pipeline triggered in the **loading background thread** that we could use read the Exif orientation and supply the transform to be applied?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.