[feat] edit pallete - cannot set transparency to multiple indexes

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

[feat] edit pallete - cannot set transparency to multiple indexes

Post by user0 »

XnView MP 1.4.2 64bits
Windows11 64bit (22H2), display resolution 3840x2160, win scaling 150%


Edit pallete dialog

Issue
It is not possible to set transparency to multiple indexes at once.
No matter how many indexes you go through with ticking checkbox, transparency will be applied only to the last one.
It shall be possible to set transparency to as many indexes as required, and they applied all to image when OK button is pressed.
Last edited by user0 on Thu May 04, 2023 10:54 am, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.2 - edit pallete - cannot set transparency to multiple indexes

Post by xnview »

8bits palette support only 1 index
Pierre.
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: 1.4.2 - edit pallete - cannot set transparency to multiple indexes

Post by user0 »

xnview wrote: Fri Feb 03, 2023 1:45 pm 8bits palette support only 1 index
What about test_png_B.png, is it still valid 8bit png?
TweakPNG allows to edit alpha channel of individual color.
test_png_A.png
test_png_A.png (178 Bytes) Viewed 876 times
test_png_B.png
test_png_B.png (486 Bytes) Viewed 876 times
TweakPNG_vs_xnview.png

Also note the handy indicator of transparency in TweakPNG (red oval on x scale under each color)

Related
Last edited by user0 on Thu Mar 09, 2023 10:37 am, edited 4 times in total.
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: 1.4.2 - edit pallete - cannot set transparency to multiple indexes

Post by user0 »

updated previous post with example
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.4.2 - edit pallete - cannot set transparency to multiple indexes

Post by xnview »

user0 wrote: Fri Feb 03, 2023 2:08 pm TweakPNG allows to edit alpha channel of individual color.
yes but not supported by XnView
Pierre.
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: 1.4.2 - edit pallete - cannot set transparency to multiple indexes

Post by user0 »

it would be handy to have such support one day :D
Post Reply