Image DPI
Posted: 2013-09-02T08:44:32-07:00
Hi,
I´m converting an image doing the rotation of it. But when i´ve got an image with (200X252) in 96 DPI when doing the rotation (-rotate 90) the image stay with 252X200 but with 72 DPI. The image is a JPEG.
Any ideas how can i keep the same DPI for the image, but can´t do the set of the DPI directly (-density 76) because there are several images with several dimensions.
For example i´ve got an image with 300 DPI and when i do the rotation the image keep the 300 DPI, and i don´t know why.
Cheers,
Nuno Ferreira
I´m converting an image doing the rotation of it. But when i´ve got an image with (200X252) in 96 DPI when doing the rotation (-rotate 90) the image stay with 252X200 but with 72 DPI. The image is a JPEG.
Any ideas how can i keep the same DPI for the image, but can´t do the set of the DPI directly (-density 76) because there are several images with several dimensions.
For example i´ve got an image with 300 DPI and when i do the rotation the image keep the 300 DPI, and i don´t know why.
Cheers,
Nuno Ferreira