[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmc
From: |
G. Branden Robinson |
Subject: |
[bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop |
Date: |
Tue, 9 Jul 2024 10:04:01 -0400 (EDT) |
Update of bug #65961 (group groff):
Summary: pre-html.cpp: suppress spurious warnings from buggy
pnmcrop => [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop
_______________________________________________________
Follow-up Comment #2:
Not sure I agree with you this time, Dave.
_pre-grohtml_(1) does sometimes seem to cause blank images to be constructed.
That in turn seems to be harmless behavior (while I'm not a fan of the clutter
on the file system, _grohtml_'s design commits it to a footprint there), and
if it's a bug, then it looks to me like it's a bug in _pre-grohtml_ for
passing empty rectangular regions of the page image to _pnmcrop_ in the first
place. That hypothesis needs to be checked, but if it's correct then
_pnmcrop_ is doing what we ask of it, and throwing a diagnostic when it
_can't_ do what we're asking of it (crop an uncroppable image).
See its [https://netpbm.sourceforge.net/doc/pnmcrop.html upstream
documentation].
I do concede that if we can and do fix _pre-grohtml_ to never send blank
rectangles to _pnmcrop_ in the first place, we can (and should_ reënable this
diagnostic.
But since my (long-term) plan is to stop producing images from _tbl_ and _eqn_
regions in the first place (see bug #60052 et al.), I don't feel strongly
motivated to tackle the blank rectangle issue.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65961>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #65961] pre-html.cpp: use option "-blank-image=pass" for "pnmcrop" to avoid warnings, Bjarni Ingi Gislason, 2024/07/07
- [bug #65961] pre-html.cpp: suppress spurious warnings from buggy pnmcrop, Dave, 2024/07/08
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop,
G. Branden Robinson <=
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, G. Branden Robinson, 2024/07/09
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, Dave, 2024/07/09
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, G. Branden Robinson, 2024/07/09
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, G. Branden Robinson, 2024/07/10
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, G. Branden Robinson, 2024/07/12
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, G. Branden Robinson, 2024/07/12
- [bug #65961] [grohtml] pre-html.cpp: suppress certain warnings from pnmcrop, G. Branden Robinson, 2024/07/12
- [bug #65961] [grohtml] produces empty image files and warnings from pnmcrop, G. Branden Robinson, 2024/07/16