Adding text to PNGs w/ alpha-channel transparency

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Adding text to PNGs w/ alpha-channel transparency

Post by XnTriq »

The image I used to demonstrate the :bug: can be downloaded at Apple's Mac OS X Dashboard widgets site:

My_Name_Is.zip (203K) » \My Name Is.wdgt\Images\Default.png

Code: Select all

Chunk | Contents
------+---------------------------------------------------------------------------------------------
IHDR  | PNG image header: 320x220, 8 bits/sample, truecolor+alpha, noninterlaced
pHYs  | pixel size = 2835x2835 pixels per meter (72.0x72.0 dpi)
iCCP  | embedded ICC profile: [Photoshop ICC profile]
gAMA  | file gamma = 0.45454
cHRM  | chromaticities: WP(0.31269,0.32899),R(0.63999,0.33001),G(0.30000,0.60000),B(0.15000,0.05999)
IDAT  | PNG image data
IEND  | end-of-image marker

TweakPNG v1.2.1
This PNG is special in that it has an ICC profile embedded in it, but as far as I can tell the error occurs with every PNG that has alpha-channel transparency.

Can someone confirm this?

_________________
XnView 1.82.4 (Mar 3 2006) · Windows 2000 SP4 · Intel 82815 on-board graphics controller (v6.13.1.3196)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Adding text to PNGs w/ alpha-channel transparency

Post by xnview »

XnTriq wrote:The image I used to demonstrate the :bug: can be downloaded at Apple's Mac OS X Dashboard widgets site:

My_Name_Is.zip (203K) » \My Name Is.wdgt\Images\Default.png

Code: Select all

Chunk | Contents
------+---------------------------------------------------------------------------------------------
IHDR  | PNG image header: 320x220, 8 bits/sample, truecolor+alpha, noninterlaced
pHYs  | pixel size = 2835x2835 pixels per meter (72.0x72.0 dpi)
iCCP  | embedded ICC profile: [Photoshop ICC profile]
gAMA  | file gamma = 0.45454
cHRM  | chromaticities: WP(0.31269,0.32899),R(0.63999,0.33001),G(0.30000,0.60000),B(0.15000,0.05999)
IDAT  | PNG image data
IEND  | end-of-image marker

TweakPNG v1.2.1
This PNG is special in that it has an ICC profile embedded in it, but as far as I can tell the error occurs with every PNG that has alpha-channel transparency.

Can someone confirm this?
Ok, right, a problem with 32bits picture...
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

Fixed in 1.90.3 8)
Post Reply