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

Document resize (decimal pixel size)


Recommended Posts

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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
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 2.4:         Affinity Photo 1.10.6: 

Affinity Designer 2.4:    Affinity Designer 1.10.6:

Affinity Publisher 2.4:   Affinity Publisher 1.10.6:    

Windows 11 Pro  (Version 23H2 Build (22631.3296)

 

Link to comment
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
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
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).

Link to comment
Share on other sites

  • 3 weeks later...
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.

Link to comment
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.

 

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.