[wikireader] Images on the WR not so imposible :P [was [wikireader]Error on parsing the spanish wikipedia]

David Reyes Samblas Martinez david at tuxbrain.com
Tue Nov 3 12:15:11 CET 2009


Regarding compression, I believe lzma is already builded in the
wikireader application and it compress the images  a 50%. enough for
start I guess. but I have to recongnize than the image on png looks
really good do maybe it worth the meaning to implemente it on the
device if it's not much resource hungry

Regarding licensing , well  until OM or/and Wikipiedia doesn't say the
contrary (for example considering Wikireader as an extension of the
Wikipedia and allow all wikipedia image to be on Wikireader) we must
stay in the save side so only explicitly free licenced images will be
safe to use, I'm working on the
http://download.wikimedia.org/enwiki/latest/enwiki-latest-image.sql.gz
table to know how many pictures  we are talking about.
Also some way to not infringe the authoring and licencing text
includings clauses must be used by the images viewer. but I guess it
can be done by links to text as other wikipage more.

Regarding machine needed to do so, due we just need at maximum of 240
pixel with we can tweak the Wikix to use the thumb url like this
http://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/HN_Pegasi_B.jpg/240px-HN_Pegasi_B.jpg
instead of the full url

http://upload.wikimedia.org/wikipedia/commons/f/f9/HN_Pegasi_B.jpg

and this will save us a lot disk space and a step in the process :P

Also Wikix must be tweaked to just download "free licenced images"
using the info on the enwiki-latest-image.sql.gz file then sure we
will save a lot more disk space.

David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable & embedded solutions
Openmoko, Openpandora,  Arduino
Hey, watch out!!! There's a linux in your pocket!!!




2009/11/3 David Garabana Barro <david at garabana.com>:
> On Tuesday 03 November 2009 09:46:44 Alexander Shulgin wrote:
>
>> Can we run zlib and, wait-wait... libpng on the device? :)
>
> Good point!
> png compress 1 bit images a lot!
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



More information about the community mailing list