On Saturday 24 March 2007 11:30, Alexey Eremenko wrote:
Hi,
> Screenshots look terribly in LfL !
>
> I have just submitted two made at 1024x768 resolution, but applied
> them to be 90% of browser instead of full-size. Text is absolutely
> unreadable.
the problem is that browsers are not very good in resizing images. A
width of 90% in the XML sources translates to <img src ="" width="90%">
in HTML.
> What to do?
>
> My recommendation: Make them clickable (on HTML) page, so one can
> access to full-size screenshots, if he so wishes, to see details.
This would be possible with a style sheet modification, but the ugly
rendered screenshot will still be there. Rajko is correct - the only
possibility to have good quality screenshots on both PDF and HTML is to
provide them in the size they should be displayed (for shots of the
whole desktop I would recommend 800x600).
The ImageMagick command line tools are very handy - the following bash
code resizes all png images wider than 800px in the current directory
to 800xX and does a bit sharpening, too.
---
for FILE in *.png; do
SIZE=$(identify $FILE | cut -d " " -f 3)
WIDTH=${SIZE%x*}
if [ $WIDTH -gt 800 ]; then
echo -n "Resizing $FILE..."
mogrify -adaptive-sharpen 1 -resize 800x600 $FILE
echo "done"
fi
done
---
--
Regards
Frank
Frank Sundermeyer, Technical Writer, Documentation
SUSE Linux Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
Tel: +49-911-74053-0, Fax: +49-911-7417755; http://www.opensuse.org/
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
"Reality is always controlled by the people who are most insane" Dogbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]