
 
 T h i s   c o p y   o f   t h e   l i b p n g   n o t i c e s   i s   p r o v i d e d   f o r   y o u r   c o n v e n i e n c e .     I n   c a s e   o f 
 
 a n y   d i s c r e p a n c y   b e t w e e n   t h i s   c o p y   a n d   t h e   n o t i c e s   i n   t h e   f i l e   p n g . h   t h a t   i s 
 
 i n c l u d e d   i n   t h e   l i b p n g   d i s t r i b u t i o n ,   t h e   l a t t e r   s h a l l   p r e v a i l . 
 
 
 
 C O P Y R I G H T   N O T I C E ,   D I S C L A I M E R ,   a n d   L I C E N S E : 
 
 
 
 I f   y o u   m o d i f y   l i b p n g   y o u   m a y   i n s e r t   a d d i t i o n a l   n o t i c e s   i m m e d i a t e l y   f o l l o w i n g 
 
 t h i s   s e n t e n c e . 
 
 
 
 T h i s   c o d e   i s   r e l e a s e d   u n d e r   t h e   l i b p n g   l i c e n s e . 
 
 
 
 l i b p n g   v e r s i o n s   1 . 2 . 6 ,   A u g u s t   1 5 ,   2 0 0 4 ,   t h r o u g h   1 . 2 . 3 8 ,   J u l y   1 6 ,   2 0 0 9 ,   a r e 
 
 C o p y r i g h t   ( c )   2 0 0 4 ,   2 0 0 6 - 2 0 0 9   G l e n n   R a n d e r s - P e h r s o n ,   a n d   a r e 
 
 d i s t r i b u t e d   a c c o r d i n g   t o   t h e   s a m e   d i s c l a i m e r   a n d   l i c e n s e   a s   l i b p n g - 1 . 2 . 5 
 
 w i t h   t h e   f o l l o w i n g   i n d i v i d u a l   a d d e d   t o   t h e   l i s t   o f   C o n t r i b u t i n g   A u t h o r s 
 
 
 
       C o s m i n   T r u t a 
 
 
 
 l i b p n g   v e r s i o n s   1 . 0 . 7 ,   J u l y   1 ,   2 0 0 0 ,   t h r o u g h   1 . 2 . 5   -   O c t o b e r   3 ,   2 0 0 2 ,   a r e 
 
 C o p y r i g h t   ( c )   2 0 0 0 - 2 0 0 2   G l e n n   R a n d e r s - P e h r s o n ,   a n d   a r e 
 
 d i s t r i b u t e d   a c c o r d i n g   t o   t h e   s a m e   d i s c l a i m e r   a n d   l i c e n s e   a s   l i b p n g - 1 . 0 . 6 
 
 w i t h   t h e   f o l l o w i n g   i n d i v i d u a l s   a d d e d   t o   t h e   l i s t   o f   C o n t r i b u t i n g   A u t h o r s 
 
 
 
       S i m o n - P i e r r e   C a d i e u x 
 
       E r i c   S .   R a y m o n d 
 
       G i l l e s   V o l l a n t 
 
 
 
 a n d   w i t h   t h e   f o l l o w i n g   a d d i t i o n s   t o   t h e   d i s c l a i m e r : 
 
 
 
       T h e r e   i s   n o   w a r r a n t y   a g a i n s t   i n t e r f e r e n c e   w i t h   y o u r   e n j o y m e n t   o f   t h e 
 
       l i b r a r y   o r   a g a i n s t   i n f r i n g e m e n t .     T h e r e   i s   n o   w a r r a n t y   t h a t   o u r 
 
       e f f o r t s   o r   t h e   l i b r a r y   w i l l   f u l f i l l   a n y   o f   y o u r   p a r t i c u l a r   p u r p o s e s 
 
       o r   n e e d s .     T h i s   l i b r a r y   i s   p r o v i d e d   w i t h   a l l   f a u l t s ,   a n d   t h e   e n t i r e 
 
       r i s k   o f   s a t i s f a c t o r y   q u a l i t y ,   p e r f o r m a n c e ,   a c c u r a c y ,   a n d   e f f o r t   i s   w i t h 
 
       t h e   u s e r . 
 
 
 
 l i b p n g   v e r s i o n s   0 . 9 7 ,   J a n u a r y   1 9 9 8 ,   t h r o u g h   1 . 0 . 6 ,   M a r c h   2 0 ,   2 0 0 0 ,   a r e 
 
 C o p y r i g h t   ( c )   1 9 9 8 ,   1 9 9 9   G l e n n   R a n d e r s - P e h r s o n ,   a n d   a r e 
 
 d i s t r i b u t e d   a c c o r d i n g   t o   t h e   s a m e   d i s c l a i m e r   a n d   l i c e n s e   a s   l i b p n g - 0 . 9 6 , 
 
 w i t h   t h e   f o l l o w i n g   i n d i v i d u a l s   a d d e d   t o   t h e   l i s t   o f   C o n t r i b u t i n g   A u t h o r s : 
 
 
 
       T o m   L a n e 
 
       G l e n n   R a n d e r s - P e h r s o n 
 
       W i l l e m   v a n   S c h a i k 
 
 
 
 l i b p n g   v e r s i o n s   0 . 8 9 ,   J u n e   1 9 9 6 ,   t h r o u g h   0 . 9 6 ,   M a y   1 9 9 7 ,   a r e 
 
 C o p y r i g h t   ( c )   1 9 9 6 ,   1 9 9 7   A n d r e a s   D i l g e r 
 
 D i s t r i b u t e d   a c c o r d i n g   t o   t h e   s a m e   d i s c l a i m e r   a n d   l i c e n s e   a s   l i b p n g - 0 . 8 8 , 
 
 w i t h   t h e   f o l l o w i n g   i n d i v i d u a l s   a d d e d   t o   t h e   l i s t   o f   C o n t r i b u t i n g   A u t h o r s : 
 
 
 
       J o h n   B o w l e r 
 
       K e v i n   B r a c e y 
 
       S a m   B u s h e l l 
 
       M a g n u s   H o l m g r e n 
 
       G r e g   R o e l o f s 
 
       T o m   T a n n e r 
 
 
 
 l i b p n g   v e r s i o n s   0 . 5 ,   M a y   1 9 9 5 ,   t h r o u g h   0 . 8 8 ,   J a n u a r y   1 9 9 6 ,   a r e 
 
 C o p y r i g h t   ( c )   1 9 9 5 ,   1 9 9 6   G u y   E r i c   S c h a l n a t ,   G r o u p   4 2 ,   I n c . 
 
 
 
 F o r   t h e   p u r p o s e s   o f   t h i s   c o p y r i g h t   a n d   l i c e n s e ,   " C o n t r i b u t i n g   A u t h o r s " 
 
 i s   d e f i n e d   a s   t h e   f o l l o w i n g   s e t   o f   i n d i v i d u a l s : 
 
 
 
       A n d r e a s   D i l g e r 
 
       D a v e   M a r t i n d a l e 
 
       G u y   E r i c   S c h a l n a t 
 
       P a u l   S c h m i d t 
 
       T i m   W e g n e r 
 
 
 
 T h e   P N G   R e f e r e n c e   L i b r a r y   i s   s u p p l i e d   " A S   I S " .     T h e   C o n t r i b u t i n g   A u t h o r s 
 
 a n d   G r o u p   4 2 ,   I n c .   d i s c l a i m   a l l   w a r r a n t i e s ,   e x p r e s s e d   o r   i m p l i e d , 
 
 i n c l u d i n g ,   w i t h o u t   l i m i t a t i o n ,   t h e   w a r r a n t i e s   o f   m e r c h a n t a b i l i t y   a n d   o f 
 
 f i t n e s s   f o r   a n y   p u r p o s e .     T h e   C o n t r i b u t i n g   A u t h o r s   a n d   G r o u p   4 2 ,   I n c . 
 
 a s s u m e   n o   l i a b i l i t y   f o r   d i r e c t ,   i n d i r e c t ,   i n c i d e n t a l ,   s p e c i a l ,   e x e m p l a r y , 
 
 o r   c o n s e q u e n t i a l   d a m a g e s ,   w h i c h   m a y   r e s u l t   f r o m   t h e   u s e   o f   t h e   P N G 
 
 R e f e r e n c e   L i b r a r y ,   e v e n   i f   a d v i s e d   o f   t h e   p o s s i b i l i t y   o f   s u c h   d a m a g e . 
 
 
 
 P e r m i s s i o n   i s   h e r e b y   g r a n t e d   t o   u s e ,   c o p y ,   m o d i f y ,   a n d   d i s t r i b u t e   t h i s 
 
 s o u r c e   c o d e ,   o r   p o r t i o n s   h e r e o f ,   f o r   a n y   p u r p o s e ,   w i t h o u t   f e e ,   s u b j e c t 
 
 t o   t h e   f o l l o w i n g   r e s t r i c t i o n s : 
 
 
 
 1 .   T h e   o r i g i n   o f   t h i s   s o u r c e   c o d e   m u s t   n o t   b e   m i s r e p r e s e n t e d . 
 
 
 
 2 .   A l t e r e d   v e r s i o n s   m u s t   b e   p l a i n l y   m a r k e d   a s   s u c h   a n d   m u s t   n o t 
 
       b e   m i s r e p r e s e n t e d   a s   b e i n g   t h e   o r i g i n a l   s o u r c e . 
 
 
 
 3 .   T h i s   C o p y r i g h t   n o t i c e   m a y   n o t   b e   r e m o v e d   o r   a l t e r e d   f r o m   a n y 
 
       s o u r c e   o r   a l t e r e d   s o u r c e   d i s t r i b u t i o n . 
 
 
 
 T h e   C o n t r i b u t i n g   A u t h o r s   a n d   G r o u p   4 2 ,   I n c .   s p e c i f i c a l l y   p e r m i t ,   w i t h o u t 
 
 f e e ,   a n d   e n c o u r a g e   t h e   u s e   o f   t h i s   s o u r c e   c o d e   a s   a   c o m p o n e n t   t o 
 
 s u p p o r t i n g   t h e   P N G   f i l e   f o r m a t   i n   c o m m e r c i a l   p r o d u c t s .     I f   y o u   u s e   t h i s 
 
 s o u r c e   c o d e   i n   a   p r o d u c t ,   a c k n o w l e d g m e n t   i s   n o t   r e q u i r e d   b u t   w o u l d   b e 
 
 a p p r e c i a t e d . 
 
 
 
 
 
 A   " p n g _ g e t _ c o p y r i g h t "   f u n c t i o n   i s   a v a i l a b l e ,   f o r   c o n v e n i e n t   u s e   i n   " a b o u t " 
 
 b o x e s   a n d   t h e   l i k e : 
 
 
 
       p r i n t f ( " % s " , p n g _ g e t _ c o p y r i g h t ( N U L L ) ) ; 
 
 
 
 A l s o ,   t h e   P N G   l o g o   ( i n   P N G   f o r m a t ,   o f   c o u r s e )   i s   s u p p l i e d   i n   t h e 
 
 f i l e s   " p n g b a r . p n g "   a n d   " p n g b a r . j p g   ( 8 8 x 3 1 )   a n d   " p n g n o w . p n g "   ( 9 8 x 3 1 ) . 
 
 
 
 L i b p n g   i s   O S I   C e r t i f i e d   O p e n   S o u r c e   S o f t w a r e .     O S I   C e r t i f i e d   O p e n   S o u r c e   i s   a 
 
 c e r t i f i c a t i o n   m a r k   o f   t h e   O p e n   S o u r c e   I n i t i a t i v e . 
 
 
 
 G l e n n   R a n d e r s - P e h r s o n 
 
 g l e n n r p   a t   u s e r s . s o u r c e f o r g e . n e t 
 
 J u l y   1 6 ,   2 0 0 9 
 
 