Jump to content
tmvideo

Document resize (decimal pixel size)

Recommended Posts

Not sure how this could be a feature. As a user I would rather like to know the exact output size instead of guessing if Affinity would save this to 3397 or 3398 px height. My 2cts


 

Share this post


Link to post
Share on other sites
27 minutes ago, Friksel said:

Not sure how this could be a feature. As a user I would rather like to know the exact output size instead of guessing if Affinity would save this to 3397 or 3398 px height. My 2cts

Not sure what you mean.

It's not being saved as either 3397 or 3398. It's 3397.1 (actually, 3397.059 with a few more decimal places), which is the only value possible while maintaining the proper aspect ratio.


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.7.3.481 and 1.8.0.532 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.532 Beta  / Affinity Publisher 1.7.3.481 and 1.8.0.535 Beta

Share this post


Link to post
Share on other sites
3 hours ago, tmvideo said:

Is it bug or feature?
 

I think it's not a bug.
The ratio of the image is 3,0026 : 2
Hence it results 5100 / 3,0026 * 2 = 3397,1
the decimal places are rounded to 0.1
Affinity would save the image to 5100 x 3398 px
Maybe can Serif  comment that .

 

Cheers


Affinity Photo 1.7.3.481 :   Affinity Photo-Beta 1.8.0.532  :    Affinity Designer 1.7.3.481 :  Affinity Designer-Beta 1.8.0.532 :

Affinity Publisher-Beta 1.8.0.531 :   Affinity Publisher 1.7.3.481 :    Windows 10 Pro  (Version  1909 Build 18363.592)

 

Share this post


Link to post
Share on other sites
14 minutes ago, Gnobelix said:

Affinity would save the image to 5100 x 3398 px

While it is in native format (.afphoto) I think it really be 5100 x 3397.1 px.

It's only when exporting that something must be done with the fractional pixel. And yes, at that time, it would export as 5100 x 3398 with a thin (approximately .9 px) border, either transparent or white.

If one doesn't want that fractional-pixel border, one can crop it out.


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.7.3.481 and 1.8.0.532 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.532 Beta  / Affinity Publisher 1.7.3.481 and 1.8.0.535 Beta

Share this post


Link to post
Share on other sites
1 hour ago, Gnobelix said:

I think it's not a bug.

Had never seen it before in other software.
Mathematically it is correct but looks weird for raster image editor where the pixel is a smallest element of image (despite of subpixels in hardware).

Share this post


Link to post
Share on other sites
On 12/22/2019 at 7:50 PM, tmvideo said:

Had never seen it before in other software.
Mathematically it is correct but looks weird for raster image editor where the pixel is a smallest element of image (despite of subpixels in hardware).

Serif solved it correctly. For further changes, the ratio would be distorted.

Share this post


Link to post
Share on other sites

It's probably better to maintain precision in the file until it's exported. For a vector->pixel-art-based approach, pixel-level precision would be better and maybe add a setting to maintain whole pixels (which already exists btw)... but for a photo, it seems fine to keep this as the default until export.

 


Microsoft Windows 10 Home (Build 18363)
AMD Ryzen 5 2600X @ 3600Ghz; Mobo: Asus X470-PRO
16GB DDR4 (2400Mhz)
NVIDIA GeForce GTX 1060 6GB
Monitor 1: 4K @ 150%
Monitor 2: 1080p @ 100%

WACOM Intuos4 Large; X-rite i1Display Pro; NIKON D5600 DSLR

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.