<?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: set BytesIO() instead of Path when export image in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/set-bytesio-instead-of-path-when-export-image/m-p/10908788#M21115</link>
    <description>&lt;P&gt;Not as far as I know. Sorry about that. You can file a wish list item for it in the Revit Idea Station if it is very important for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2022 21:11:46 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2022-01-26T21:11:46Z</dc:date>
    <item>
      <title>set BytesIO() instead of Path when export image</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/set-bytesio-instead-of-path-when-export-image/m-p/10908107#M21114</link>
      <description>&lt;P&gt;Hey there everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a possible way to export image from viewport using the next pipeline&lt;/P&gt;&lt;LI-CODE lang="general"&gt;opts = DB.ImageExportOptions()
opts.FilePath = image_path

doc.ExportImage(opts)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;using BytesIO() object instead of string-type image path? I am trying to perform image post-process right inside the python script without having to write the file and re-opening it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 16:48:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/set-bytesio-instead-of-path-when-export-image/m-p/10908107#M21114</guid>
      <dc:creator>dyakovenko73GY8</dc:creator>
      <dc:date>2022-01-26T16:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: set BytesIO() instead of Path when export image</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/set-bytesio-instead-of-path-when-export-image/m-p/10908788#M21115</link>
      <description>&lt;P&gt;Not as far as I know. Sorry about that. You can file a wish list item for it in the Revit Idea Station if it is very important for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 21:11:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/set-bytesio-instead-of-path-when-export-image/m-p/10908788#M21115</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-01-26T21:11:46Z</dc:date>
    </item>
  </channel>
</rss>

