<?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: Transparent Images for GDL UI's exported from Archicad in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324947#M2385</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12479"&gt;@GDL Enthusiast&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Just as a quick question, do you know if AC can export a TIF image file with transparency ready to go to save the intermediate steps? I don't know much about images but wondered with the export with Alpha channel option. It didn't seem to work for me but I wondered if I was doing something wrong. It would be awesome if one could directly save from AC. Thank you for your help, much appreciated!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never tried, but I just did, and although it says you can save a .TIFF file with an alpha channel, it didn't work for me either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 01:09:47 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2021-12-15T01:09:47Z</dc:date>
    <item>
      <title>Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324753#M2376</link>
      <description>&lt;P&gt;Hi GDL Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering what the work flow is for exporting an image from Archicad that has a transparent background that can be imported into the user interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can export an images from AC with Alpha Channel, however all four standard AC export image types come through with a white background e.g. *png, *jpg, *gif &amp;amp; *tiff (samples attached).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the following code&lt;/P&gt;&lt;P&gt;ui_pict "Test_Image", 15, 15, 140, 140, 1&lt;/P&gt;&lt;P&gt;The images come through looking like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 351px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/17749iA3BCEF050F97F5C9/image-dimensions/351x271?v=v2" width="351" height="271" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also is there a way to set the size of the image on export - the UI_PICT function calls for a specific size. When AC exports it seems to export the extents. I thought adding the red boundary would be a way to control the size but there seems to be a white border beyond this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this what other people do or is there a better workflow for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much in advance!&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75266iE7BA59E7E5A292B7/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Test_Image.gif" title="Test_Image.gif" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75267i3079ED670DBFC2AD/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Test_Image.png" title="Test_Image.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75268i1853D5EA3901E319/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Test_Image.jpg" title="Test_Image.jpg" /&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:31:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324753#M2376</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-12-11T08:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324806#M2377</link>
      <description>&lt;P&gt;Your UI_PICT command is correct.&lt;/P&gt;
&lt;P&gt;The 140,140 is the size of the image in the UI.&lt;/P&gt;
&lt;P&gt;It will not crop the image, just resize it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used .TIF with an alpha channel for my images.&lt;/P&gt;
&lt;P&gt;I can't remember why I settled on that format, but it is what I use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The alpha channel mask has to mask around the objects you want to show.&lt;/P&gt;
&lt;P&gt;i.e. around the outside and inside of the red line in your image if you want to mask the rest of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have my regular PC with me with my image software (just an old version of Paint Shop), so I can't really look at your images.&lt;/P&gt;
&lt;P&gt;But any image editor should do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will attach one of my .TIF files so you can have a look at it (I have had to ZIP it as TIF is not allowed as an attachment).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 01:48:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324806#M2377</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-12-13T01:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324824#M2378</link>
      <description>&lt;P&gt;Hi Barry, thank you, that is so helpful offering a sample TIF file. I will have a look. I was wondering how one goes about exporting the image from AC that might be different from what I am doing. When I export a TIF with alpha channel, I can't seem to find anything different in the image that shows it has an alpha channel. If it is not to much trouble, could you describe your workflow method of exporting the image in AC?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 12:50:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324824#M2378</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-12-13T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324849#M2379</link>
      <description>&lt;P&gt;A hint: make a vector image with proper dimensions and then save to SVG and use the library tool to convert them to multipage TIFFs: You will get 4 sizes of the image organized in pages for 100%, 125%, 200% nad 250% scalings of the OS UI - works both on MAC and WIN when You scale UI on WIN o change rosolution on MAC.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 16:20:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324849#M2379</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-13T16:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324872#M2380</link>
      <description>&lt;P&gt;Hi Piotr, thank you for the guidance. I will give that a try. I had played with the Library tool to convert them to multipage TIFF's without success (the library tool just blinked up on the screen and disappeared without changing anything and I was left none the wiser hehe). I will give it another go and see how it works. Thank you for responding and all the best to you!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 01:16:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324872#M2380</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-12-14T01:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324878#M2381</link>
      <description>&lt;P&gt;I use an old version of Paint Shop Pro I found lying around.&lt;/P&gt;
