Control: found -1 1:4.2.5-1.3

On Fri, Sep 15, 2000 at 09:15:51PM -0700, Jeff Breidenbach wrote:
> Package: tgif
> Version: 1:4.1.34-2
> Severity: normal
> 
> I was trying to incorporate a bitmap into a tgif drawing at 600 dpi,
> without success. I think I uncovered a bug in tgif which can be
> reproduced as follows.
A better way to do this would be to import the PNG directly, probably.

> ###########################################
> # 1) Download a 600x 600 pixel png image
> ###########################################
> wget http://www.jab.org/test.png
Long dead of course, but those are easy to come by

> ################################################
> # 2) Convert the bitmap to eps with imagemagick
> #################################################
> convert -density 600x600dpi test.png test.eps2
> cp test.eps2 test.eps
imagemagick now validates the integers, so drop the "dpi" suffix

> ####################################
> # 3) Import the eps file into tgif
> ####################################
> Using the GUI menu,
>          File-->Import-->Import EPS file
> 
> Tgif should place the image as 2.54cm x 2.54cm,
> but instead places the image as 1.5cm x 1.5cm,
> which (disastrously) messes up the images 
> resolution.
I can't repro this directly, but I see something very similar:
  a 600 DPI image is imported at around 5.2mm
  (no clue about the precise value,
   tgif appears allergic to displaying any numbers)
  a  72 DPI image is imported at around 47mm
  a  60 DPI image is imported at around 56.5mm

Best,

Attachment: signature.asc
Description: PGP signature

Reply via email to