Page 1 of 1

Adding text to PNGs w/ alpha-channel transparency

Posted: Sun Jul 23, 2006 11:45 am
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)

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

Posted: Mon Jul 24, 2006 7:50 am
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...

Posted: Wed Mar 14, 2007 9:30 pm
by XnTriq
Fixed in 1.90.3 8)