Welcome! Log In Create A New Profile

Advanced

WD26 - dRotate/dSaveImageJPEG an image results in bad quality

Posted by ArieM 
WD26 - dRotate/dSaveImageJPEG an image results in bad quality
October 12, 2021 02:24PM
Hi,

I have an old project in which I use Irfanview to rotate images.
i_view32.exe %1 /silent /rotate_r /convert=%2
Works perfectly well.
But in some cases my software is not allowed anymore to call other executables.

Now I upgraded this project to WD26 and tried to use dRotate() instead.
An image of 150DPI is rotated but after dSaveImageJPEG(imgNew,sNewFile,100) it becomes 96DPI ?!?!
Why is that and is there a way to overcome this?

Notice the 100% quality option I already use during the save.
And it's not the save function giving troubles. If I skip the rotation and just save the image to a new file, it stays the same as the original.

Arie
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: