axe312ger / sqip

"SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.
http://axe312ger.github.io/sqip
The Unlicense
3.37k stars 82 forks source link

`--silent` suppresses `data-uri` output #290

Closed xerc closed 7 months ago

xerc commented 1 year ago

sqip -i test.jpg -p primitive svgo data-uri --silent

axe312ger commented 11 months ago

Well, but thats what silent does. It ensures nothing is written to the console/stdout.

What about introducing a flag that stores generated meta data into a json file next to the svg?

xerc commented 11 months ago

may differ betw. stdout(SVG output) and stderr for status/verbose/meta ?

axe312ger commented 7 months ago

Pretty sure it still outputs stderr 🤔

xerc commented 7 months ago

for testing .. hide stdout ; sqip -i test.jpg -p primitive svgo data-uri > /dev/null hide stderr ; sqip -i test.jpg -p primitive svgo data-uri 2> /dev/null

xerc commented 7 months ago

+1 for --print :) so stderr can still be processed