Hello!
I want to keep the same resolution and position when I use the 'Batch Covert' to export multiple files from the layers in Photoshop/Clip Studio paint. When it exports the multiple layers/files it doesn't keep the same resolution that I worked in the Photoshop/Clip Studio Paint. How do I make it keep those settings?
How to keep resolution/position when exporting mutiple layers/images
Moderator: xnview
-
Katy23
- Posts: 2
- Joined: Tue Feb 03, 2026 10:22 pm
-
jkm
- Posts: 260
- Joined: Sat May 11, 2024 12:43 am
Re: How to keep resolution/position when exporting mutiple layers/images
Welcome to the forums!
If I understand your question correctly, it is not possible to do everything you want in XnViewMP, but you can do part of it. But you should be able to do it in Photoshop itself.
You talk about "same resolution". There are two things you might mean: pixel density or DPI, or dimensions. DPI should be preserved unless you explicitly change it. For the dimensions of the image, it's more complicated in your use case.
When Photoshop creates layers, each layer of the image can have different dimensions. Your overall canvas (image dimensions) might be 1000x1000, but you could have an individual layer in that image that is 200x50. Some newly created layers, like a text layer, will by default have the dimensions set as what is necessary for the display for the text itself, without any border, so they will be much smaller than the overall image canvas dimensions. That is an inherent property of Photoshop documents.
Furthermore, Photoshop allows layers that do not contain raster (pixel) data. Things like curves, shapes or text. For XnViewMP to be able to convert a layer in Batch Convert, you must rasterize it first in Photoshop. Layers that have not been rasterized, like a pure text layer, won't convert properly using this method at all.
When you use XnViewMP's Batch Convert to convert a Photoshop document with multiple layers, it respects and maintains the individual dimensions of each layer in the image, unless you explicitly tell it to override that.
To override the dimensions of individual layers in the image, you need to use the "Actions" tab of the Batch Convert dialog:
1. On the Actions tab, click Add Action and select "Canvas Resize" from the Transform menu.
2. Keep "Mode" at Normal, and "Relative" unchecked.
3. Set Width and Height to match with width and height of your original full-size Photoshop image
This will result in each layer being expanded to match the size of the main image canvas. There are options you can set for background color and transparency. With Canvas Resize, the image is not rescaled, so what was small in the original image will still be small.
When you then click the "Convert" button, all the resulting images will be the same dimensions, the dimensions of your original Photoshop image (that you entered in the Width and Height fields).
The problem is the position. You can see that XnView only has limited settings for where to place the original small image layer in the larger canvas. Aside from Center, you can position it at any of the edges or corners. There is no option to use its original exact offset (like x=714, y=228) from the original file.
Perhaps that ability will be added to XnViewMP in the future.
In the meantime, I suggest you explore the ability to export the layers directly from Photoshop itself. Take a look at the following functions in Photoshop:
File->Export->Layers to Files
File->Scripts->Export Layers to Files
https://helpx.adobe.com/photoshop/deskt ... files.html
https://www.dreamstale.com/export-photo ... ate-files/
These will let you do what you describe, without the limitations I discussed earlier. Just don't enable "Trim Layers" and all the output images will be the same dimensions as the full canvas.
Hopefully this helps...
If I understand your question correctly, it is not possible to do everything you want in XnViewMP, but you can do part of it. But you should be able to do it in Photoshop itself.
You talk about "same resolution". There are two things you might mean: pixel density or DPI, or dimensions. DPI should be preserved unless you explicitly change it. For the dimensions of the image, it's more complicated in your use case.
When Photoshop creates layers, each layer of the image can have different dimensions. Your overall canvas (image dimensions) might be 1000x1000, but you could have an individual layer in that image that is 200x50. Some newly created layers, like a text layer, will by default have the dimensions set as what is necessary for the display for the text itself, without any border, so they will be much smaller than the overall image canvas dimensions. That is an inherent property of Photoshop documents.
Furthermore, Photoshop allows layers that do not contain raster (pixel) data. Things like curves, shapes or text. For XnViewMP to be able to convert a layer in Batch Convert, you must rasterize it first in Photoshop. Layers that have not been rasterized, like a pure text layer, won't convert properly using this method at all.
When you use XnViewMP's Batch Convert to convert a Photoshop document with multiple layers, it respects and maintains the individual dimensions of each layer in the image, unless you explicitly tell it to override that.
To override the dimensions of individual layers in the image, you need to use the "Actions" tab of the Batch Convert dialog:
1. On the Actions tab, click Add Action and select "Canvas Resize" from the Transform menu.
2. Keep "Mode" at Normal, and "Relative" unchecked.
3. Set Width and Height to match with width and height of your original full-size Photoshop image
This will result in each layer being expanded to match the size of the main image canvas. There are options you can set for background color and transparency. With Canvas Resize, the image is not rescaled, so what was small in the original image will still be small.
When you then click the "Convert" button, all the resulting images will be the same dimensions, the dimensions of your original Photoshop image (that you entered in the Width and Height fields).
The problem is the position. You can see that XnView only has limited settings for where to place the original small image layer in the larger canvas. Aside from Center, you can position it at any of the edges or corners. There is no option to use its original exact offset (like x=714, y=228) from the original file.
Perhaps that ability will be added to XnViewMP in the future.
In the meantime, I suggest you explore the ability to export the layers directly from Photoshop itself. Take a look at the following functions in Photoshop:
File->Export->Layers to Files
File->Scripts->Export Layers to Files
https://helpx.adobe.com/photoshop/deskt ... files.html
https://www.dreamstale.com/export-photo ... ate-files/
These will let you do what you describe, without the limitations I discussed earlier. Just don't enable "Trim Layers" and all the output images will be the same dimensions as the full canvas.
Hopefully this helps...
Last edited by jkm on Wed Feb 04, 2026 10:27 pm, edited 1 time in total.
-
Katy23
- Posts: 2
- Joined: Tue Feb 03, 2026 10:22 pm
Re: How to keep resolution/position when exporting mutiple layers/images
Hey! Thank you for answering. Yes, the biggest issue is the position option in the action menu, because it almost gets me to the point I need it to be, but the only thing that i need it to do is keep the same position of the original file from Photoshop. Thank you for suggesting the other stuff, I'll try those out.jkm wrote: Wed Feb 04, 2026 7:59 pm Welcome to the forums!
If I understand your question correctly, it is not possible to do everything you want in XnViewMP, but you can do part of it. But you should be able to do it in Photoshop itself.
You talk about "same resolution". There are two things you might mean: pixel density or DPI, or dimensions. DPI should be preserved unless you explicitly change it. For the dimensions of the image, it's more complicated in your use case.
When Photoshop creates layers, each layer of the image can have different dimensions. Your overall canvas (image dimensions) might be 1000x1000, but you could have an individual layer in that image that is 200x50. Some newly created layers, like a text layer, will by default have the dimensions set as what is necessary for the display for the text itself, without any border, so they will be much smaller than the overall image canvas dimensions. That is an inherent property of Photoshop documents.
Furthermore, Photoshop allows layers that do not contain raster (pixel) data. Things like curves, shapes or text. For XnViewMP to be able to convert a layer in Batch Convert, you must rasterize it first in Photoshop. Layers that have not been rasterized, like a pure text layer, won't convert properly using this method at all.
When you use XnViewMP's Batch Convert to convert a Photoshop document with multiple layers, it respects and maintains the individual dimensions of each layer in the image, unless you explicitly tell it to override that.
To override the dimensions of individual layers in the image, you need to use the "Actions" tab of the Batch Convert dialog:
1. On the Actions tab, click Add Action and select "Canvas Resize" from the Transform menu.
2. Keep "Mode" at Normal, and "Relative" unchecked.
3. Set Width and Height to match with width and height of your original full-size Photoshop image
This will result in each layer being expanded to match the size of the main image canvas. There are options you can set for background color and transparency. With Canvas Resize, the image is not rescaled, so what was small in the original image will still be small.
When you then click the "Convert" button, all the resulting images will be the same dimensions, the dimensions of your original Photoshop image (that you entered in the Width and Height fields).
The problem is the position. You can see that XnView only has limited settings for where to place the original small image layer in the larger canvas. Aside from Center, you can position it at any of the edges or corners. There is no option to use it's original exact offset (like x=714, y=228) from the original file.
Perhaps that ability will be added to XnViewMP in the future.
In the meantime, I suggest you explore the ability to export the layers directly from Photoshop itself. Take a look at the following functions in Photoshop:
File->Export->Layers to Files
File->Scripts->Export Layers to Files
https://helpx.adobe.com/photoshop/deskt ... files.html
https://www.dreamstale.com/export-photo ... ate-files/
These will let you do what you describe, without the limitations I discussed earlier. Just don't enable "Trim Layers" and all the output images will be the same dimensions as the full canvas.
Hopefully this helps...