Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create kanji TIFFs?





The problem is that there is no device called 'tiff'.  Doing 'ghostscript
--help' reveils there are several devices - some of which are tiffcrle 
tiffg3 tiffg32d tiffg4 tifflzw tiffpack tiff12nc tiff24nc.

Pick your poison...

--
http://www.mecworks.com
Marc C.

On Thu, 8 Mar 2001 ulrike@example.com wrote:

> On second look the gs-Strategy did not seem to be so complicated as
> well:
> 
> > gs -dNOPAUSE -dQUIET -sDEVICE=tiff -sOutputFile=kanji0.tif kanji0.ps -c
> > quit
> > 
> > where kanji0.ps is
> > 
> > %! PS-Adobe-2.0
> > 144 /Ryumin-Light-H findfont exch scalefont setfont
> > 100 100 moveto
> > (C88E) show showpage
> > 
> 
> But unfortunately I got the following error:
> 
> 	 Unknown device: tiff
> 
> A look in the man-pages did not enlighten me, since there was talk about
> printers ... 
> 
> So I went back to the perl-version and tried:
> 
> > (a) if you are only doing a few images, load up the gif in xv and save
> > it back on top of itself. xv will fix it.
> 
> Success!! 
> 
> Then I tried:
> 
> > (b) longer term, pass the gif through another utility like gif2png,
> > then do the pngtopnm/pnmtotiff chain. You may have to grab gif2png from
> > somewhere, and also install libpng, although I think it's fairly
> > standard these days. You need to see a parameter to tell gif2png to
> > ignore errors.
> 
> I tried to "use option -r to recover 1 complete image", but still got:
> 
> 	 gif2png: EOF / read error on image data
> 
> Any ideas what else I could try for automation? Thanks a lot as always,
> 
> Uli
> 
> 
> 
> 
> 
> -----------------------------------------------------------------------
> Next Technical Meeting:  Prof. Jim Breen  Sat, March 10 13:30- 
> Next Nomikai Meeting:    Fri, April 13 19:30- Tengu Tokyo Eki Mae
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> 

--
Marc C.
http://www.mecworks.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links