print 8bit png transparency as white

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

print 8bit png transparency as white

Post by dee »

Hello,

I have a set of 8bit png images with transparency. How can I print them with transparent parts white?

I tried following:

"File/Print" shows preview with transparent pixels black.
"Create/Contact sheet" renders transparent pixels black.
"Create/Strip of images" renders transparent pixels black.
"Tools/Batch processing" ... I can't find how to change transparent to white.

Stepan
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

Re: print 8bit png transparency as white

Post by dee »

test image
Attachments
card01.png
card01.png (10.62 KiB) Viewed 1842 times
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

Re: print 8bit png transparency as white

Post by dee »

"nconvert.exe -transpcolor 255 255 255 card01.png" ... seems to do nothing, transparent color is still black
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

Re: print 8bit png transparency as white

Post by dee »

i guess do everything wrong today...I tried downloading image magick but

"convert.exe -transparent-color white card01.png card01_1.png"

also seems to do nothing, transparency still black
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

Re: print 8bit png transparency as white

Post by dee »

ok, i have it

"convert.exe -background white -alpha background card01.png card01_1.png"

makes transparent color white
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: print 8bit png transparency as white

Post by XnTriq »

Please follow these steps (in XnView Classic's view mode), Stepan:
  1. Edit » Background colour... » Red: 255 / Green: 255 / Blue: 255
  2. Image » 32 bits
  3. Image » True Colour
dee
Posts: 11
Joined: Fri Dec 26, 2008 12:32 am

Re: print 8bit png transparency as white

Post by dee »

Thanks, it works.

BTW is it possible to do the same in Batch processing? I see transformation "Convert to True Colours" but no "Convert to 32bits".
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: print 8bit png transparency as white

Post by XnTriq »

dee wrote:BTW is it possible to do the same in Batch processing? I see transformation "Convert to True Colours" but no "Convert to 32bits".
I tried…
  • Tools » Batch Processing... » Transformations
    • Image » Add alpha » Parameters: [ 255 ]
    • Convert » Convert to True Colours
… but the background turned out black. :-|
Post Reply