Convert PDF to TIFF at a certain bits-per-sample amount

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Convert PDF to TIFF at a certain bits-per-sample amount

Rodolfo Medina
Hi all.

How can I convert PDF to TIFF at a certain bit-per-sample quantity?  Say, 8...?
Any particular option to

 $ convert file.pdf file.tif

?  Or any other way...?

Thanks for any help,

Rodolfo

Reply | Threaded
Open this post in threaded view
|

Re: Convert PDF to TIFF at a certain bits-per-sample amount

didier.gaumet
Le 23/04/2019 à 22:02, Rodolfo Medina a écrit :

> Hi all.
>
> How can I convert PDF to TIFF at a certain bit-per-sample quantity?  Say, 8...?
> Any particular option to
>
>  $ convert file.pdf file.tif
>
> ?  Or any other way...?
>
> Thanks for any help,
>
> Rodolfo
>
>

with convert, maybe the -depth option?

it seems possible to do what you want with gs:
 https://www.linuxquestions.org/questions/linux-software-2/convert-pdf-to-tif-709895/
 https://ghostscript.com/doc/9.27/Devices.htm#TIFF

Reply | Threaded
Open this post in threaded view
|

Re: Convert PDF to TIFF at a certain bits-per-sample amount

mick crane
In reply to this post by Rodolfo Medina
On 2019-04-23 21:02, Rodolfo Medina wrote:

> Hi all.
>
> How can I convert PDF to TIFF at a certain bit-per-sample quantity?  
> Say, 8...?
> Any particular option to
>
>  $ convert file.pdf file.tif
>
> ?  Or any other way...?
>
> Thanks for any help,
>
> Rodolfo


there's got to be a pdf2tiff
there's everything else with a 2 in it's name

--
Key ID    4BFEBB31

Reply | Threaded
Open this post in threaded view
|

Re: Convert PDF to TIFF at a certain bits-per-sample amount

Jonas Smedegaard-2
Quoting mick crane (2019-04-23 23:36:19)

> On 2019-04-23 21:02, Rodolfo Medina wrote:
> > Hi all.
> >
> > How can I convert PDF to TIFF at a certain bit-per-sample quantity?  
> > Say, 8...?
> > Any particular option to
> >
> >  $ convert file.pdf file.tif
> >
> > ?  Or any other way...?
> >
> > Thanks for any help,
> >
> > Rodolfo
>
>
> there's got to be a pdf2tiff
> there's everything else with a 2 in it's name
pstopnm -stdout foo.pdf | pnmtotiff > foo.tiff

 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Convert PDF to TIFF at a certain bits-per-sample amount

Rodolfo Medina
Jonas Smedegaard <[hidden email]> writes:

> Quoting mick crane (2019-04-23 23:36:19)
>> On 2019-04-23 21:02, Rodolfo Medina wrote:
>> > Hi all.
>> >
>> > How can I convert PDF to TIFF at a certain bit-per-sample quantity?  
>> > Say, 8...?
>> > Any particular option to
>> >
>> >  $ convert file.pdf file.tif
>> >
>> > ?  Or any other way...?
>> >
>> > Thanks for any help,
>> >
>> > Rodolfo
>>
>>
>> there's got to be a pdf2tiff
>> there's everything else with a 2 in it's name
>
> pstopnm -stdout foo.pdf | pnmtotiff > foo.tiff
>
>  - Jonas


Fantastic...  This seems to work fine...  Thanks to all...  Only, in the tiff
final output the body of the text is like zoomed, so that part of it is lost...
How to keep the original size?  Thanks,

Rodolfo

Reply | Threaded
Open this post in threaded view
|

Re: Convert PDF to TIFF at a certain bits-per-sample amount

Eric S Fraga
In reply to this post by didier.gaumet
On Tuesday, 23 Apr 2019 at 22:58, didier gaumet wrote:
> Le 23/04/2019 à 22:02, Rodolfo Medina a écrit :
>>  $ convert file.pdf file.tif
> with convert, maybe the -depth option?

maybe -density instead.

--
Eric S Fraga via Emacs 27.0.50 & org 9.2.2 on Debian 9.8

Reply | Threaded
Open this post in threaded view
|

Re: Convert PDF to TIFF at a certain bits-per-sample amount

Jonas Smedegaard-2
In reply to this post by Rodolfo Medina
Quoting Rodolfo Medina (2019-04-24 00:26:15)

> Jonas Smedegaard <[hidden email]> writes:
>
> > Quoting mick crane (2019-04-23 23:36:19)
> >> On 2019-04-23 21:02, Rodolfo Medina wrote:
> >> > How can I convert PDF to TIFF at a certain bit-per-sample quantity?  
> >> > Say, 8...?
> >> > Any particular option to
> >> >
> >> >  $ convert file.pdf file.tif
> >> >
> >> > ?  Or any other way...?

> >> there's got to be a pdf2tiff
> >> there's everything else with a 2 in it's name
> >
> > pstopnm -stdout foo.pdf | pnmtotiff > foo.tiff

> Fantastic...  This seems to work fine...  Thanks to all...  Only, in
> the tiff final output the body of the text is like zoomed, so that
> part of it is lost...
> How to keep the original size?  Thanks,

Try explore some of the tools mentioned at
https://sites.google.com/site/tfsidc/document-conversion

To find out which package contains a certain command-line tool, you can
install the package apt-file and search like this:

  apt-file search a2ping

That initially listed tool, a2ping, seems from its documentation to be
_exactly_ the kind of thing you need - sensibly calibrated layout, not
only raw conversion.  But I tried quickly and it turns out that to
convert from PDF to TIFF it needs another tool, sam2p, which is not in
Debian.


 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc (849 bytes) Download Attachment