title: decoding csv image base64 files with drag and drop
body: <p>Is there a way I can drag and drop csv files containing a (image encoded base64 text) to a jar file and and then get the decoded result in jpg in the directory?</p>
  <p>i am trying to understand the logic but i cant find any good refrences online
  i would be extremely grateful if someone could teach me
  here is the decoding code ive been using</p>
  <pre><code>    public static void decoder(String base64Image, String pathFile) {
      try (FileOutputStream imageOutFile = new FileOutputStream(pathFile)) {
          // Converting a Base64 String into Image byte array
          byte[] imageByteArray = Base64.getDecoder().decode(base64Image);
          imageOutFile.write(imageByteArray);
      } catch (FileNotFoundException e) {
          System.out.println(&quot;Image not found&quot; + e);
      } catch (IOException ioe) {
          System.out.println(&quot;Exception while reading the Image &quot; + ioe);
      }
  }
  </code></pre>