+ Reply to Thread
Results 1 to 6 of 6

Thread: too large png images

Hybrid View

  1. #1
    Senior Member
    Join Date
    Dec 2023
    Posts
    161
    Tests repeated with same input images, now with output format set to webp:

    User upload of large jpg file:
    JPG Test4: upload jpg of 6000x4000 pixels 7.5 MB.
    .webp thumbnail 200 pixels 5 KB --5,387 KB
    _x2.webp 400 pixels 20 KB --20,028 KB
    _large.webp 1200 pixels 133 KB --133,252 KB
    _orig.jpg 2400 pixels wide. 696 KB --696,311 KB
    No problem with this, as before, input jpg -> output webp and input jpg -> output.jpg are both ok. I'm actually not seeing any noticeable difference in size, just extension change on the output files...


    Now repeating png input test, webp output still bad when uploading the super-large png file as user...
    If a user uploads a large png file, the system saves an _orig.png that is also extremely large, and sometimes doesn't seem to resize it.
    RGB PNG Test5: upload png rgb 6000x4000 pixels 17.1 MB.
    .webp thumbnail 200 pixels 52 KB --51,764 KB
    _x2.webp 400 pixels 232 KB --232,285 KB
    _large.webp 1200 pixels 1.5 MB --1,547,756 KB
    _orig.png 6000 pixels 17.1 MB
    Problem didn't change here - extension changed, but file sizes are still the same basically.



    RGB PNG Test6: upload png rgb 3500x2332 pixels 7.6 MB.
    .webp thumbnail 200 pixels 55KB
    _x2.webp 400 pixels 224KB
    _large.webp 1200 pixels 1.5 MB
    _orig.png 2400 pixels 5.2MB
    As above, not seeing a major improvement. Numbers didn't really change except I can see the file extension changed.

    If the user uploads a big input photo as jpg, the thumbnail is 5 KB. If they upload a same-resolution big png, the thumbnail is 55 KB!

    10x as large.

    _large image if they upload jpg ends up being 133 KB. If they upload PNG the large.webp or large.jpg ends up being huge at 1.5 MB.
    Last edited by Horizon; January 17, 2024 at 04:00 PM.

+ Reply to Thread