dotnet / dotnet/aspnetcore

Blazor RequestImageFileAsync to keep image EXIF data

Open
#28,691 7 comments 1 reaction 0 assignees View on GitHub
affected-few area-blazor enhancement feature-blazor-builtin-components severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is your feature request related to a problem? Please describe.
Maintain Exif metadata when you request a file picture resized.
Example: When I upload an image using InputFile on Blazor, if I request the original file I can get the Exif metadata, but If I request the image resized I lost the information, this could be an important feature because I need to determine the rotation of the picture so I can rotate it automatically and try to avoid the user to manually rotate the picture.

### Describe the solution you'd like
There's a way to write the Exif to a current image in Javascript so I think is possible to read the current and add it to the newly resized image, this way the server can receive the resized image and this translates to saving in bandwith, mostly on phone devices where a picture can have a size of 20mb.

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.