Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #261

Re: PDF: multiple slides per page to one slide per page?

From David Mathog <dmathog@gmail.com>
Newsgroups comp.lang.postscript
Subject Re: PDF: multiple slides per page to one slide per page?
Date 2011-06-24 09:33 -0700
Organization http://groups.google.com
Message-ID <5dfd7c91-cd2c-4cda-94b1-9f64fc1fab02@h12g2000pro.googlegroups.com> (permalink)
References (2 earlier) <49e8cf9b-1625-462f-b3dd-eddfec9dfd66@y7g2000prk.googlegroups.com> <1d724167-c700-4c97-809e-db7ffa3d23d3@r33g2000prh.googlegroups.com> <MPG.286cf3d91ef102fb98984b@usenet.plus.net> <5af1bc0d-8048-416a-903a-2b737c435760@y13g2000prb.googlegroups.com> <MPG.286e459efbd5ab9f98984d@usenet.plus.net>

Show all headers | View raw


On Jun 23, 11:57 pm, ken <k...@spamcop.net> wrote:
> In article <5af1bc0d-8048-416a-903a-2b737c435760
> @y13g2000prb.googlegroups.com>, dmat...@gmail.com says...
>
>
>
> > > You could try using Ghostscript to render the originsal PDF file to
> CMYK
> > > and RGB, and look at the output to see if the result looks the same.
>
> > Which command, exactly, would be appropriate?
>
> gs -r720 -sDEVICE=tiff32nc -sOutputFile=out.tif input.pdf
>
> If this isn't a single page document then add -dFirstPage= and -
> dLastPage=

OK, here goes:

 gs -r720 -sDEVICE=tiff32nc -sOutputFile=out.tif  -dFirstPage=4 -
dLastPage=4 test.pdf

Which produced a 190MB tiff.  Cut and pasted the "platonic" part (in
Windows XP Paint) and made a side by side comparison with the original
and the flate versions, here:

  http://saf.bio.caltech.edu/pub/pickup/platonic_3_versions.PNG

Interesting.  The pixel pattern is the same in the from_tif and
original versions, but the colors are very slightly different.  (I
didn't say this before, the original is a screen shot taken from PDF-
Xchange Viewer, version
2.5, build 190.0.  In all cases the screen shots were made on Windows
XP and then saved by pasting into paint, trimming, and saving as PNG.)
The flate image is quite different, with (newly) colored pixels all
around the originals.  Using the tool in gimp to show the value of
each pixel

http://groups.google.com/group/comp.graphics.apps.gimp/browse_thread/thread/dad232c8c2937a8a

I can see that the "white" in the from_Tif version is 253,253,253 but
in the original it is 255,255,255.  Similarly all the other colors are
slightly changed.  Also I checked and the flat white areas in the
original are also flat in the from_tif, and are not flat in the Flate
version.


> Can you post a sample PDF somewhere public ?

  http://saf.bio.caltech.edu/pub/pickup/platonic.pdf

The "Platonic" image is the "slide" from the lower right corner of
page 4.

Thanks,

David Mathog

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: PDF: multiple slides per page to one slide per page? pipitas <pipitas@googlemail.com> - 2011-04-25 04:35 -0700
  Re: PDF: multiple slides per page to one slide per page? pipitas <pipitas@googlemail.com> - 2011-04-25 05:55 -0700
  Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-21 15:03 -0700
    Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-22 15:35 -0700
      Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-06-23 07:56 +0100
        Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-23 13:56 -0700
          Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-06-24 07:57 +0100
            Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-24 09:33 -0700
              Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-06-24 20:05 +0100
              Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-06-25 11:51 +0100
                Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-27 10:21 -0700
                Re: PDF: multiple slides per page to one slide per page? ken <ken@spamcop.net> - 2011-06-28 08:08 +0100
                Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-27 10:33 -0700
                Re: PDF: multiple slides per page to one slide per page? David Mathog <dmathog@gmail.com> - 2011-06-28 09:22 -0700
                Re: PDF: multiple slides per page to one slide per page? mathog <dmathog@gmail.com> - 2011-06-30 10:34 -0700
                Re: PDF: multiple slides per page to one slide per page? tlvp <tPlOvUpBErLeLsEs@hotmail.com> - 2011-06-30 23:25 -0400

csiph-web