PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Aug 09, 2020 6:20 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Sep 09, 2005 8:25 pm 
Offline
Forum Newbie

Joined: Mon Jun 06, 2005 11:11 pm
Posts: 5
Hi,

not sure if this is the correct forum but here goes.

I'm having trouble with creating (decent) thumbnails from a large image with php.

Currently I am using
imagecreatetruecolor() & imagecopyresampled() to create the thumb etc... but it still is a little pixelated.

Is there anyway of specifying the quality or increasing the clarity of the thumb image?

I have searched the forums and came up with numerous people posting use 'imagecopyresampled() - but this doesn't give me the clean clear thumbs that i'd like. Plus thumbs are saving at ~6 to 7kb from a full size image of 250kb (thumbs 200*200). I wouldn't mind saving as double the kb size to increase picture quality but have no idea how to do this.

TIA for responses.

cheers,
Adam


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 09, 2005 8:37 pm 
Offline
Neighborhood Spidermoddy
User avatar

Joined: Mon Mar 29, 2004 4:24 pm
Posts: 31559
Location: Bothell, Washington, USA
if you're using imagejpeg to produce the final output, set the quality argument.


moved to graphics.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 10, 2005 12:03 am 
Offline
Forum Newbie

Joined: Mon Jun 06, 2005 11:11 pm
Posts: 5


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group