<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - how to insert png to pdf?</title>
    <link>https://forums.adobe.com/community/design_development/pdf_language_and_specifications?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 21 Nov 2013 10:17:27 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-11-21T10:17:27Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: how to insert png to pdf?</title>
      <link>https://forums.adobe.com/message/5861402?tstart=0#5861402</link>
      <description>&lt;!-- [DocumentBodyStart:cf373dac-fad4-40d7-9eeb-952cf8f6620b] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;What are the values of image matrix for png image file ?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;imageMatrix.a = ASInt16ToFixed(width);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imageMatrix.d = ASInt16ToFixed(height);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imageMatrix.b = imageMatrix.c = fixedZero;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imageMatrix.h = fixedZero;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imageMatrix.v = fixedZero;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is it correct for png ?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:cf373dac-fad4-40d7-9eeb-952cf8f6620b] --&gt;&lt;img src='/beacon?t=1415903405385' /&gt;</description>
      <pubDate>Thu, 21 Nov 2013 10:17:27 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5861402?tstart=0#5861402</guid>
      <dc:date>2013-11-21T10:17:27Z</dc:date>
      <clearspace:dateToText>11 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: how to insert png to pdf?</title>
      <link>https://forums.adobe.com/message/4425293?tstart=0#4425293</link>
      <description>&lt;!-- [DocumentBodyStart:a7d4ce13-0438-4c9d-a0eb-43fa23a65fa3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have get the alpha piexels and raw pixel(RGB) using the libpng to decode png format, but i don't know that what's&amp;nbsp; the content of &lt;code class="jive-code jive-xml"&gt;31 0 obj stream.&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class="jive-code jive-xml"&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class="jive-code jive-xml"&gt;I use the adobe acrobat to insert a png to pdf.&lt;/code&gt;&lt;/p&gt;&lt;p&gt;the result:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;24 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt;/Contents 43 0 R/CropBox[0.0 0.0 612.0 792.0]/Group 39 0 R/ID 40 0 R/MediaBox[0.0 0.0 612.0 792.0]/PZ 1.0/Parent 14 0 R/Resources&amp;lt;&amp;lt;/ColorSpace&amp;lt;&amp;lt;/CS0 33 0 R&amp;gt;&amp;gt;/Font&amp;lt;&amp;lt;/C0_0 38 0 R&amp;gt;&amp;gt;/ProcSet[/PDF/Text/ImageC]/XObject&amp;lt;&amp;lt;/Im0 44 0 R&amp;gt;&amp;gt;&amp;gt;&amp;gt;/Rotate 0/Type/Page&amp;gt;&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;44 0 obj&lt;/p&gt;&lt;p&gt;&amp;lt;&amp;lt;/BitsPerComponent 8/ColorSpace/DeviceRGB/Filter/DCTDecode/Height 154/Length 8792/Name/X/SMask 45 0 R/Subtype/Image/Type/XObject/Width 154&amp;gt;&amp;gt;stream&lt;/p&gt;&lt;p&gt;&lt;code class="jive-code jive-xml"&gt;&lt;p&gt;............&lt;/p&gt;&lt;p&gt;endstream&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;45 0 obj&lt;br/&gt;&amp;lt;&amp;lt;/BitsPerComponent 8/ColorSpace/DeviceGray/Filter/FlateDecode/Height 154/Length 6157/Name/X/Subtype/Image/Type/XObject/Width 154&amp;gt;&amp;gt;stream&lt;/p&gt;&lt;p&gt;....&lt;/p&gt;&lt;p&gt;endstream&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;I know that the stream data of 45 0 obj is alpha data&amp;nbsp; after compressed,but i don't know what's format the stream data of 44 0 obj&amp;nbsp; and how to get it from a png.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a7d4ce13-0438-4c9d-a0eb-43fa23a65fa3] --&gt;</description>
      <pubDate>Mon, 21 May 2012 11:13:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4425293?tstart=0#4425293</guid>
      <dc:date>2012-05-21T11:13:37Z</dc:date>
      <clearspace:dateToText>2 years 6 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: how to insert png to pdf?</title>
      <link>https://forums.adobe.com/message/4425177?tstart=0#4425177</link>
      <description>&lt;!-- [DocumentBodyStart:964ca3e4-5adc-4a2e-941e-d20d87dced93] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You need to decode the PNG format to get just the raw pixels.&amp;nbsp; Then separate the alpha pixels from the rest and write both objects.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also, DCTDecode is fro JPEG.&amp;nbsp; You'd probably want FlateDecode for PNG.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:964ca3e4-5adc-4a2e-941e-d20d87dced93] --&gt;</description>
      <pubDate>Mon, 21 May 2012 10:46:13 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4425177?tstart=0#4425177</guid>
      <dc:date>2012-05-21T10:46:13Z</dc:date>
      <clearspace:dateToText>2 years 6 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>how to insert png to pdf?</title>
      <link>https://forums.adobe.com/message/4425017?tstart=0#4425017</link>
      <description>&lt;!-- [DocumentBodyStart:3d5a0dcb-4879-41cf-9509-88f2bd993ac6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have readed the pdf reference 1.6,i want to insert png to pdf.&lt;/p&gt;&lt;p&gt;i konw that the png consits of alpha and RGB,&lt;/p&gt;&lt;!--[CodeBlockStart:bc2e2a9d-0ddd-4ba7-b0d9-b3635c0ccb5c][excluded]--&gt;&lt;pre class="xml" name="code"&gt;31 0 obj
&amp;lt;&amp;lt;/BitsPerComponent 8/ColorSpace/DeviceRGB/Filter/DCTDecode/Height 154/Length 8781/Name/X/SMask 30 0 R/Subtype/Image/Type/XObject/Width 154&amp;gt;&amp;gt;stream
&lt;/pre&gt;&lt;!--[CodeBlockEnd:bc2e2a9d-0ddd-4ba7-b0d9-b3635c0ccb5c]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p&gt;I know that 30 0 obj is alpha data after encompressed,buf i don't&amp;nbsp; konw the stream object in 31 0 obj, how to get the stream data from png?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3d5a0dcb-4879-41cf-9509-88f2bd993ac6] --&gt;</description>
      <pubDate>Mon, 21 May 2012 07:58:22 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4425017?tstart=0#4425017</guid>
      <dc:date>2012-05-21T07:58:22Z</dc:date>
      <clearspace:dateToText>2 years 6 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

