tmvideo Posted December 22, 2019 Posted December 22, 2019 Is it bug or feature? Decimal pixel size appears after proportional document resizing. Friksel 1
Friksel Posted December 22, 2019 Posted December 22, 2019 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
walt.farrell Posted December 22, 2019 Posted December 22, 2019 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 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Gnobelix Posted December 22, 2019 Posted December 22, 2019 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 pxMaybe can Serif comment that . Cheers debraspicher 1 Affinity Photo 2.5: Affinity Photo 1.10.6: Affinity Designer 2.5: Affinity Designer 1.10.6: Affinity Publisher 2.5: Affinity Publisher 1.10.6: Windows 11 Pro (Version 24H2 Build (26100.3037)
walt.farrell Posted December 22, 2019 Posted December 22, 2019 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 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
tmvideo Posted December 22, 2019 Author Posted December 22, 2019 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).
J.T Posted January 8, 2020 Posted January 8, 2020 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. debraspicher 1
debraspicher Posted January 8, 2020 Posted January 8, 2020 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.
Recommended Posts