Skip to content

[stable34] fix(preview): send the whole JPEG to Imaginary - #66695

Open
lazerg wants to merge 1 commit into
nextcloud:stable34from
lazerg:backport/66399/stable34
Open

lazerg wants to merge 1 commit into
nextcloud:stable34from
lazerg:backport/66399/stable34

Conversation

@lazerg

@lazerg lazerg commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Backport of #66399. The autorotate change came to stable34 with #65486 but the follow-up fix only went to stable35, so 34.0.6 still sends the start of every JPEG twice to Imaginary.

Read the EXIF data through a separate stream and send the file stream
unchanged.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: lazerg <lazerg2@gmail.com>
@lazerg
lazerg requested a review from a team as a code owner November 17, 2026 12:26
@lazerg
lazerg requested review from leftybournes and salmart-dev and removed request for a team November 17, 2026 12:26
@joshtrichards

Copy link
Copy Markdown
Member

I guess stable33 will need this too once settled since it also got a backport of #65486.

@joshtrichards

Copy link
Copy Markdown
Member

/backport to stable33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Imaginary preview provider sends the start of a JPEG twice (AppendStream is rewound), resulting in mostly gray previews

3 participants