Article View: adobe.acrobat.sdk
Article #309Re: How to create Button Icon from PNG?
From: NoSmoking
Date: Tue, 17 Mar 2009 07:22
Date: Tue, 17 Mar 2009 07:22
6 lines
801 bytes
801 bytes
Leonard: I convert the PNG to a pdf file and I use CosDocOpenWithParams to open the PDF file then using CosStreamOpenStm to get the image XObject. Next i set this XObject to my icon and load it. Is this way OK? thanks.
Technical Details
Message-ID:
<59b838f6.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b838f6.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,bae9b4eca948d72 X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: NoSmoking@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: How to create Button Icon from PNG? Message-ID: <59b838f6.2@webcrossing.la2eafNXanI> Date: Tue, 17 Mar 2009 00:22:45 -0700 References: <59b838f6.-1@webcrossing.la2eafNXanI> Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit