Copy link to clipboard
Copied
I try to use "placeEvent" to set image to layer, but new layer lost some pixel(not offset problem)
and I also try to paste image to layer directly, it can work correctly, then I just need to set the right offset to make two layers matching.
although "placeEvent" can make a right size layers(512 * 512), but it looks like the pixels are overall shifted by 1px in a certain direction.
I saw an article saying this problem: Solved: place a pictures and the left=0,top=0 - Adobe Community - 10410203
I try it but I can not get the correct layer, it seems that I meet other problem
so I also try open new document and duplicate, it works properly
Copy link to clipboard
Copied
Copy link to clipboard
Copied
we can see that the ear obviously move above, but there is no gap in the entire layer, the bottom pixels are filled:
Copy link to clipboard
Copied
with my allday testing, I found that the problem is caused by photoshop's current screen position like this
I execute the script then it will have 1px offset comparing with the origin image, so I think that it is a bug of photoshop?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now