Skip to content

Commit

Permalink
Merge branch 'fix/broken-upload-image' into exp/urouro
Browse files Browse the repository at this point in the history
  • Loading branch information
4ster1sk committed Nov 12, 2024
2 parents 7e7e771 + dd1c7c7 commit 4261d28
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ class NoteCreateNotifier extends _$NoteCreateNotifier {
if (mime == "image/jpeg") {
final origExif = decodeJpgExif(imageBytes);
final exif = ExifData();
exif.imageIfd["Orientation"] = 1;

if (origExif != null) {
final orientation = origExif.imageIfd["Orientation"];
Expand Down

0 comments on commit 4261d28

Please sign in to comment.