9front - general discussion about 9front
 help / color / mirror / Atom feed
* minor bug report: png spews
@ 2020-08-21 17:31 Ethan Gardener
  2020-08-21 18:42 ` [9front] " Ethan Gardener
  0 siblings, 1 reply; 6+ messages in thread
From: Ethan Gardener @ 2020-08-21 17:31 UTC (permalink / raw)
  To: 9front

png makes a nuisance of itself by writing confusing near-useless non-error data to stderr in a very un-unixlike manner. it can be a nuisance in a pipeline. jpg behaves correctly. 

term% png -9 img/timmy-arch-2017-03-12.png		| awk '/^compressed$/ {next}; {print $4-$2, $5-$3; exit}'
png: writing 3888000 bytes for len 1296000 chan m8
1440 900
term% jpg -9 img/Carina_Peach_4553.jpg			| awk '/^compressed$/ {next}; {print $4-$2, $5-$3; exit}'
4553 5004


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-22  1:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21 17:31 minor bug report: png spews Ethan Gardener
2020-08-21 18:42 ` [9front] " Ethan Gardener
2020-08-21 18:47   ` ori
2020-08-21 19:25     ` Ethan Gardener
2020-08-21 19:26       ` Ethan Gardener
2020-08-22  1:52         ` Alex Musolino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).