&lt;P&gt;I assume other image editors work much the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I do is create the image I want.&lt;/P&gt;
&lt;P&gt;I use a different colour for the area I want to mask, just to make it easier to select.&lt;/P&gt;
&lt;P&gt;Then I make a selection of the area I want to mask (the green bits) and then invert that selection, so I actually have selected what I want to end up seeing.&lt;/P&gt;
&lt;P&gt;You might be able to see the dashed selection in the image below - everything except the green bits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_7fc40e1bb2ef1fBarryKelly_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_5-1639448437592.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/17782i723EB70F1A885050/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_5-1639448437592.png" alt="BarryKelly_5-1639448437592.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I save that selection as an alpha channel.&lt;/P&gt;
&lt;P&gt;Then save the image as a TIF and use it in my GDL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you open the image in an editor, you won't see anything masked, it will just show as the image above.&lt;/P&gt;
&lt;P&gt;But it has this hidden alpha channel that will now mask the background when you use this image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 02:26:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324878#M2381</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-12-14T02:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324898#M2382</link>
      <description>&lt;P&gt;I am on windows...and I did a right click entry for a folder containing svg's and making another forlder with "_tiff" added to its name:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"C:\Program Files\GRAPHISOFT\LibDev Toolkit 22 (3013)\Tool\WIN\LP_XMLConverter" convertlibrary -excludesvg %1 %1_tif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use here 22s tool, but You can use newer, not sure with older ones, but most probably it works since 20 or 21.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 09:00:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324898#M2382</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-14T09:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324944#M2383</link>
      <description>&lt;P&gt;Hi Barry, the image you sent as a trial works perfectly. Okay so that is the process, add a solid background colour, export to photoshop, add transparency based on colour and then back to the Library for calling. Super great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as a quick question, do you know if AC can export a TIF image file with transparency ready to go to save the intermediate steps? I don't know much about images but wondered with the export with Alpha channel option. It didn't seem to work for me but I wondered if I was doing something wrong. It would be awesome if one could directly save from AC. Thank you for your help, much appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 23:10:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324944#M2383</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-12-14T23:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324945#M2384</link>
      <description>&lt;P&gt;Hi Piotr, thank you for the handy link. I had a search with the based on your handy link for *&lt;SPAN&gt;LP_XMLConverter* tag&lt;/SPAN&gt; and found the&amp;nbsp;LP_XMLConverter oddly in the primary directory of AC22, I would have never have found it otherwise! Thank you. I will have a go with that tool and discover hopefully a new world of fun &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 23:16:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324945#M2384</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-12-14T23:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324947#M2385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12479"&gt;@GDL Enthusiast&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Just as a quick question, do you know if AC can export a TIF image file with transparency ready to go to save the intermediate steps? I don't know much about images but wondered with the export with Alpha channel option. It didn't seem to work for me but I wondered if I was doing something wrong. It would be awesome if one could directly save from AC. Thank you for your help, much appreciated!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never tried, but I just did, and although it says you can save a .TIFF file with an alpha channel, it didn't work for me either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 01:09:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324947#M2385</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-12-15T01:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324953#M2386</link>
      <description>&lt;P&gt;Hi Barry, hehe I was wondering if I was doing something wrong with the Archicad Export alpha channel not working - I had tried every export option without success. I am glad it wasn't just me... All the best for you and yours at Christmas!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 03:14:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324953#M2386</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-12-15T03:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324957#M2387</link>
      <description>&lt;P&gt;You have it in all AC's, but it is also a part of GDL sdk that can be downloaded from Developers' site. It contains some examples and a manual for the tool btw.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 04:53:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/324957#M2387</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2021-12-15T04:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transparent Images for GDL UI's exported from Archicad</title>
      <link>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/325409#M2388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;there is some entry-level help on GDL Center:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool" target="_blank"&gt;http://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://gdl.graphisoft.com/tips-and-tricks/hsf-source-format" target="_blank"&gt;http://gdl.graphisoft.com/tips-and-tricks/hsf-source-format&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 08:23:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Transparent-Images-for-GDL-UI-s-exported-from-Archicad/m-p/325409#M2388</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2021-12-22T08:23:29Z</dc:date>
    </item>
  </channel>
</rss>

