View previous topic :: View next topic
Author
Message
budha Joined: 02 Mar 2004 Posts: 1377 Location: Osijek
Posted: 20.07.2004 11:52 Post subject: PHP - GD library - resize
Za resizanje slika koristim ImageCreateTrueColor().
Postoji li neka smooth opcija il nest slicno, jel kad resizam sliku 500x334px na manju (120x80px) dobijem slike uzasne kvalitete?
npr.
original -> http://www.skojo.hr/data/97_p_0.jpg
resizana fotka -> http://www.skojo.hr/data/97_t_0.jpg
_________________ I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
maxy Joined: 07 Sep 2003 Posts: 894 Location: Zagreb
Posted: 20.07.2004 14:07 Post subject:
prouci funkciju imagecopyresampled()
Back to top
budha Joined: 02 Mar 2004 Posts: 1377 Location: Osijek
Posted: 20.07.2004 22:26 Post subject:
Danke!
rjeseno! umjesto imagecopyresized(), stavljeno je imagecopyresampled()
_________________ I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
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 vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group