class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
At the moment all images are saving with 96dpi, no matter if I increase the width or height of an image, the dpi stays the same - 96dpi
The image I'm saving initially is 300dpi, this is the number that I want for all saved images that I save.
So, how to change the dpi of an image?
Little note: I found out that actually size of the image has nothing to do with dpi, as dpi is merely the number that is sent to printer to tell how many pixels to print per inch. So no matter if image is 100x100 or 10000x10000, if your image is set to 72dpi the printing quality is not good enough, so for the best printing quality people suggest 300dpi or more...Reply
The image I'm saving initially is 300dpi, this is the number that I want for all saved images that I save.
So, how to change the dpi of an image?
Little note: I found out that actually size of the image has nothing to do with dpi, as dpi is merely the number that is sent to printer to tell how many pixels to print per inch. So no matter if image is 100x100 or 10000x10000, if your image is set to 72dpi the printing quality is not good enough, so for the best printing quality people suggest 300dpi or more...