PNG files in contacts sheets
Moderators: XnTriq, helmut, xnview
PNG files in contacts sheets
PNG files do not appear with their transparency in the contact sheets it shows black square pieces around the borders of the object, do not understand, i had this problem too when displaying and solved it by changing the background colour, but there nothing works ! And the pity is that with my old computer, i did not have this kind of problem, mystery ... can someone help me, try to make a contact sheet with some PNG files may be .... thks puck
-
- Author of XnView
- Posts: 44449
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: PNG files in contacts sheets
Yes, currently bitmap with alpha are loaded without it for contact sheet!puck wrote:PNG files do not appear with their transparency in the contact sheets it shows black square pieces around the borders of the object, do not understand, i had this problem too when displaying and solved it by changing the background colour, but there nothing works ! And the pity is that with my old computer, i did not have this kind of problem, mystery ... can someone help me, try to make a contact sheet with some PNG files may be .... thks puck
Pierre.
png in contact sheet
Iam confused by answer, is there a way to have transparency show properly on PNG image in contact sheet.
If there is, can you share a step by step process to make it happen.
If there is, can you share a step by step process to make it happen.
-
- Posts: 884
- Joined: Sun Apr 10, 2005 4:29 pm
If I understand correctly, he's saying that PNGs which use alpha transparency will always loose their transparency in contact sheets in the current version of xnview.
Do your PNGs use alpha transparency or single color (gif-like) transparency? If they're 8bit images (ie, 256 colors or less), it's safe to assume they're single color transparency. If they're 24 or 32bit images (16mil+ colors, truecolor, etc), it's safe to assume they're alpha transparency.
Do your PNGs use alpha transparency or single color (gif-like) transparency? If they're 8bit images (ie, 256 colors or less), it's safe to assume they're single color transparency. If they're 24 or 32bit images (16mil+ colors, truecolor, etc), it's safe to assume they're alpha transparency.
-
- Author of XnView
- Posts: 44449
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 1
- Joined: Fri Feb 08, 2013 6:29 pm
Re: PNG files in contacts sheets
hey, I know it's and old topic, but I can't found any new topic related to this.
I have the last version, and still can't select transparent background for creating contact sheets, there's any way?
I have the last version, and still can't select transparent background for creating contact sheets, there's any way?
-
- Author of XnView
- Posts: 44449
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: PNG files in contacts sheets
What do you means by transparent background?ravencrow wrote:hey, I know it's and old topic, but I can't found any new topic related to this.
I have the last version, and still can't select transparent background for creating contact sheets, there's any way?
Pierre.
-
- Posts: 3
- Joined: Mon Nov 01, 2021 5:26 pm
Re:
So, it's 2021, 14 years after this topic was started, ImageMagick (also free) preserves transparency when doing contact sheets, Photoshop does it too since a good couple of years, is XnView / XnViewMP ever going to implement this or not? Is there a clear answer to this, you know, one that you can abide by and follow the promise?
I personally like your program very much otherwise - just converted 100 000+ PNGs to WEBPs with your software (XnViewMP) and thought about grouping those in fewer contact sheets but I need transparency to be preserved while creating the sheet. Sure, I can do it in a Photoshop batch driven process, but it would be nice if XnViewMP would be able to do it as well.
-
- Author of XnView
- Posts: 44449
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Re:
XnView MP can create contact sheets from transparent PNGs, if you have a problem please send some PNG samples and what you would like as output?Yincognito wrote: ↑Tue Nov 02, 2021 7:03 pm So, it's 2021, 14 years after this topic was started, ImageMagick (also free) preserves transparency when doing contact sheets, Photoshop does it too since a good couple of years, is XnView / XnViewMP ever going to implement this or not? Is there a clear answer to this, you know, one that you can abide by and follow the promise?
I personally like your program very much otherwise - just converted 100 000+ PNGs to WEBPs with your software (XnViewMP) and thought about grouping those in fewer contact sheets but I need transparency to be preserved while creating the sheet. Sure, I can do it in a Photoshop batch driven process, but it would be nice if XnViewMP would be able to do it as well.
Pierre.
-
- Posts: 3
- Joined: Mon Nov 01, 2021 5:26 pm
Re: Re:
Yes, XnViewMP can indeed create contact sheets from transparent PNGs, it just can't create contact sheets to a transparent PNG (i.e. the output doesn't have a transparent background like the inputs).
For simplicity, I have these 2 input images (they are basically the same image but with different names, notice their transparent background): In Photoshop CS6 - used just for comparison - I can do File / Automate / Contact Sheet II (without flattening layers and such): then delete the opaque background layer: followed by File / Scripts / Flatten All Masks (this step is optional, mentioned only for reference): and I get the contact sheet with a transparent background - just like the original images used as inputs were: However, even if I try to trick XnViewMP into using a completely transparent image as a background image (unchecked here, but I tried): the background of the output image or contact sheet is always opaque, and not transparent like the result from Photoshop above: In other words, I guess XnViewMP flattens the input images before creating the output image, therefore the transparent background is lost for the resulting contact sheet. Or something along these lines anyway. You can easily download the contact sheet samples above and use a checkboard pattern as background in XnViewMP to see the difference.
All I'm saying is that it would be nice if XnViewMP would allow preserving the transparency of the original images within the newly created contact sheet. It doesn't have to be by default, it could be optional, of course.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3
- Joined: Mon Nov 01, 2021 5:26 pm
Re: Re:
Ok, just discovered that XnViewMP can actually do what I wanted, it's just that you have to choose Join Images to a Mosaic or Collage instead of creating a Contact Sheet: The result has a transparent background, just like the input images: I take back what I said above, it was my mistake for not looking at all the possibilities, but then I had no idea of the differences between creating a contact sheet and joining images in a mosaic/collage in XnViewMP.
Thanks for replying, Pierre - sorry for the misunderstanding, and congratulations for your great program. Keep it going!!
You do not have the required permissions to view the files attached to this post.