a huge TIFF files will create a huge representative picture #935

Open
opened 2026-10-05 00:24:28 +02:00 by adam · 0 comments
Owner

If you upload a huge TIFF files, let's say 14249x6570 pixels (548MB, true example), the current Piwigo 2.10 algorithm to create representative will create a 14249x6570 JPEG or PNG file.

It's totally useless because the representative is only used to act as the original to generate derivatives (multiple sizes). The huge JPEG representative (sometimes 50MB in my example) will take forever to generate the thumbnail and use far too much disk space.

I think we could limit the dimensions to size XXL dimensions + 20%.

If you upload a huge TIFF files, let's say 14249x6570 pixels (548MB, true example), the current Piwigo 2.10 algorithm to create representative will create a 14249x6570 JPEG or PNG file. It's totally useless because the representative is only used to act as the original to generate derivatives (multiple sizes). The huge JPEG representative (sometimes 50MB in my example) will take forever to generate the thumbnail and use far too much disk space. I think we could limit the dimensions to size XXL dimensions + 20%. <!-- github-sync-id:491741590 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#935