ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

phpThumb image quality

February 22, 2008 11:23am

Subscribe [4]
  • #16 / Feb 22, 2008 6:28pm

    Mark Bowen

    12637 posts

    He’s still around as far as I know. A couple of weeks back now but still here with all us other hardened ExpressionEngine criminals!! 😊

    Best wishes,

    Mark

  • #17 / Feb 25, 2008 12:30pm

    ruraldreams

    279 posts

    I think Ingmar has been missing for a while unfortunately.

  • #18 / Apr 17, 2008 9:50am

    rick.prince

    111 posts

    Nice time to highjack this thread, I think. I’m running into quality issues with phpThumbs as well even with the quality set to 100%. Maybe it’s got something to do with which processor it uses (Imagemagick, GD, GD2) but I don’t even know how to change that.

    My basic picture looks something like this - pretty crap when compared to the original.

  • #19 / Apr 17, 2008 10:15am

    ruraldreams

    279 posts

    your links aren’t working but I see you have q=100

    try q=10 instead

    -C

  • #20 / Apr 17, 2008 10:37am

    Mark Bowen

    12637 posts

    your links aren’t working but I see you have q=100

    try q=10 instead

    -C

    What to make them look even worse? 😉

    1 is the lowest quality setting and 100 is the best so you definitely want 100 there. If you can fix the links then we can better take a look at this for you.

    Best wishes,

    Mark

  • #21 / Apr 17, 2008 10:39am

    rick.prince

    111 posts

  • #22 / Apr 17, 2008 10:52am

    Mark Bowen

    12637 posts

    Original image here and phpThumb image here - for other forum users.

    Hmm that does look pretty bad. I am guessing that whichever phpThumb is using (GD or Imagemagick) it may be running out of memory processing it although it is only a quite small image so I wouldn’t have thought it would be that.

    Do you have other images that it works okay for or is it doing this on all images that you pass through phpThumb?

    Best wishes,

    Mark

  • #23 / Apr 17, 2008 10:54am

    Mark Bowen

    12637 posts

    Oops silly me I took a look at the link you provided and didn’t see that you had changed the q= parameter to 10!!! 😉

    I guess you didn’t see my post just earlier? 😉

    Try this!!

    I think you will see a noticeable difference right away 😉

    Best wishes,

    Mark

  • #24 / Apr 17, 2008 11:39am

    ruraldreams

    279 posts

    Yeah sorry all, my recollection was that somebody gave me inaccurate numbers and when I posted this time, I didn’t verify my own numbers.

    From the readme that comes with phpThumb:

    q = JPEG compression (1=worst, 95=best, 75=default)

    so it’s not q=10, it’s q=95

    It’s not obvious that you would find all of the parameters in the readme, so it’s a little hard to find.

  • #25 / Apr 17, 2008 11:55am

    Mark Bowen

    12637 posts

    Rick is it all okay for you now? and RD no problems 😉

    Best wishes,

    Mark

  • #26 / Apr 17, 2008 1:09pm

    rick.prince

    111 posts

    I’ve used phpThumb on other sites and servers (same script version however, but I doubt that’s the issue) and I’ve always noticed that despite setting the quality right up there, it still looks pretty bad :(

    Any other thoughts??!?

  • #27 / Apr 17, 2008 1:17pm

    Mark Bowen

    12637 posts

    Did you see the link that I gave? 😉

    http://spectle.com/system/utilities/thumbs/phpThumb.php?src=http://spectle.com/images/projects/azzabee_1.jpg&hp=800&wl=750&q=100&f=jpeg

    That one is working perfectly for me.

    Hope that helps? It should do?

    Best wishes,

    Mark

    P.S. One thing I did notice is that you are using the full http://spectle.com path to your image but phpThumb does recommend that you only provide a relative path to the image and not the entire URL. However I think if you check out the link above you should be pleasantly surprised! 😉

  • #28 / Apr 17, 2008 3:08pm

    PXLated

    1800 posts

    Mark…That link gives me the dreaded blue error block. Usually a path problem.
    But, I agree, I haven’t had any noticeable quality problems using phpThumb.

  • #29 / Apr 17, 2008 3:18pm

    Mark Bowen

    12637 posts

    Mark…That link gives me the dreaded blue error block. Usually a path problem.
    But, I agree, I haven’t had any noticeable quality problems using phpThumb.

    If you paste the link into a browser window and then place your caret at the end of the link and hit return then it should come up fine. I think there is some kind of protection going on with accessing it from another server though. The link definitely works though 😉

    Try copying the link and then pasting and hitting return, should work fine.

    Best wishes,

    Mark

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases