NotMyFault Posted July 5, 2019 Posted July 5, 2019 Hi, maybe its not a bug, but it seems very strange behavior for me. I process Canon 24 Megapixel CR2 files, with 3:2 aspect ratio. In many cases, i later crop them to taste with 3:2 ratio. When i finally want to export these files with 4500x3000 resolution, by entering either the x or y size, with aspect lock enabled, the other axis is always off by 1 few pixels, e.g. 4499x3000. This is very annoying. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Staff Chris B Posted July 11, 2019 Staff Posted July 11, 2019 Hey NotMyFault, If you unlock the background and select it with the Move Tool, are there any decimals in the Transform fields? For example, if I have something like 284.5 px in the Y axis, when I go to export (without background) my resolution will go from the 3472 x 4640 px to 3472 x 4641 px. Quote How to format a bug report | Learning Resources | List of V2 FAQs | YouTube Tutorials
NotMyFault Posted July 11, 2019 Author Posted July 11, 2019 Hi Chris, no decimals found (ORG was background before renaming). Please note that AP always shows different dimensions compared to Canon DPP or Windows Explorer / file properties AP 6024,0x4020,0 (EXIF while opening CR2, before any crop) CANON DPP 6000*4000 Windows Explorer: Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted August 5, 2019 Author Posted August 5, 2019 Hi Chris B, any update regwrding this issue? For me. there are two related problems: 1. CR2 picture dimensions shows by apps seem to differ always between Affinity Photo and all other tools (Canon, Windows 10 Explorer by up to 24 pixels in case of 6000x4000 raw file) 2. AP is off when exporting CR2 files by a few pixels, even if the files have been explicitely cropped to e.g. 3x2 ratio before. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Staff Chris B Posted August 13, 2019 Staff Posted August 13, 2019 Hey NotMyFault, Affinity Photo doesn't throw away the extra sensor data like other apps do as we decided to let the user choose what to do with it. I'm not sure why you're losing a pixel if you're typing in a specific integer value. Do you have a sample you can attach? Quote How to format a bug report | Learning Resources | List of V2 FAQs | YouTube Tutorials
NotMyFault Posted August 17, 2019 Author Posted August 17, 2019 Hi Chris, below you can find a sample file. AP file created directly from a raw .CR2, developed straight as it is, and applied a crop with 3:2 (6:4) aspect ratio. When you export and enter 2000, you get 2999 instead of 3000 for the other axis. _MG_1882.afphoto Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
AlainP Posted August 18, 2019 Posted August 18, 2019 I tried to replicate this problem with your picture but when I enter 2000 px in the secoond box and press Tab I got 3000 px in the first box. I shut down Photo and reopened the file. This time I get 2999. Can't explain why... Quote -- Window 11 - 32 gb - Intel I7 - 8700 - NVIDIA GeForce GTX 1060 -- iPad Pro 2020 - 12,9 - 256 gb - Apple Pencil 2 -- iPad 9th gen 256 gb - Apple Pencil 1 -- Macbook Air 15" - Mac mini M2-Pro - 16 gb
Ron P. Posted August 18, 2019 Posted August 18, 2019 Downloaded your file and played around with it. The very first time I managed to get the correct pixel dimensions, entering 2000 in the height, AP gave me 3000 for width. Every time afterwards I got what you posted, 2999. So I tested a little further. Loaded up one of my CR2 files, developed and then cropped using the 3:2 (6:4) ratio. Export size entered 2000 in the height setting and AP provided 3001. I don't know if the file sizes have much impact on this irregularity or not. I see you're using a Canon 80D, where I'm using a 70D, which produces a 5496 x 3670 file. Loaded my file again to grab some screenshots and now AP is giving me the correct dimension, 3000 x 2000. Are you Trimming as in Rasterize and Trim, after you crop? I've managed to get 2997 x 2000, 2999 x 2000, and 3001 x 2000. Quote Affinity Photo 2.5..; Affinity Designer 2.5..; Affinity Publisher 2.5..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win10 Home Version:21H2, Build: 19044.1766: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD
NotMyFault Posted August 18, 2019 Author Posted August 18, 2019 Hi Ron, cropping was the single and only adjustment. Definitely no trimming. I saved the file with full history, you can check yorself. You should note that during development, some assistant are active (see below), and lens correnction will apply for example. I don't know if assistent is saved with image files, or local to every installation. And intentionally, i did a crop with uneven size (size after crop no multiple of 8). If you crop directly to the exact size of planned export, you will be ok most of the time. Unfortunately, there is no easy way to sightly round down the crop size to reach "even" dimensions, besides dragging the mouse -- wich is non-precise and near to impossible to reach e.g. exactly 2000 with mouse (no option to enter exact pixels during crop AFTER selecting 3:2 crop mode). Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted August 18, 2019 Author Posted August 18, 2019 The issue occurs when using crop (and not later when exporting): When selecting 3:2 crop an using the mouse to reach 4500 for x, AP shows 3001 for y, see screenshot attached. I tried to achieve 3000 for y, seems to be impossible. Either 2999 or 3001, but never 3000 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
AlainP Posted August 18, 2019 Posted August 18, 2019 Did some new tests with raw files from Canon 80D, 70D and a few M43. If I use the crop tool with a ratio of 3:2 (6:4) don't move the mouse and click Apply. When exporting I always get 3000 if I enter 2000 in the height box. Entering 3000 in the width box gives 2000 exactly in the height box. This is with whatever file from any camera or any other images. I think we loose precision if we resize with the mouse. Quote -- Window 11 - 32 gb - Intel I7 - 8700 - NVIDIA GeForce GTX 1060 -- iPad Pro 2020 - 12,9 - 256 gb - Apple Pencil 2 -- iPad 9th gen 256 gb - Apple Pencil 1 -- Macbook Air 15" - Mac mini M2-Pro - 16 gb
Danielcz Posted August 20, 2019 Posted August 20, 2019 Some rounding issue? Maybe because 4187x2792 isnt exactly 3:2 but 4187x2791.33 is? Try it with 4188x2792 = exactly 3:2 Use this calculator it helps a lot: https://calculateaspectratio.com Quote Core i7 4770 - AMD Radeon RX 6500XT - 32GB RAM - Asus z87-Pro - Asus Phoebus - Windows 7 x64 SP1 / Windows 10 x64) - https://danielmoravek.com
NotMyFault Posted August 20, 2019 Author Posted August 20, 2019 @Danielcz: This might work in theory. My expectation to AP is that the software does the math for me Really don’t want to do that manually Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Danielcz Posted August 20, 2019 Posted August 20, 2019 16 hours ago, NotMyFault said: @Danielcz: This might work in theory. My expectation to AP is that the software does the math for me Really don’t want to that manually About crop region tool i dont have any issue 3:2 to do 3000x2000 export (Jpeg) it out and recheck in windows size is 3000x2000. only with locked resize document if you downscaling from non 3:2 ratio, unlock it (click on yellow lock between numbers) and punch both numbers in and it will resize to 3000x2000 Quote Core i7 4770 - AMD Radeon RX 6500XT - 32GB RAM - Asus z87-Pro - Asus Phoebus - Windows 7 x64 SP1 / Windows 10 x64) - https://danielmoravek.com
Danielcz Posted August 20, 2019 Posted August 20, 2019 and here is 4500x3000px try to zoom in little more if you cant hit it or lower mouse sensitivity if you have 1920x1080 LCD (by zooming far out on huge pictures, pixels get interpolated maybe thats why you cant hit that 1pixel) Have 27 LCD 2560x1440 and i have to zoom little bit more and it took some time before i hit that 4500x3000 number on such large canvas (it jumped above or below a lot) It would be no issue but Affinity Photo is missing Auto-scrolling feature while being zoomed in and dragging/enlarging crop area like Adobe Photoshop, this would help with pixel precision marque or crop selection while zoomed in and cropping area behind visible part of canvas. Quote Core i7 4770 - AMD Radeon RX 6500XT - 32GB RAM - Asus z87-Pro - Asus Phoebus - Windows 7 x64 SP1 / Windows 10 x64) - https://danielmoravek.com
NotMyFault Posted August 23, 2019 Author Posted August 23, 2019 @Daniel: Tank you for those suggestions. I’m already aware of several workarounds, please do not post more of them. These are non-precise and hamper the workflow . In my view this is a AP bug and should be fixed. Whenever I applied crop with e.g. 3:2, AP should respect this ratio and automatically calculate even pixel counts during export with locked ratio. Other applications behave like this, AP should do, too. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Danielcz Posted August 26, 2019 Posted August 26, 2019 can you make a video? In my case it takes few seconds to do 3000x2000px crop and export it, maybe i dont understand correctly what you mean. (for confirmation) I see that crop tool sometimes jumping 1px up and then down while moving it on canvas which isnt ideal, some kind of bug or implementation issue? APCropAndExport.mp4 Quote Core i7 4770 - AMD Radeon RX 6500XT - 32GB RAM - Asus z87-Pro - Asus Phoebus - Windows 7 x64 SP1 / Windows 10 x64) - https://danielmoravek.com
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.