If you change the screen size, the background color changes
Moderators: XnTriq, helmut, xnview
If you change the screen size, the background color changes
If you change the screen size of this file in XnView 2.39 (latest version), the background immediately changes from transparent to black. Is this a bug?
EDIT: added original file:
EDIT: added original file:
Last edited by c627627 on Mon Dec 19, 2016 10:27 pm, edited 2 times in total.
Re: If you change the screen size, the background color chan
This is a known issue. Please increase the color depth (Image » 32 bits) prior to resizing.
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=133136#p133136]When Resizing Change Default Lanczos to Bilinear[/url]) wrote:When you resize a palette-based image with an algorithm other than Nearest Neighbor or Bilinear (i.e. Hermite, Gaussian, Bell, Bspline, Mitchell, Lanczos, or Hanning), transparency will only be preserved, if you convert it to alpha-channel transparency (Image » Change color depth... » 32 bits) first.
Related: Fichier .gif redimmensionnement et perte de la transparence
Re: If you change the screen size, the background color chan
Just wanted to tell you that XnView 2.39 > Image > 32-Bit is grayed out for this example image.
Other than opening it in another imaging program which does not have this issue, can I do anything else within XnView, since 32-Bit is grayed out?
Other than opening it in another imaging program which does not have this issue, can I do anything else within XnView, since 32-Bit is grayed out?
Re: If you change the screen size, the background color chan
Thanks for reporting back. Could you try the following configuration?c627627 wrote:Just wanted to tell you that XnView 2.39 > Image > 32-Bit is grayed out for this example image.
- Tools » Options...
- General » Operations » Ignore alpha channel = Off
- Read/Write » Read » PNG » Parameters » Compose image with transparency = Off
- Read/Write » Read » PNG » Parameters » Compose image with alpha (32bits) = Off
- Viewer mode: View
- Use transparent index (<=8bits) or alpha channel = On
- Use alpha channel = On
- Show Mask = Off
Re: If you change the screen size, the background color chan
As you can see, they were all already set as you instructed but this did not help.
Re: If you change the screen size, the background color chan
Perhaps I misunderstood. When you say “change the screen size”, do you mean changing the screen resolution of your monitor/display or are we talking about Image » Resize...?c627627 wrote:As you can see, they were all already set as you instructed but this did not help.
Re: If you change the screen size, the background color chan
Image > Resize
Before and after screen shots:
Before and after screen shots:
Re: If you change the screen size, the background color chan
This is really weird
As you can see in the screenshot, Image » 32 bits isn't grayed out in my installation.
As you can see in the screenshot, Image » 32 bits isn't grayed out in my installation.
Re: If you change the screen size, the background color chan
Resolved.
1. Go to original page:
http://www.corsair.com/en-us/rm-series- ... wer-supply
2. Right click on the power supply picture directly and save it to your computer.
3. Open it in XnView and before doing anything, go to XnView > Image > 32-Bits
Now it can be resized without a problem.
Why is this a requirement in XnView?
1. Go to original page:
http://www.corsair.com/en-us/rm-series- ... wer-supply
2. Right click on the power supply picture directly and save it to your computer.
3. Open it in XnView and before doing anything, go to XnView > Image > 32-Bits
Now it can be resized without a problem.
Why is this a requirement in XnView?
Re: If you change the screen size, the background color chan
Thanks for your patience
Certain PNGs…c627627 wrote:Why is this a requirement in XnView?
- 8-bit (indexed/paletted) with “cheap alpha” transparency
- greyscale with alpha channel
Re: If you change the screen size, the background color chan
Is there an add-on to offer support?
Just out of curiosity what is the background for the lack of support for them?
Just out of curiosity what is the background for the lack of support for them?
Re: If you change the screen size, the background color chan
Noc627627 wrote:Is there an add-on to offer support?
Unfortunately I can't answer this question because I'm not involved in the development of XnView.c627627 wrote:Just out of curiosity what is the background for the lack of support for them?
- XnView does not support transparent PNG, ICO, GIF!
- PNG view/thumb/convert confliction
- PNG with transparency not showing
- Transparency & alpha
- PNG Transparency white background=Possible
- PNG transparency problem
- 256-color png displayed in grayscale
- PNG 32 BPP wrongly displayed…
- Bug: PNG transparency showed with artefacts
- Incorrect display of a png image
- Alpha channel is ignored for grayscale PNG
- 8 bit png with alpha (8 bits) mask
- Partial Transparence in GFL_COLORS and GFL_GREY
- alpha channel lost when resizing 8bit png
- MP 0.39 Win: PNG displaying problem.
- Issue with PNG/compose with alpha
- Fails to detect 32 bit depth
- GFL can't decode png
- Editing an images loses its transparency
- Extracting alpha channel from grey scale PNG
- BUG: Image transparency display is not consistent...
- Filigrane with transparent colour (png file)
- print 8bit png transparency as white
- PNG transparency not preserved after conversion
- transparent png out of jpg - How to do?
- PNG Keep Transparency Background
- How to convert <=8bit to 32bit with transparency
Re: If you change the screen size, the background color chan
Thank you very much.