A bit off-topic, but I can answer this...

On Feb 22, 2007, at 2:36 AM, Oliver Rauch wrote:
> May be someon has any experience in embedding ICC profiles to PDF  
> files,
> here is how I tried it but with no success (no error messages but  
> also no
> corrected colors):
>
> 4 0 obj
>    [/ICCBased 5 0 R]
> endobj
>
        No reason to waste an object on this - put it inline.


> 5 0 obj
>    << /N 3
>       /Alternate /DeviceRGB
>       /Filter [/A85 /FlateDecode]
>
        First, A85 isn't a valid filter name.   Second, there is no reason  
to bloat the size of the PDF by ASCII encoding the image data.  Just  
write out the binary flated data.


>       /Length             >>

        Where is the length value??


> %d 0 obj
>
        I assume this gets a real object number and not %d


>     << /Type /Page
>        /Parent 3 0 R
>        /ColorSpace 4 0 R
>
        Page objects don't have a ColorSpace - they are either Resources  
(for vector and text) or in the Image XObject.


>        /MediaBox [%d %d %d %d]
>        /Contents %d 0 R
>        /Resources << /ProcSet %d 0 R >>

        Again, I'll assume these %d's are replaced.


Leonard


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to