Converting ps to tif with thicker lines
Posted: 2012-07-04T23:45:57-07:00
Hello,
we are trying to convert a postscript file (created via Smallworld psplot) into a tif that can be displayed on a map. The tif file should be usable for different scales (approx 1:5000 - 1:50000), so we tried to create pyramid tiffs.
However, when zooming out, the lines are very thin. If we zoom in it is very coarse. Below are a set of commands that we tried. The following link contains the tifs created and also the ps file that we tried to convert.
Does someone have an idea how we can get thicker lines and also images that show less "pixelation" on larger scales?
The ps file used is here:
http://borntobike.net/images/tifExample.ps
Various commands we tried (the output tifs are here: http://borntobike.net/images/im-tifs.zip):
convert -type Palette -page 2834x2834 -gravity center -extent 2832x2832+1+1 -background "rgb(255,255,255)" -compress LZW -define tiff:tile-geometry=64x64 tifExample.ps tifExampleExtent.tif
convert -type Palette -dither Floyd-Steinberg -posterize 3 -page 2834x2834 -crop 2832x2832+1+1 -background "rgb(255,255,255)" -compress LZW tifExample.ps tifExampleDither.tif
convert -type Palette -page 2834x2834 -crop 2832x2832+1+1 -background "rgb(255,255,255)" -compress LZW -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNormal.tif
convert -crop 2832x2832+1+1 -compress LZW -resize 25% -type Palette -page 2834x2834 -resample 300x300 -background "rgb(255,255,255)" -define tiff:tile-geometry=64x64 tifExample.ps tif300x300.tif
convert -crop 2832x2832+1+1 -compress LZW -type Palette -page 2834x2834 -background "rgb(255,255,255)" -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNormalCropFirst.tif
convert -crop 2832x2832+1+1 -compress LZW -type Palette -page 2834x2834 -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNoBackgr.tif
convert -compress LZW -type Palette -page 2834x2834 -crop 2832x2832+1+1 -background "rgb(255,255,255)" -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNormalCmprFirst.tif
Thanks a lot,
bjorn
we are trying to convert a postscript file (created via Smallworld psplot) into a tif that can be displayed on a map. The tif file should be usable for different scales (approx 1:5000 - 1:50000), so we tried to create pyramid tiffs.
However, when zooming out, the lines are very thin. If we zoom in it is very coarse. Below are a set of commands that we tried. The following link contains the tifs created and also the ps file that we tried to convert.
Does someone have an idea how we can get thicker lines and also images that show less "pixelation" on larger scales?
The ps file used is here:
http://borntobike.net/images/tifExample.ps
Various commands we tried (the output tifs are here: http://borntobike.net/images/im-tifs.zip):
convert -type Palette -page 2834x2834 -gravity center -extent 2832x2832+1+1 -background "rgb(255,255,255)" -compress LZW -define tiff:tile-geometry=64x64 tifExample.ps tifExampleExtent.tif
convert -type Palette -dither Floyd-Steinberg -posterize 3 -page 2834x2834 -crop 2832x2832+1+1 -background "rgb(255,255,255)" -compress LZW tifExample.ps tifExampleDither.tif
convert -type Palette -page 2834x2834 -crop 2832x2832+1+1 -background "rgb(255,255,255)" -compress LZW -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNormal.tif
convert -crop 2832x2832+1+1 -compress LZW -resize 25% -type Palette -page 2834x2834 -resample 300x300 -background "rgb(255,255,255)" -define tiff:tile-geometry=64x64 tifExample.ps tif300x300.tif
convert -crop 2832x2832+1+1 -compress LZW -type Palette -page 2834x2834 -background "rgb(255,255,255)" -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNormalCropFirst.tif
convert -crop 2832x2832+1+1 -compress LZW -type Palette -page 2834x2834 -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNoBackgr.tif
convert -compress LZW -type Palette -page 2834x2834 -crop 2832x2832+1+1 -background "rgb(255,255,255)" -define tiff:tile-geometry=64x64 tifExample.ps tifExampleNormalCmprFirst.tif
Thanks a lot,
bjorn