Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Logic is a pretty flower that smells bad.


computers / comp.text.tex / bmpp renamed to bitmap2pp

SubjectAuthor
* Deficiency in graphicx?Peter Flynn
+* Re: Deficiency in graphicx?Jean-Côme Charpentier
|`* Re: Deficiency in graphicx?Peter Flynn
| `* Re: Deficiency in graphicx?Andrea Croci
|  `- Re: Deficiency in graphicx?Peter Flynn
`* Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?Dirk Krause
 +* Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?Peter Flynn
 |+* Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?Axel Berger
 ||`- Re: Deficiency in graphicx?Peter Flynn
 |`- Re: Where to find the 19ft limit? ThanksDirk Krause
 `* Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?Peter Flynn
  `* Re: Deficiency in graphicx? Thanks for test image, programs bmpp andDirk Krause
   `- bmpp renamed to bitmap2ppDirk Krause

1
Deficiency in graphicx?

<im5uovFg6nU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3913&group=comp.text.tex#3913

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pet...@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Deficiency in graphicx?
Date: Sun, 25 Jul 2021 21:10:07 +0100
Lines: 37
Message-ID: <im5uovFg6nU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 8pj3k2wRWrhY88FcS3bQ4gmVC166wExEXVzZqdowjtkyfMDyah
Cancel-Lock: sha1:BKXzG+Yy6XHt3y7s6ItukB9UGlo=
X-Mozilla-News-Host: news://news.individual.de:119
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-US
 by: Peter Flynn - Sun, 25 Jul 2021 20:10 UTC

I have been looking at a user's problems with \includegraphics and it
turned out that the image had a Print Size setting of 12827.0 × 12700.0
millimeters, clearly well beyond TeX's 19ft. Easily fixed in GIMP or
similar, but the problem was that the error is not reported in a way
that would lead the regular user to see the problem:

\documentclass{article}
\usepackage{fontspec,graphicx}
\begin{document}
\includegraphics{filename.jpg}
\end{document}

gives

> ! Dimension too large.
> <argument> \wd \@tempboxa
>
> l.4 \includegraphics{filename.jpg}
>
> Overfull \hbox (16053.9603pt too wide) in paragraph at lines 4--5

It is of course perfectly correct, but when the user checks the
conventional dimensions, they are not in any remote way excessive.

> $ identify filename.jpg
> filename.jpg JPEG 370x500 370x500+0+0 8-bit sRGB 90937B 0.000u 0:00.000

Should graphicx report the fact that it is using Print Size at some
stage, rather than the pixel dimensions that the user is expecting. I'm
not willing to disrupt the work of the graphics bundle team with a
deficiency report unless people think this really is a deficiency.

(And additionally, ImageMagick's 'identify' utility misreports the Print
Size values, which doesn't help :-) GIMP gets them right.

Peter

Re: Deficiency in graphicx?

<sdkkoc$hdd$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3914&group=comp.text.tex#3914

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jean-com...@wanadoo.fr (Jean-Côme Charpentier)
<jean-come.charpentier@wanadoo.fr>
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx?
Date: Sun, 25 Jul 2021 23:18:30 +0200
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <sdkkoc$hdd$1@dont-email.me>
References: <im5uovFg6nU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Jul 2021 21:23:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="e1f5c9ef559e466b76e76d22a1d77dfe";
logging-data="17837"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19khAihwQjxTyWYDriX3It6zfb3fh3UhOg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:8HsuksFH1HX/3ADCe5NkJi9bXjc=
In-Reply-To: <im5uovFg6nU1@mid.individual.net>
Content-Language: fr
 by: Jean-Côme Charpenti - Sun, 25 Jul 2021 21:18 UTC

Le 25/07/2021 à 22:10, Peter Flynn a écrit :
> I have been looking at a user's problems with \includegraphics and it
> turned out that the image had a Print Size setting of 12827.0 × 12700.0
> millimeters, clearly well beyond TeX's 19ft.

For me, the defiency comes from the tool which product such an image
and/or from the user who asks for such an image!

> Easily fixed in GIMP or
> similar, but the problem was that the error is not reported in a way
> that would lead the regular user to see the problem:
>
> \documentclass{article}
> \usepackage{fontspec,graphicx}
> \begin{document}
> \includegraphics{filename.jpg}
> \end{document}
>
> gives
>
>> ! Dimension too large.
>> <argument> \wd \@tempboxa l.4 \includegraphics{filename.jpg}
>> Overfull \hbox (16053.9603pt too wide) in paragraph at lines 4--5
>
> It is of course perfectly correct, but when the user checks the
> conventional dimensions, they are not in any remote way excessive.

16053.9603pt is far beyond a conventional dimensions. Its roudly
equal to 5 meters!

>> $ identify filename.jpg
>> filename.jpg JPEG 370x500 370x500+0+0 8-bit sRGB 90937B 0.000u 0:00.000
>
> Should graphicx report the fact that it is using Print Size at some
> stage, rather than the pixel dimensions that the user is expecting. I'm
> not willing to disrupt the work of the graphics bundle team with a
> deficiency report unless people think this really is a deficiency.
>
> (And additionally, ImageMagick's 'identify' utility misreports the Print
> Size values, which doesn't help :-) GIMP gets them right.

Over the course of my 25 years of (La)TeX, I never encounter a dimen
problem with this outrageous size :-) imho it's not the rôle of graphicx
to inform the user that its image is too large for TeX.

Jean-Côme Charpentier

Re: Deficiency in graphicx?

<im7qnrFc4v3U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3918&group=comp.text.tex#3918

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pet...@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx?
Date: Mon, 26 Jul 2021 14:13:30 +0100
Lines: 30
Message-ID: <im7qnrFc4v3U1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net> <sdkkoc$hdd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net r6zqjx0XNtrrsS2/+OtfCwxJMG0hfkLNlz5uM3IA5G2XnMbszz
Cancel-Lock: sha1:B5aTblr+GJdEVGRysCvSfoVeZhU=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <sdkkoc$hdd$1@dont-email.me>
Content-Language: en-US
 by: Peter Flynn - Mon, 26 Jul 2021 13:13 UTC

On 25/07/2021 22:18, Jean-Côme Charpentier wrote:
> Le 25/07/2021 à 22:10, Peter Flynn a écrit :
>> I have been looking at a user's problems with \includegraphics and it
>> turned out that the image had a Print Size setting of 12827.0 ×
>> 12700.0 millimeters, clearly well beyond TeX's 19ft.
>
>   For me, the defiency comes from the tool which product such an image
> and/or from the user who asks for such an image!

The user does not know the origin of the image file. It's possible the
setting was made by someone for a different purpose, rather than being
set arbitrarily by some software.

>   Over the course of my 25 years of (La)TeX, I never encounter a dimen
> problem with this outrageous size :-)

Me neither, although I have used LaTeX for posters where the image size
was in excess of ~10ft (3m).

> imho it's not the rôle of graphicx
> to inform the user that its image is too large for TeX.

I disagree. And in this case, the image is NOT too large for TeX (370px
× 500px), it's the bogus Print Size which LaTeX clearly used, and should
have said so. I think graphicx should report on occasions when the size
is too big; but MUCH more importantly, it should obey the optional
parameters, eg width=x,height=y,keepaspectratio and create a condition
which causes TeX to throw an avoidable error.

Peter

Re: Deficiency in graphicx?

<sdmdca$1j9d$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3919&group=comp.text.tex#3919

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!aioe.org!29K7LWiPJCVUPzar55BlWw.user.46.165.242.91.POSTED!not-for-mail
From: andrea.c...@gmx.de (Andrea Croci)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx?
Date: Mon, 26 Jul 2021 15:29:46 +0200
Organization: Aioe.org NNTP Server
Message-ID: <sdmdca$1j9d$1@gioia.aioe.org>
References: <im5uovFg6nU1@mid.individual.net> <sdkkoc$hdd$1@dont-email.me>
<im7qnrFc4v3U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="52525"; posting-host="29K7LWiPJCVUPzar55BlWw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: de-DE
 by: Andrea Croci - Mon, 26 Jul 2021 13:29 UTC

On 26.07.21 15:13, Peter Flynn wrote:
> On 25/07/2021 22:18, Jean-Côme Charpentier wrote:
>> Le 25/07/2021 à 22:10, Peter Flynn a écrit :
>>> I have been looking at a user's problems with \includegraphics and it
>>> turned out that the image had a Print Size setting of 12827.0 ×
>>> 12700.0 millimeters, clearly well beyond TeX's 19ft.
>>
>>    For me, the defiency comes from the tool which product such an
>> image and/or from the user who asks for such an image!
>
> The user does not know the origin of the image file. It's possible the
> setting was made by someone for a different purpose, rather than being
> set arbitrarily by some software.
>
>>    Over the course of my 25 years of (La)TeX, I never encounter a
>> dimen problem with this outrageous size :-)
>
> Me neither, although I have used LaTeX for posters where the image size
> was in excess of ~10ft (3m).
>
>> imho it's not the rôle of graphicx to inform the user that its image
>> is too large for TeX.
>
> I disagree. And in this case, the image is NOT too large for TeX (370px
> × 500px), it's the bogus Print Size which LaTeX clearly used, and should
> have said so. I think graphicx should report on occasions when the size
> is too big; but MUCH more importantly, it should obey the optional
> parameters, eg width=x,height=y,keepaspectratio and create a condition
> which causes TeX to throw an avoidable error.

I agree with your disagreement ;-)
As a user I would like useful error messages that help me understand
what the problem is. so that I can fix it. If graphicx where to tell me:
"Your image is waaaay too big", then I would know what to fix.

Sometimes (La)TeX errors are indeed very cryptic.

Andreas

Re: Deficiency in graphicx?

<im80pbF13t6U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3921&group=comp.text.tex#3921

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pet...@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx?
Date: Mon, 26 Jul 2021 15:56:43 +0100
Lines: 10
Message-ID: <im80pbF13t6U1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net> <sdkkoc$hdd$1@dont-email.me>
<im7qnrFc4v3U1@mid.individual.net> <sdmdca$1j9d$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net H/ug3+MHrsmXuPhtHXO/gA9p7bvv2aO4xM9K5iKgoJsi1OtV9K
Cancel-Lock: sha1:zyNNM7TzLDah3/R9vzMbaRhwl0Q=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <sdmdca$1j9d$1@gioia.aioe.org>
Content-Language: en-US
 by: Peter Flynn - Mon, 26 Jul 2021 14:56 UTC

On 26/07/2021 14:29, Andrea Croci wrote:
[...]> As a user I would like useful error messages that help me understand
> what the problem is. so that I can fix it. If graphicx where to
> tell me: "Your image is waaaay too big", then I would know what to
> fix.

Best of all would be "Image size 320px × 450px is being used because
Print Size of 10.7m × 22.4m is too big for graphicx"

Peter

Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?

<imadgiFg97bU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3925&group=comp.text.tex#3925

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: kra...@invalid.invalid (Dirk Krause)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?
Date: Tue, 27 Jul 2021 14:47:23 +0200
Lines: 18
Message-ID: <imadgiFg97bU1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net lDP+fpP8vY5C8c01phrG8gnsCJPlssdYWYMdFo/vT5yDJ1ImS6
Cancel-Lock: sha1:01I7hEqcy6w86f4hmeb6GZy/SX4=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <im5uovFg6nU1@mid.individual.net>
Content-Language: de-DE
 by: Dirk Krause - Tue, 27 Jul 2021 12:47 UTC

Hello,

is there a test image file available somewhere?

I'm not involved in graphicx development, but my bmpp program converts
PNG/JPEG/NetPBM/TIFF to EPS and PDF, intended for use with (pdf)LaTeX.
I did not know about the 19ft limit for graphics in LaTeX before, so
it's probably a good idea to make bmpp issue a warning if output is too
large for use with LaTeX. And a hint to override resolution manually.

Where can I find a documentation for the 19ft limit?

Best regards,

Dirk

--
Dirk Krause

Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?

<imb2j4FkhbfU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3927&group=comp.text.tex#3927

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pet...@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?
Date: Tue, 27 Jul 2021 19:45:54 +0100
Lines: 36
Message-ID: <imb2j4FkhbfU1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net QKWdW4K2qpQ9nUzOnTdguQdXIzAjzsS/H62J/91UnjscDtcttZ
Cancel-Lock: sha1:9YabgA/Ugs9HvPGio2TC/cxBHAY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
In-Reply-To: <imadgiFg97bU1@mid.individual.net>
Content-Language: en-US
 by: Peter Flynn - Tue, 27 Jul 2021 18:45 UTC

On 27/07/2021 13:47, Dirk Krause wrote:
> Hello,
>
> is there a test image file available somewhere?

I will ask the original user.

> I'm not involved in graphicx development, but my bmpp program converts
> PNG/JPEG/NetPBM/TIFF to EPS and PDF, intended for use with (pdf)LaTeX.
> I did not know about the 19ft limit for graphics in LaTeX before, so
> it's probably a good idea to make bmpp issue a warning if output is too
> large for use with LaTeX. And a hint to override resolution manually.

The resolution is not the problem, nor the pixel size of the image. It's
the setting labelled "Print Size" in the Image Properties panel in GIMP
was displaying 9398.0 × 12700.0 millimeters when the actual pixel size
of the image was only 370×500px.

LaTeX (well, TeX) has its own warning for an overlong line or overwide
page, so no changes are needed. My suggestion was merely to warn the
user if graphicx used the Print Size values and caused an arithmetic
problem.

> Where can I find a documentation for the 19ft limit?

Any decent book or web site dealing with TeX's dimensions.

The canonical reference is Knuth's _The TeXbook_, Chapter 10
(Dimensions), p.58, last paragraph:

"TeX will not deal with dimensions whose absolute value is 2^{30} sp or
more. In other words, the maximum legal dimension is slightly less than
16384pt. This is a distance of about 18.892 feet (5.7583 meters), so it
won't cramp your style."

Peter

Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?

<61007E44.46B70F19@Berger-Odenthal.De>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3930&group=comp.text.tex#3930

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Spa...@Berger-Odenthal.De (Axel Berger)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?
Date: Tue, 27 Jul 2021 23:44:36 +0200
Lines: 26
Message-ID: <61007E44.46B70F19@Berger-Odenthal.De>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net> <imb2j4FkhbfU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: individual.net +Zg2MJrZ5dC2/fYbfpLy3Afc9uqfRyKV6OQcFKA9Qh4cNVsxLt
Cancel-Lock: sha1:K65HepEL8BX1T5IPl0MvHxErYMM=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,de,nl,es,fr
 by: Axel Berger - Tue, 27 Jul 2021 21:44 UTC

Peter Flynn wrote:
> It's
> the setting labelled "Print Size" in the Image Properties panel in GIMP
> was displaying 9398.0 × 12700.0 millimeters when the actual pixel size
> of the image was only 370×500px.

As far as I understand that's not the setting but calculated from it.
What is actually coded are the "dots per inch". Your example works out
as exactly 1, which is a not unreasonable value for "don't know". That
property can only be defined for paper and is meaningless for e.g.
photographs. Most cameras use an aritrary value of something like 72
here.

But then I often encounter images with no entry whatever for that
variable. LaTeX works fine with those, probably falling back to an
internal default.

--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --

Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?

<imbfruFn50fU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3931&group=comp.text.tex#3931

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pet...@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx? Test image? Where to find the 19ft limit?
Date: Tue, 27 Jul 2021 23:32:30 +0100
Lines: 9
Message-ID: <imbfruFn50fU1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net j6pjW4QkDIDcTw4+yDllnwPuUTbd4/EB+tiOMcGCw9W7jMX9cY
Cancel-Lock: sha1:LpS+lGBXFBvUPVlDbJwAi+nL2NE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <imadgiFg97bU1@mid.individual.net>
Content-Language: en-US
 by: Peter Flynn - Tue, 27 Jul 2021 22:32 UTC

On 27/07/2021 13:47, Dirk Krause wrote:
> Hello,
>
> is there a test image file available somewhere?

He said I can send you the image, so if you could email me your address
off-group I'll send it on.

Peter

Re: Deficiency in graphicx?

<imbgdcFn8eeU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3932&group=comp.text.tex#3932

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pet...@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx?
Date: Tue, 27 Jul 2021 23:41:47 +0100
Lines: 32
Message-ID: <imbgdcFn8eeU1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net> <imb2j4FkhbfU1@mid.individual.net>
<61007E44.46B70F19@Berger-Odenthal.De>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net MSYXfCUC046eHd7ZKjaCEAFaS+k19it7xoRo20I7C6fPiFJN8u
Cancel-Lock: sha1:dM3NrLikm2kJZVrRN09uV0+xOxE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <61007E44.46B70F19@Berger-Odenthal.De>
Content-Language: en-US
 by: Peter Flynn - Tue, 27 Jul 2021 22:41 UTC

On 27/07/2021 22:44, Axel Berger wrote:
> Peter Flynn wrote:
>> It's
>> the setting labelled "Print Size" in the Image Properties panel in GIMP
>> was displaying 9398.0 x 12700.0 millimeters when the actual pixel size
>> of the image was only 370x500px.
>
> As far as I understand that's not the setting but calculated from it.
> What is actually coded are the "dots per inch".

So what you are saying is that its calculated it as 370" x 500", based
on a default value of 1dpi? That fits the data.

> Your example works out
> as exactly 1, which is a not unreasonable value for "don't know".

1dpi is possibly the silliest default value I have ever heard of :-)

> That
> property can only be defined for paper and is meaningless for e.g.
> photographs. Most cameras use an aritrary value of something like 72
> here.

This was a very old picture, scanned possibly a very long time ago, so
it is entirely possible that some ancient softare did this.

Thank you for the information. I need to correct my suggestion to
reflect a bogus dpi value rather than bogus Print Size values.
Unfortunately there is nothing in (eg) identify -verbose to suggest a
DPI of 1, so I'm not sure how it could be identified programmatically.

Peter

Re: Where to find the 19ft limit? Thanks

<imd9scF3vd9U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3937&group=comp.text.tex#3937

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: kra...@invalid.invalid (Dirk Krause)
Newsgroups: comp.text.tex
Subject: Re: Where to find the 19ft limit? Thanks
Date: Wed, 28 Jul 2021 17:03:52 +0200
Lines: 19
Message-ID: <imd9scF3vd9U1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net> <imb2j4FkhbfU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net b51gqw2o4ouikWrfsB3fjgHd8PGV0OREkb75N2wAbM7VRk9AiJ
Cancel-Lock: sha1:0rPVLYI8ax2YiOXo1FJU2IVCIKc=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
In-Reply-To: <imb2j4FkhbfU1@mid.individual.net>
Content-Language: de-DE
 by: Dirk Krause - Wed, 28 Jul 2021 15:03 UTC

> The canonical reference is Knuth's _The TeXbook_, Chapter 10
> (Dimensions), p.58, last paragraph:
>
> "TeX will not deal with dimensions whose absolute value is 2^{30} sp or
> more. In other words, the maximum legal dimension is slightly less than
> 16384pt. This is a distance of about 18.892 feet (5.7583 meters), so it
> won't cramp your style."
>
> Peter

Hello Peter,
thanks for pointing me to the book.
Best Regards,

Dirk

--
Dirk Krause

Re: Deficiency in graphicx? Thanks for test image, programs bmpp and wxbmpp modified

<ipsjf6F8i5rU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4109&group=comp.text.tex#4109

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: kra...@invalid.invalid (Dirk Krause)
Newsgroups: comp.text.tex
Subject: Re: Deficiency in graphicx? Thanks for test image, programs bmpp and
wxbmpp modified
Date: Wed, 8 Sep 2021 22:07:02 +0200
Lines: 26
Message-ID: <ipsjf6F8i5rU1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net> <imbfruFn50fU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 4LXZqAX+rv2fkTQR67tqUAZB+q/dtqkhxG/JMHmCB7S+C9k9ZY
Cancel-Lock: sha1:mxlk/cxjo8RPGrF836gMqdC20JU=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <imbfruFn50fU1@mid.individual.net>
Content-Language: de-DE
 by: Dirk Krause - Wed, 8 Sep 2021 20:07 UTC

Am 28.07.21 um 00:32 schrieb Peter Flynn:
> On 27/07/2021 13:47, Dirk Krause wrote:
>> Hello,
>>
>> is there a test image file available somewhere?
>
> He said I can send you the image, so if you could email me your address
> off-group I'll send it on.
>
> Peter

Hello,
thanks for the image.
I modified the bmpp and wxbmpp programs in my dktools package (see below).
For bitmaps resulting in (E)PS or PDF files too large for LaTeX
both programs automatically correct the resolution value to decrease
image size.
Best regards,

Dirk

--
Dirk Krause
http://sourceforge.net/p/dktools/wiki/Home/
http://sourceforge.net/p/gxhints/wiki/Home/
http://sourceforge.net/p/octpgfpl/wiki/Home/

bmpp renamed to bitmap2pp

<j7a76vF5h0nU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4749&group=comp.text.tex#4749

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: kra...@invalid.invalid (Dirk Krause)
Newsgroups: comp.text.tex
Subject: bmpp renamed to bitmap2pp
Date: Fri, 18 Feb 2022 19:35:11 +0100
Lines: 13
Message-ID: <j7a76vF5h0nU1@mid.individual.net>
References: <im5uovFg6nU1@mid.individual.net>
<imadgiFg97bU1@mid.individual.net> <imbfruFn50fU1@mid.individual.net>
<ipsjf6F8i5rU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net j7ok/rIw5Qm57L5MGaCfewdJhAN+kuqyuX5LBkWnXwUyXVLL2i
Cancel-Lock: sha1:Ul5FbQ93QvPUXSyg2D5Gw1Clx80=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.6.0
Content-Language: de-DE
In-Reply-To: <ipsjf6F8i5rU1@mid.individual.net>
 by: Dirk Krause - Fri, 18 Feb 2022 18:35 UTC

Hello,
In the dktools package I renamed the bmpp program to bitmap2pp to have a
more speaking name and to meet the Debian packaging guidelines which
require a name length of at least 5 characters for new programs to package.
Regards,

Dirk

--
Dirk Krause
http://sourceforge.net/p/dktools/wiki/Home/
http://sourceforge.net/p/gxhints/wiki/Home/
http://sourceforge.net/p/octpgfpl/wiki/Home/

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor