View Single Post
Old 08-06-2012, 03:13 AM   #6
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
I get your points, I am often guilty of forgetting those of us with small screens.
I've spent some frustrating hours trying to get those dots into tables, but it doesn't seem like it can be done. I ended up sacrificing the dots instead to keep the table as text. I suppose a (complicated) compromise would be to use svg.

I really should get that wiki page on image cleansing ready. A few hints re. Gimp:
* Colors->Levels to adjust black/white cutoff points
* Filters->Enhancement->Unsharp to improve clarity of ink/line drawings. A value of 0.2-0.4 is normally the best.

However, for a bunch of images such as yours, manually correcting each one is a pain, so I do a batch operation with Imagemagick instead:

Code:
cd Images
mkdir cleansed
for f in *.png
do
convert $f -level 25%,90% -unsharp 0.3x0.3+3+0 cleansed/$f
done
To find the 25%, 90% cutoff points I inspected a couple of the images in Gimp with Colors->Levels first and looked at the histogram.

You can save a few extra bytes by running the images through the pngcrush utility afterwards:

Code:
cd cleansed
mkdir crushed
pngcrush -d crushed *.png
SBT is offline   Reply With Quote