[Parallax Mapping] Photoshop resizes my images when exported

Hi, there!

I have been making over 100 parallax maps for my game, but something went wrong in the last two of them.

I'm using OrangeOverlay Plugin for my game's parallax maps. Yesterday, I exported my Parallax image, light, par and shadow to their respective folders, BUT, when I tested the game, the shadows were out of place.

After checking it out I realized that when exported, the Shadow layer would resize to a bigger image, therefore it totally sits in a different place in-game.

I know this is related to a photoshop setting that -probably- was unintentionally modified by myself. So I was wondering what could be the solution to this.

The Shadow layer contains a lot of transparency. I'm attaching it:

shadow124.png


The size should be: 1680 x 1920 and for some reason when I export it, it goes to 1680 x 2656

Reminder: This only happens with the Shadow Layer.
Photoshop can neither identify a picture as being used for a shadow layer, nor does it resize a picture without explicit commands.

If this is really what happens, then either you're making a wrong step in photoshop or you accidentally activated a macro in the picture file or something like that.
So to help you you would have to describe the steps you're doing in photoshop in order to export the picture - photoshop has multiple ways to saving files...
Are you using a script to export the layers? Asking because when I used the export layer script in photoshop, the exported layer would often be bigger than I expected because there would be small non-transparent parts (may be as small as 1 pixel even) that I didn't delete which were exported too making the image larger.
Maybe that's a case for you too? You should just save the image normally which only saves the part visible within the canvas.
Step by Step:

Step 0:
step 0.png


Step 1:
step 1.png


Step 2:
step 2.png
Are you using a script to export the layers? Asking because when I used the export layer script in photoshop, the exported layer would often be bigger than I expected because there would be small non-transparent parts (may be as small as 1 pixel even) that I didn't delete which were exported too making the image larger.
Maybe that's a case for you too? You should just save the image normally which only saves the part visible within the canvas.

I'm not using any specific script, actually I've been exporting the same way the previous 100 maps, but now I'm getting the issue.

BUT, I tried saving it normally as you said and IT'S FIXED! Thanks a lot!

PS: If someone can tell me why this happens when I export it the way I showed in the pictures above, it would be great. But for now, my problem has been solved.

Thanks, Hyouryuu-Na!
I always use "Save as...." because it's mostly better than export.
Export might work better in a different way for specific webs for example, Save as is
always the way you want it to be, so you avoid issues.

export can change minor things, but it's also how you set it up, or if you changed something
or through an update that things has changed, you need to put it back how they where.

I never use export on my end though, because I do it through tinyPNG save from photoshop
else "Save as" so I know it would be correct saving.

export might also read the other folders, even if they arent turned on, while "save as" ignore them.

that is from my own experience using photoshop though =)
as said above I also suggest using "save as" because "export" can change things on your picture.

Exports have been designed to create pictures that fit certain requirements, with the export scripts "helping" the user along. If you don't want that help, then you have to go "save as png".
Also... I witnessed pixel shifting once a while. I think it is a DPI disparency and also it didn't happened to me before W10. Sometimes PS messes up (I also watch my cache in case I get RAM problems since PS bloats and a couple of times in the past it corrupted part of my images.)

Keep originals always and do at least one safety version and save as as much as you want.

Original thread: https://forums.rpgmakerweb.com/threads/parallax-mapping-photoshop-resizes-my-images-when-exported.131969/