Rotating object sampling quality issues
Herbert2001 Jan 31, 2014 12:48 PMA student of mine asked this question today. Rotating sharp-edged artwork seems to be problematic in Photoshop.
Take this grid:
Original file (6 colours):
www.estructor.biz/testje/grid2.png
Now rotate by 45 degrees.
These are the results in Photoshop CS6 labeled by sampling method:
www.estructor.biz/testje/ps_grid.png
And these are the results in Photoline (latest beta introduced improved two new sampling algorithms):
www.estructor.biz/testje/pl_grid.png
I uploaded the raw png files to my own server, otherwise the quality may be affected by the upload function here.
To compare both, open them in Photoshop and zoom to 200% or 400%, and notice how Photoshop's versions do not compare favourably: some sort of unsharp mask sharpening effect was introduced, resulting in halos.
The CatmullRom version generated in Photoline seems to be the best one, though the ones with MitchellNetravali, Lanczos3 and even bicubic all arguably produced better anti-aliased versions than the ones in Photoshop. In Photoshop only Bicubic Smooth is acceptable (in my opinion), though the anti-aliasing is too smooth looking.
I am aware the effects can be subtle - though they are quite noticeable. I mean, why does Photoshop's bicubic sampling prodube such an inferior version compared to Photoline? It makes no sense.
A secondary observation I made is that Photoshop's version introduced 2271 colours into the rotated version, while Photoline only used 231 unique colours after transformation. Which, with Photoline's version being the superior one, exacerbates the problem in my view, because it will add to the final artwork's file size (may be very important for both web graphics and 2d game graphics).
From a user experience view point, another issue is that Photoshop CS6 will not render the final result as a preview before the actual transformation is applied - meaning the user is left to first apply the transformation, and then she/he is forced to undo, and redo until satisfied. In Photoline, for example, the transformation's sampling method can be changed and the actual result is shown before committing to a sampling method.
All this is not that important to me for my own personal work, because I switched to Photoline and other software more than a year ago. However, I do still want to be able to answer questions from students in regards to Photoshop, so I feel it is an important aspect.
So, my (and my students') questions are:
- is it possible to turn off that unsharp mask-like effect when rotating?
- are there ways to improve the sampling somehow?
- down-sampling sharp artwork also introduces similar problems. Any way to circumvent them?
- placing the grid/dragging the grid file into a photoshop file produces a terrible result. Only by opening the grid file first, and copying and pasting is the original artwork preserved. Drag and drop does not function properly (and refuses to place at 100% automatically). Any solutions to change the drag and drop behaviour to automatically resample?
(btw, this does not happen in Photoline either - drag and drop does not (and should not!) resample in this case!)
- have these issues been resolved in Photoshop CC latest version?
- if the current versions of CS6 or CC do not offer solutions for this type of work, is this something that will be fixed in an upcoming release? Or is it not at all on the radar?
Thanks.
---------
ps As mentioned before in the Illustrator forum, exporting sharp artwork from Illustrator at low screen resolutions is by far the lesser of a viable option - the anti-aliasing is absolutely horrid, unless the artwork is directly imported into Photoshop and severely blown up, and then scaled down. And even then the results are not on par with Mitchel-Netravali and Catmul Rom.





