<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CreateImageWithOptions - TransparentBackground = true in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11863833#M150841</link>
    <description>&lt;P&gt;This appears to still be a problem in Inventor 2022. Using TransparentBackground = True with Camera.CreateImageWithOptions produces an IPictureDisp which does not have a transparent background.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone from Autodesk have any input? Sure they didn't intend for this option to do absolutely nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the only way to get a transparent image is to use View.SaveAsBitmapWithOptions, which clearly isn't a solution because it requires creating a view for every single image.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2023 22:03:06 GMT</pubDate>
    <dc:creator>ls-4453</dc:creator>
    <dc:date>2023-03-31T22:03:06Z</dc:date>
    <item>
      <title>CreateImageWithOptions - TransparentBackground = true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/10805657#M132136</link>
      <description>&lt;P&gt;Did someone tried this option and get saved the Image transparent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns a &lt;STRONG&gt;IPictureDisp&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The type inside &lt;STRONG&gt;IPictureDisp&lt;/STRONG&gt; is &lt;EM&gt;&lt;STRONG&gt;PICTYPE_BITMAP&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;The attributes (&lt;SPAN&gt;PICTUREATTRIBUTES)&amp;nbsp;&lt;/SPAN&gt;are 0, so no &lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;PICTURE_TRANSPARENT&lt;/STRONG&gt;&lt;/EM&gt;(2) is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So for what is&amp;nbsp;TransparentBackground = true usable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shouldn't&amp;nbsp;&lt;STRONG&gt;IPictureDisp&lt;/STRONG&gt;&amp;nbsp;be of type&amp;nbsp;&lt;STRONG&gt;PICTYPE_ICON &lt;/STRONG&gt;or&amp;nbsp;&lt;STRONG&gt;PICTYPE_METAFILE &lt;/STRONG&gt;which are supporting transparency.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:59:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/10805657#M132136</guid>
      <dc:creator>Rene_Gerlach</dc:creator>
      <dc:date>2021-12-07T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: CreateImageWithOptions - TransparentBackground = true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11147039#M137699</link>
      <description>&lt;P&gt;Any comment from Autodesk?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 12:54:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11147039#M137699</guid>
      <dc:creator>Rene_Gerlach</dc:creator>
      <dc:date>2022-05-04T12:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: CreateImageWithOptions - TransparentBackground = true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11147844#M137744</link>
      <description>&lt;P&gt;You probably already know about this one, but there is a 'Remark' at the bottom of the online help page for that method (&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-36809578-FEDE-42CD-8ADA-3AB8859E01D3" target="_blank" rel="noopener"&gt;CreateImageWithOptions&lt;/A&gt;) that may help.&amp;nbsp; It basically says that if you currently have an image set as background within Inventor, it will ignore your settings for background when creating this image.&amp;nbsp; Then says you can check the status of this with ColorSchemes.&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-675A1141-DA79-4284-8CC0-AD8D456755C5" target="_blank" rel="noopener"&gt;BackgroundType&lt;/A&gt;.&amp;nbsp; &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-11D421CC-4FBD-43DD-87CD-0E603134DBE4" target="_blank" rel="noopener"&gt;ColorSchemes&lt;/A&gt; is a ReadOnly property of the Inventor application, and the second property returns a value from the &lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-83BCCAD3-672E-44C2-A095-BE0E644B6344" target="_blank" rel="noopener"&gt;BackgroundTypeEnum&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 17:21:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11147844#M137744</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-05-04T17:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: CreateImageWithOptions - TransparentBackground = true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11863833#M150841</link>
      <description>&lt;P&gt;This appears to still be a problem in Inventor 2022. Using TransparentBackground = True with Camera.CreateImageWithOptions produces an IPictureDisp which does not have a transparent background.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone from Autodesk have any input? Sure they didn't intend for this option to do absolutely nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the only way to get a transparent image is to use View.SaveAsBitmapWithOptions, which clearly isn't a solution because it requires creating a view for every single image.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 22:03:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11863833#M150841</guid>
      <dc:creator>ls-4453</dc:creator>
      <dc:date>2023-03-31T22:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: CreateImageWithOptions - TransparentBackground = true</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11902558#M151485</link>
      <description>&lt;P&gt;Bump. How can we get assistance with this? It's not as if we get this software for free.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 19:51:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/createimagewithoptions-transparentbackground-true/m-p/11902558#M151485</guid>
      <dc:creator>ls-4453</dc:creator>
      <dc:date>2023-04-17T19:51:02Z</dc:date>
    </item>
  </channel>
</rss>

