How can I create an image with a transparent background?
Moderators: helmut, XnTriq, xnview
How can I create an image with a transparent background?
How can I create an image with a transparent background?
Re: How can I save an image (png) with transparent background?
the original picture has transparent background?
Pierre.
Re: How can I save an image (png) with transparent background?
No no, it hasn*t.
Re: How can I save an image (png) with transparent background?
Then it needs to be edited in a photo editing software. There are some places online where you can upload and have it strip the background out
--
Rick
Rick
Re: How can I save an image (png) with transparent background?
Among other things I want to use my signature to sign contracts or such on PDFs, docs, etc. Is there may be another way with using the smartphone and XnViewMP to get my signature digitized without background?
Re: How can I save an image (png) with transparent background?
It can be done in XnView MP using Tools > Export...
o Reduce the number of colours to 8 (for example).
o Set the transparency colour to the background colour, white in this case.
o Export image.
If it doesn't work first time, try again using different settings...
o Reduce the number of colours to 8 (for example).
o Set the transparency colour to the background colour, white in this case.
o Export image.
If it doesn't work first time, try again using different settings...

Re: How can I save an image with a transparent background?
Ah, I have been there before but couldn't find the way.
Actually this looks good:

But it is shown like this in XnVeiwMP after exporting:

So obviously with white background. Or do I have to get a special view to watch that image correctly in the viewer (without background respectively a transparent one)?
Actually this looks good:

But it is shown like this in XnVeiwMP after exporting:

So obviously with white background. Or do I have to get a special view to watch that image correctly in the viewer (without background respectively a transparent one)?
Re: How can I save an image (png) with transparent background?
Well I just learned something although I will still be doing mine in Affinity Photo

--
Rick
Rick
Re: How can I save an image (png) with transparent background?
Something useful I learned a while back from the transparency expert XnTriq but rarely use myself...

But XnView MP is a 'photo editing software'...

Re: How can I save an image with a transparent background?
@Elk:
I updated my earlier post thinking you weren't online:
In XnView MP the reduce to 8 colours option currently doesn't produce a transparent image, bug already reported, use 16-colours.
Or use the equivalent XnView Classic function, which does work for 8 colours.
I updated my earlier post thinking you weren't online:
In XnView MP the reduce to 8 colours option currently doesn't produce a transparent image, bug already reported, use 16-colours.
Or use the equivalent XnView Classic function, which does work for 8 colours.
Re: How can I save an image with a transparent background?
Didn't notice that, thank you.
16 colours do not work as well. Respectively the background seems to be transparent but the writing is bad:

Cannot find the export option in the classic version...ah, at a different place.
This does not seem to work here:

This is shown (the button shows "Speichern", means "Save" instead of "Export", is that right?):

I guess, I am missing something.
16 colours do not work as well. Respectively the background seems to be transparent but the writing is bad:

Cannot find the export option in the classic version...ah, at a different place.
This does not seem to work here:

This is shown (the button shows "Speichern", means "Save" instead of "Export", is that right?):

I guess, I am missing something.
Re: How can I save an image with a transparent background?
Yes: when you greatly reduce the number of colours, the appearance of an image that contains a large number of colours will be degraded...

A black and white signature might be best, or for another colour, an image with reasonably pure colours.
If necessary, you could also reduce to a larger number of colours, if the background is a nearly pure colour that you can identify when you select the colour to be transparent. If the background is a reasonably pure white, as in a scanned signature on white paper, it shouldn't be a problem.
You also need to start with an image with a reasonable number of pixels.
Re: How can I save an image with a transparent background?
Whatever I choose here no transparency shown in the preview:



I would think those two colours are very pure. Blue and white (paper).A black and white signature might be best, or for another colour, an image with reasonably pure colours.

Re: How can I save an image with a transparent background?
In your screenshot it looks as if the right-hand preview is transparent, but with a different transparency representation.
When I tested with XnView Classic I had no problem, but it is on a Windows 10 laptop so I prefer not to use it, my output attached but transparency doesn't show on the forum.
If you need to use colour, it would probably be best to try to reduce to as many colours as is practical to work with when selecting the colour to be transparent, you can test the visual acceptability of different numbers of colours separately, if you need to.
When I tested with XnView Classic I had no problem, but it is on a Windows 10 laptop so I prefer not to use it, my output attached but transparency doesn't show on the forum.
If you need to use colour, it would probably be best to try to reduce to as many colours as is practical to work with when selecting the colour to be transparent, you can test the visual acceptability of different numbers of colours separately, if you need to.
Re: How can I save an image (png) with transparent background?
Many things that it CAN do are a bit cumbersome and much easier in Photoshop or APhoto often with a lot more controls

--
Rick
Rick