CodeIgniter Forums
$this->image_lib->resize(), but how can I set up the resolution of the image - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: $this->image_lib->resize(), but how can I set up the resolution of the image (/showthread.php?tid=38041)



$this->image_lib->resize(), but how can I set up the resolution of the image - El Forum - 01-28-2011

[eluser]searain[/eluser]
Is there a way I can call $this->image_lib->resize(), but set up the resolution to the highest quality instead of using the default resolution CI set up for me when I call $this->image_lib->resize()?

I can see the default quality is 90%, I can set it up to 100%. But that really not improve too much. In the php image function, the default quality is 75 and then increase to 100 will mean something.

So if I need a better quality, I just have to resize to a size larger than I did before?

Thanks!


$this->image_lib->resize(), but how can I set up the resolution of the image - El Forum - 01-28-2011

[eluser]searain[/eluser]
OK, I took it back.

Set up the quality to 100% does make a lot of difference.