DesignCat Posted June 26, 2023 Posted June 26, 2023 Hi, I've seen the posts about white space when cropping but my problem is a little different. So I have a frame, I cropped each side of the frame to put my image behind it (the frame has some lovely transparency which is why I didn't just put the image on top) and the cropping is flush, each piece snapped to each other, when you zoom all the way in it looks flush. And yet there's clearly visible lines... Both in the document and exported png. I have "use precise clipping" selected in the settings and when cropping, I used the "force pixel alignment" option, and neither made a difference. Please see screenshots attached. The size of the frame pieces is in whole pixel as well. the first image is the whole frame, the second is an extreme close-up where you can see the pixels and the thin line between objects (which is there whether in normal view or preview mode). Does anyone have any advice of what to try? P.S. no workarounds such as "crop along the square lines" please, I want to find a solution to the problem as it's not the first time this has happened to my projects.
David in Яuislip Posted June 26, 2023 Posted June 26, 2023 A guess because I don't know the layer set up All of the components need to have dimensions of even numbers or else when they're aligned centre/middle, as seems to be the case, they will end up with fractional X/Y vslues Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10
DesignCat Posted June 27, 2023 Author Posted June 27, 2023 Thanks for your suggestion. The images are already sized in whole pixels. However, I noticed that after changing the settings to force pixel alignment and use precise clipping, if I rasterize the layer then the lines disappear. So that's not so bad at all!
GarryP Posted June 27, 2023 Posted June 27, 2023 5 minutes ago, DesignCat said: However, I noticed that after changing the settings to force pixel alignment and use precise clipping, if I rasterize the layer then the lines disappear. Didn’t you already say that you were doing that? 17 hours ago, DesignCat said: I have "use precise clipping" selected in the settings and when cropping, I used the "force pixel alignment" option, and neither made a difference. To see if the position and sizes really are integer pixels, go to Settings, then go to the User Interface tab and set the Decimal Places values to more than zero (three or more is usually reasonable). The Transform Panel will then show you whether the values have decimal places (they might otherwise be rounded).
DesignCat Posted June 27, 2023 Author Posted June 27, 2023 12 minutes ago, GarryP said: Didn’t you already say that you were doing that? I tried rasterizing before changing those settings. Changing those settings had no effect by themselves but after I rasterized the layer group after changing the settings, they fit more snugly. Except for one side and I can't figure out why but oh well haha. The decimal place settings were already more than 0, but the numbers shown were whole. I increased the decimal places and the numbers stayed whole, so the dimensions themselves were fine.
Recommended Posts