<?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: Iterate jpeg files from a folder and convert to base64 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204939#M5611</link>
    <description>&lt;P&gt;I can't run, what am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000C7ymJAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154857iAD9FE7DBDAD4800D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000C7ymJAAR.png" alt="0693p00000C7ymJAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 15:40:00 GMT</pubDate>
    <dc:creator>milver</dc:creator>
    <dc:date>2021-03-15T15:40:00Z</dc:date>
    <item>
      <title>Iterate jpeg files from a folder and convert to base64</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204936#M5608</link>
      <description>&lt;P&gt;We are able to use the exchange module&amp;nbsp;tBase64 to convert a 'single' image to base64 text. The conversion fails at tBase64 when we run it using the "tFileList" to iterate through multiple jpeg files (in this image below, we are using one image).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Has anyone found a solution that converts multiple jpeg images to base64 text files - with or without tBase64 module?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For the Job that fails:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileList mask is "*.jpg"&lt;/P&gt; 
&lt;P&gt;Using 'tFileInputRaw' to 'Read the file as a string'&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Filename value: ((String)globalMap.get("tFileList_2_CURRENT_FILE"))&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test_base64.jpg" style="width: 719px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0L3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128196iEEF9DA2E9C38CDE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0L3.jpg" alt="0683p000009M0L3.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;-----------&amp;nbsp; Error ----------&lt;/P&gt; 
&lt;P&gt;java.io.FileNotFoundException: File 'chafer_profile.jpg' does not exist&lt;BR /&gt;Exception in component tBase64_4&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at hafer_sandbox.case_base64_0_1.case_BASE64.tFileList_3Process(case_BASE64.java:2236)&lt;BR /&gt;at hafer_sandbox.case_base64_0_1.case_BASE64.tFileInputRaw_4Process(case_BASE64.java:1361)&lt;BR /&gt;at hafer_sandbox.case_base64_0_1.case_BASE64.runJobInTOS(case_BASE64.java:6330)&lt;BR /&gt;at hafer_sandbox.case_base64_0_1.case_BASE64.main(case_BASE64.java:6144)&lt;BR /&gt;[ERROR]: hafer_sandbox.case_base64_0_1.case_BASE64 - tFileInputRaw_1 - File 'chafer_profile.jpg' does not exist&lt;BR /&gt;[FATAL]: hafer_sandbox.case_base64_0_1.case_BASE64 - tBase64_4 null&lt;/P&gt; 
&lt;P&gt;---------------------------------&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204936#M5608</guid>
      <dc:creator>chafer</dc:creator>
      <dc:date>2024-11-16T07:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate jpeg files from a folder and convert to base64</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204937#M5609</link>
      <description>&lt;P&gt;Use&amp;nbsp;&lt;SPAN&gt;tFileList_2_CURRENT_FILEPATH instead of&amp;nbsp;tFileList_2_CURRENT_FILE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 17:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204937#M5609</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-19T17:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate jpeg files from a folder and convert to base64</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204938#M5610</link>
      <description>&lt;P&gt;That works. Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 17:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204938#M5610</guid>
      <dc:creator>chafer</dc:creator>
      <dc:date>2018-09-19T17:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate jpeg files from a folder and convert to base64</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204939#M5611</link>
      <description>&lt;P&gt;I can't run, what am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000C7ymJAAR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154857iAD9FE7DBDAD4800D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000C7ymJAAR.png" alt="0693p00000C7ymJAAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 15:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-jpeg-files-from-a-folder-and-convert-to-base64/m-p/2204939#M5611</guid>
      <dc:creator>milver</dc:creator>
      <dc:date>2021-03-15T15:40:00Z</dc:date>
    </item>
  </channel>
</rss>

