Jump to content
You must now use your email address to sign in [click for more info] ×

Rescaling quality


Recommended Posts

Hi!

 

First of all, thank you for developing Affinity Photo. I've been testing it for a few days and it's working great! A much needed replacement for that well known "subscription" software.

 

I've noticed that the quality of rescaled images is not as good as that produced by other graphics software. I've tried the different resampling algorithms but none of the reaches the quality of the other software, such as Krita, XNView or others. I'm including a couple of examples here, one rescaled with Affinity Photo, the other one with Krita.

 

Please fix this, I take it implementing a better resampling algorithm must not be an overly difficult task and rescaling images is one of the most common processes used in image editing.

 

Thank you for all your work.

 

Affinity Photo rescaling

post-42414-0-38316600-1479527497_thumb.jpg

 

Krita rescaling

post-42414-0-36140500-1479527486_thumb.jpg

Link to comment
Share on other sites

Thank you for the quick reply. I tried changing algorithms again and noticed they all give the same result, all the options (including Bilinear) seem to be using the same algorithm that gives the above result.

Link to comment
Share on other sites

Hi! I noticed the release notes of the latest beta say the following bug was removed:
Fixed wrong samplers being used when resizing documents
 
I wanted to let you know that I tested it and the bug is still there. All the resampling algorithms in the Resize Document option give the same result in v1.5.0.39, which seems to be "nearest neighbour".

 

Rescaled image using bilinear resampling - Affinity Photo 1.5.0.39

post-42414-0-38173800-1480018039_thumb.jpg

Link to comment
Share on other sites

Hi Mark,

 

Thank you for your message an my apologies for the delay in replying, I was away from the net for a few days.

Here's a new batch of images created with v1.5.0.42, with each one of the samplers.

At the end you can find the original full-sized image, so you can test rescaling it to 750px like I did and see if you can get a result similar to Krita's rescaling.

 

Thank you for your attention.

 

Krita rescaling
post-42414-0-67886800-1480633205_thumb.jpg

 

Affinity Photo rescaling - bilinear

post-42414-0-39288400-1480633216_thumb.jpg

 

Affinity Photo rescaling - bicubic

post-42414-0-03312800-1480633228_thumb.jpg

 

Affinity Photo rescaling - Lanczos Separable

post-42414-0-75590500-1480633235_thumb.jpg

 

Affinity Photo rescaling - Lanczos Non Separable

post-42414-0-46224600-1480633242_thumb.jpg

 

Affinity Photo rescaling - Nearest Neighbour

post-42414-0-95481000-1480633250_thumb.jpg

 

Original image

post-42414-0-54507400-1480633273_thumb.jpg

Link to comment
Share on other sites

 

Here's a new batch of images created with v1.5.0.42, with each one of the samplers.

At the end you can find the original full-sized image, so you can test rescaling it to 750px like I did and see if you can get a result similar to Krita's rescaling.

There is a huge difference between the scaling results. I hope Affinity will follow Krita's example. At the moment the poorly elaborated resizing dialog and scaling functions are the biggest barriers to use Affinity Photo for professional work. I own Affinity Designer but at the moment I am a little assailed by doubts wether the Photo Application will also replace Photoshop on Windows. I hope Affinity is aware of the importance of these essential functions.

Link to comment
Share on other sites

Hi Mark,

 

It looks like I've stumbled upon something. I tried rescaling the images straight from the File->Export function, instead of using Resize Document. The resampling algorithms work as they should that way, and are similar to Krita's results. So there seems to be a bug in the Resize Document function and how it's (not) connecting to the resampling algorithms.

 

Attached go some images and a zip file as you requested. Hope this helps catch the bug.

 

Krita rescaling - bicubic
post-42414-0-26864000-1480675959_thumb.jpg

 

AP rescaling using Resize Document - bicubic

post-42414-0-96134800-1480675972_thumb.jpg

 

AP rescaling using Export - bicubic

post-42414-0-08889000-1480675982_thumb.jpg

 

Zip file

AP rescaling test.zip

Link to comment
Share on other sites

I tested again with .42, clearly a big difference compared to .39, it seemed to work now: https://1drv.ms/u/s!AgtoBEiLfbmcphNUbay_Tndtaqln

 

 

Can I request something? Is it possible to offer an 'advanced' box for the Bicubic option to change the 'B' and 'C' parameters of the filter? Or in the lanczos case, change the number of taps?

 

Or maybe add a preset box somewhere for the different kinds of Bicubic (Robidoux, Mitchell, CatmullRom, etc..).

 

In it's current setting Bicubic seems (too) sharp compared to Lanczos.

Link to comment
Share on other sites

I have found out some additional info on this one. The problem surfaces when I have both Affinity Photo and Krita open at the same time. Rescaling in Affinity Photo using Resize Document in those cases results in bad resampling.

 

If I close both programs and open only Affinity Photo the rescaling function using Resize Document works fine.

 

Thought you might like to know.

Link to comment
Share on other sites

  • 2 weeks later...

Are you sure it's not a visible bug? The difference you see is still there when you save the files?

 

So, having Krita open affects the calculations done to the buffer by Affinity Photo and not just how your videocard manages to draw it? That seems very weird, and a bit of a stretch.

 

Then again, I've seen other weird stuff happening in Photo so who knows :P

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.