Last post Sep 07, 2011 02:43 PM by Lazz. _
Sep 07, 2011 01:45 PM|kumarrishav7|LINK
i want to compress the images before i save them in my server,., i tried few codes but they reduce the quality..., in my site users generally upload file of about 2 to 4 mb i want to save them in kbs,. but without having to compromise with the image quality,.,.
Sep 07, 2011 02:43 PM|Lazz. _|LINK
You can't make an image smaller without loosing quality, higher detail takes more space to save, that's the law of computers.
However if you want to reduce the image size from ex. 2048x1536 to 512x384 you'll only have a one 16:th of the pixels left making the image about one 16th of the size without loosing noticeable quality unless the user zooms the image.
This article might help you out in achieving this: