Re: [NTG-context] Wrong image size evaluation

2006-05-18 Thread gnwiii
On 5/18/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > What about a new pdftex primitive: \pdfimagepixel, which would force > > using a unit. Then the above would be done by \pdfimagepixel=1bp > > You can (as always) propose it on the pdftex list, but i personally > do not see the point. Bear i

Re: [NTG-context] Wrong image size evaluation

2006-05-18 Thread Taco Hoekwater
Sanjoy Mahajan wrote: >>>{\pdfimageresolution=72 \externalfigure[ch01dia1.png]} > >>when you set pdfimageresolution there isn't any unit either, the >>unit is implicit It is defined to be an integer number of pixels per inch, in the pdftex manual. > What about a new pdftex primitive: \pdfimagepi

Re: [NTG-context] Wrong image size evaluation

2006-05-18 Thread Sanjoy Mahajan
>> {\pdfimageresolution=72 \externalfigure[ch01dia1.png]} > when you set pdfimageresolution there isn't any unit either, the > unit is implicit What about a new pdftex primitive: \pdfimagepixel, which would force using a unit. Then the above would be done by \pdfimagepixel=1bp This subject is d

Re: [NTG-context] Wrong image size evaluation

2006-05-18 Thread nico
On Thu, 18 May 2006 17:28:42 +0200, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > nico wrote: >> Hello, >> >> I have some troubles with a PNG image, that is not correctly rendered by >> context (too small). The difference I've found with another correctly >> displayed image is that the file does n

Re: [NTG-context] Wrong image size evaluation

2006-05-18 Thread Taco Hoekwater
nico wrote: > Hello, > > I have some troubles with a PNG image, that is not correctly rendered by > context (too small). The difference I've found with another correctly > displayed image is that the file does not contain any resolution unit (but > a pixels/inch default seems reasonable).