WordPress.org

Ready to get started?Download WordPress

Forums

Importing indexed .png files blows filesize up (3 posts)

  1. chrissss
    Member
    Posted 6 years ago #

    I usually add screenshots to articles i write. To save space on my webspace and to minimize traffic i reduce the colors of my images within gimp

    Image -> Mode -> Indexed -> Generate optimum palette

    Now, when i upload one of these images to my blog, wordpress creates several thumbnails which are way bigger than the full format image. Here's a example. This is the "original" picture:

    nvidia2.png - 31,5kb:
    http://www.ubuntu-pics.de/bild/1254/nvidia2JA2CX.png

    WordPress creates these thumbnails

    nvidia2-150x150.png - 31,1kb
    http://www.ubuntu-pics.de/bild/1255/nvidia2150x150MMYOU.png

    nvidia2-430x322.png - 150,9kb
    http://www.ubuntu-pics.de/bild/1256/nvidia2430x322ITC33.png

    nvidia2-430x322.png is five times bigger than my original image. The reason is that wordpress converts the image back to rgb. Is it possible to keep the color palette?

  2. kevcombs
    Member
    Posted 6 years ago #

    Sounds more like a problem for the gimp forum?

    I think you are actually stating your problem in the first line where you describe your graphics file prep: "optimum pallette". There have to be design compromises with the ease of use. When you use the WP's 'upload' there is code to resize the pictures according to rules for the data in the files. There are about 8 gazillion variations of graphics files.

    Also, "thumbnail size wordpress" might be a helpful search for you.

    K

  3. chrissss
    Member
    Posted 6 years ago #

    When you use the WP's 'upload' there is code to resize the pictures according to rules for the data in the files.

    No, when i look at my images, the pictures i upload keep their image size. I tested it with a RGB picture:

    Image on my desktop:
    212.41 KB (217509 Bytes)

    Fullsize Image on WordPress:
    212.41 KB (217509 Bytes)

    Thumbnail:
    147.38 KB (150917 Bytes)

    So, it would be great if wordpress would keep the color pallete...

Topic Closed

This topic has been closed to new replies.

About this Topic