<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Adding a Gif image with transparency</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Adding a Gif image with transparency]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:51:19 +0000</pubDate>
  <lastBuildDate>Thu, 19 Feb 2009 01:52:29 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=1013</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Adding a Gif image with transparency : You can set a mask based on colors...]]></title>
   <link>http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4761.html#4761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=270">Autodidact</a><br /><strong>Subject:</strong> 1013<br /><strong>Posted:</strong> 19 Feb 09 at 1:52AM<br /><br />You can set a mask based on colors in the image as well with SetImageMask/SetImageMaskCMYK, but then it is important that this color is not present in the part of the image that is to be preserved as it will make odd looking holes/gaps. In RGB, using pixels of 100% green should be the safest color to use. Using white would be asking for trouble, and as I see it, there are no way to specify a transparent pixel/color ...<br><br>There is also SetClippingPath. Images can have a clipping path added in Photoshop. I assume that would be a bit much to ask from the user to create such a path, and I am not so sure this path is what the documentation refer to but rather a path created with the library. I assume so because the function have no argument to specify the path to use. It only uses the "current path" object.<br><br>I guess this is a library limitation, where the creators maybe have chosen the easy route because the library has no support for EPS-vector graphics either, and I could really use that as EMF import is unstable, and neither it or WMF supports CMYK-colors.<br>]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 01:52:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4761.html#4761</guid>
  </item> 
  <item>
   <title><![CDATA[Adding a Gif image with transparency : In fact, I&amp;#039;m working on an...]]></title>
   <link>http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4760.html#4760</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=980">Eddy</a><br /><strong>Subject:</strong> 1013<br /><strong>Posted:</strong> 18 Feb 09 at 5:07PM<br /><br />&nbsp;In fact, I'm working on an application in whitch a user can create a pdf file and add images or text in it. So, I can't use the mask, since I don't know in advance whitch kind of image the user will add...<br>I thought that quickpdf should manage that, may be I'm wrong... or maybe it is a pdf limitation...<br>Thanks for your answer, even if it is not exactly what I was looking for...<br><br>Eddy<br>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 17:07:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4760.html#4760</guid>
  </item> 
  <item>
   <title><![CDATA[Adding a Gif image with transparency : I have only tried placing PNG-files...]]></title>
   <link>http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4759.html#4759</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=270">Autodidact</a><br /><strong>Subject:</strong> 1013<br /><strong>Posted:</strong> 18 Feb 09 at 2:05PM<br /><br />I have only tried placing PNG-files with transparency, and although the file format supports it, the result was just as you experience with the GIF-file. <br><br>Since there are functions for making masks in the library, I tend to belive that transparence within the file is not supported. Check out the SetImageAsMask and SetImageMaskFromImage — and perhaps the ReverseImage.<br><br>Maybe I should look into it myself too ... 8o)<br>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 14:05:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4759.html#4759</guid>
  </item> 
  <item>
   <title><![CDATA[Adding a Gif image with transparency :  Hi,I am trying to add a gif...]]></title>
   <link>http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4758.html#4758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=980">Eddy</a><br /><strong>Subject:</strong> 1013<br /><strong>Posted:</strong> 18 Feb 09 at 12:57PM<br /><br />Hi,<br>I am trying to add a gif image to a pdf file.<br>Perhaps my question is stupid, but is it possible to manage the transparency of that image if it is a gif file with transparency ?<br>I perform a AddImageFromFile, before a drawImage... and the result is an image with a white opaque backstyle... Do I do something wrong ?<br>Thanks in advance.<br>Eddy<br><span style="font-size:10px"><br /><br />Edited by Eddy - 18 Feb 09 at 12:58PM</span>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 12:57:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/adding-a-gif-image-with-transparency_topic1013_post4758.html#4758</guid>
  </item> 
 </channel>
</rss>