Nice program there :good:
How do you do the resizing? I’d recommend to use a high-quality Lanczos algorithm (if you don’t do that already).
Looks like it only supports .jpg - it would be better if you at least added support for .png and .gif as well.
Also, adding a 64-bit version would be a good idea.
That’s pretty good for a start. I like it is made as one simple
dialog and that it uses the size as a bounding box and normally preserves aspect ratio and EXIF orientation. Well done!
You do have a bug though. When I tried upsizing, the aspect ratio was not kept and images were distorted to fill the specified size.
One option you might add is an option ‘downscale only’. This is common of batch resizing programs because you may have a directory full of different sized images, sometimes including tiny thumbnails, and resizing then to a higher resolution is mostly useless.
There also seems to be an abitrary limit that I could not enter more than 6000 on width and height, that gives a 20" print @ 300 DPI which is OK but it won’t do if I want to resize to poster size 24"x36" for example.
I normally do the same with a short shell script but I think many people would enjoy have a UI version like yours. My script outputs multiple resolutions at once. I guess that would be an advanced feature but is useful since you may want to make a 24"x16" gallery print and 4"x6" to give as postcards to those who show up
I have considered your suggestions and did some coding:
Upsize aspect bug fixed
“Downsize only” feature added
“Force aspect ration” on custom sizes added
I have analyzed suggestion for multiple sizes but I have ruled it out. I would need to implement “Profiles” scheme, so Baires wouldn’t be simple anymore. That is why I decided not to implement it, but maybe in some other program, like “Baires-pro” I may recode everything.
Now, I am just waiting for translation of those 2 checkboxes and I will send it to Microchip 8 to be built.