Why does WP reduce the quality of my header img?

  • Author
    Posts
  • #26751

    When I first uploaded my custom header it was about 60k .png image. After the crop it got turned into a .jpg file at about 15k. I can understand that it may have something to do with bandwidth consumption, but the quality is horrible.

    Next, I took my original picture and reduced it to about 15k, but when I uploaded that one it still got degraded. Why is this happening? And whiy do I have to crop an image that is already 750×140 pix (Contempt theme)?

    #27051

    i.. don’t know.
    it doesn’t seem to be a size issue. mine is 99.79 KB
    i am using a .png, though, which is harder to compress. try saving as a png before uploading.

    #27057

    I have a custom header, created using Fireworks, but I exported it from Fireworks as a jpeg first, then uploaded this to WP. Seems to work fine and WP only took a few 3KBs off me! :)

    #27060

    Well, the first image uploaded was a png image and it got turned into a jpg of REALLY low quality. No idea why. it may have something to do with the theme.

    i might have to submit a feedback tomorrow.

    sunburntkamel, your header is a jpg too. guess wp auto-converts to jpg. dunno why yours is good.
    are you a paying member by any chance?


    i know this post is a mess but i’m tired and i can barely think straight

    #27062

    @bbb, again the theme is not the same as mine

    #27063

    drmike
    Member

    It tried to crop mine as well using the Sapphire theme even though it was the correct size. Never heard anything on the issue so I just added it into the CSS and moved on.

    #27064

    andy
    Member

    We recently updated the custom header code due to complaints about file sizes increasing. The new code generates JPEG files at 75% quality.

    #27065

    @drmike: if i don’t crop all i get is a black box instead of the image

    #27067

    drmike
    Member

    Andy, what about the crop issue when one isn’t needed?

    #27068

    i’ll have to come back tomorrow to finish this as i’m expected back home and as i said i’m tired

    thanks for trying to help, i hope this can be fixed

    #27071

    drmike, when I upoaded my header I had to drag the crop tool across my image, so that it was effectively cropping the whole image, or rather none of it.

    What I mean is there was no option to miss out the cropping part of the upload procedure.

    #27075

    drmike
    Member

    That’s the issue I raised as well.

    #27080

    andy
    Member

    Something I mean to do with the cropper is test the image size and accept it as-is if it matches the theme’s header image size. Good things come to those who wait, right? Expect it in the next few days.

    #27084

    veltis
    Member

    Yayyy!

    #27087

    andy:
    “Something I mean to do with the cropper is test the image size and accept it as-is if it matches the theme’s header image size. Good things come to those who wait, right? Expect it in the next few days.”

    Does that mean that it won’t reduce the quality of the image to 75%, or it will just skip the crop part?

    #27094

    is there any new info regarding this?

    #27095

    Can I at least link to an off site image hosted on sites as photobucket or flickr? that would be very acceptable on my side.

    #27099

    matt
    Staff

    I just made a change to the custom header resizer which should make the images *much* higher quality than they used to be. Try it out and see what you think.

    #27100

    timethief
    Member

    YEAH! off to do … edit: I just tried several on my test blog and all were vastly improved – good work Matt. :)

    #27101

    Should I re-upload (if that’s a word!) my header image then?

The topic ‘Why does WP reduce the quality of my header img?’ is closed to new replies.