<?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 Problem converting PNG to JPG via REST in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/problem-converting-png-to-jpg-via-rest/m-p/323423#M10424</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to convert a PNG image to JPG via the REST API and the Blob.Convert extension point on a 5.8 instance running locally with DAM installed.  The curl command is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -u Administrator:Administrator -H 'Content-Type: application/json+nxrequest' -X POST &lt;A href="http://localhost:8080/nuxeo/api/v1/id/bef0ca7b-79e5-4d38-8a3f-df01bee0db6d/@blob/file:content/@op/Blob.Convert" target="test_blank"&gt;http://localhost:8080/nuxeo/api/v1/id/bef0ca7b-79e5-4d38-8a3f-df01bee0db6d/@blob/file:content/@op/Blob.Convert&lt;/A&gt; -d '{"params":{"mimeType":"image/jpeg"},"context":{}}' &amp;gt; file.jpg
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where the UUID is to a Picture extended document containing a PNG file.&lt;/P&gt;
&lt;P&gt;The curl command returns 200 OK but the file produced is identical to the uploaded file -- it's format was not changed.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2014 18:51:54 GMT</pubDate>
    <dc:creator>sstodghill_</dc:creator>
    <dc:date>2014-01-31T18:51:54Z</dc:date>
    <item>
      <title>Problem converting PNG to JPG via REST</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/problem-converting-png-to-jpg-via-rest/m-p/323423#M10424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to convert a PNG image to JPG via the REST API and the Blob.Convert extension point on a 5.8 instance running locally with DAM installed.  The curl command is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;curl -u Administrator:Administrator -H 'Content-Type: application/json+nxrequest' -X POST &lt;A href="http://localhost:8080/nuxeo/api/v1/id/bef0ca7b-79e5-4d38-8a3f-df01bee0db6d/@blob/file:content/@op/Blob.Convert" target="test_blank"&gt;http://localhost:8080/nuxeo/api/v1/id/bef0ca7b-79e5-4d38-8a3f-df01bee0db6d/@blob/file:content/@op/Blob.Convert&lt;/A&gt; -d '{"params":{"mimeType":"image/jpeg"},"context":{}}' &amp;gt; file.jpg
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where the UUID is to a Picture extended document containing a PNG file.&lt;/P&gt;
&lt;P&gt;The curl command returns 200 OK but the file produced is identical to the uploaded file -- it's format was not changed.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 18:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/problem-converting-png-to-jpg-via-rest/m-p/323423#M10424</guid>
      <dc:creator>sstodghill_</dc:creator>
      <dc:date>2014-01-31T18:51:54Z</dc:date>
    </item>
  </channel>
</rss>

