Importing images in Write documents makes file huge

Philipp Kocher philipp.kocher at gmx.net
Thu Nov 26 08:48:14 EST 2009


On 11/26/2009 07:06 PM, Tomeu Vizoso wrote:
> On Thu, Nov 26, 2009 at 09:32, Philipp Kocher<philipp.kocher at gmx.net>  wrote:
>> The conversion to PNG was a general Abiword "feature", but it got solved
>> last July with Abiword 2.7.6 (see link below).
>> On my XO libabiword-2.6.4-6.olpc3 is installed (build 802).
>>
>> Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?
>
> I guess it depends on how many technical resources you have, but it's
> definitely possible. Though maybe the best way forward is helping with
> the effort of making F11 work well on the XO-1s.
>
> http://wiki.laptop.org/go/F11_for_XO-1
>
What about 8.2.x?
At the moment the write activity is not really responsive when a few 
pictures are in the document. I expect that would improve as well.

It looks like abiword 2.8.1 is already part of F11 for XO 1, which 
should solve the problem. But I don't expect F11 being installed on the 
student XOs very soon, is there an alternative solution like another 
activity that can create simple html files with pictures?

> Regards,
>
> Tomeu
>
>> http://planet.abisource.com/:
>> July 04, 2009
>> Marc Maurer: Impressive AbiWord release
>> We just released AbiWord 2.7.6, which is an awesome release in my opinion!
>> It for example adds native JPEG support, so we don’t convert every JPEG
>> internally to PNG anymore. This will be of great benefit on the OLPC
>> laptop, where kids use built-in camera to produce photos in JPEG format
>> and add them to their document. This will greatly reduce the filesize of
>> their document. It will also be a lot less bandwidth intensive when
>> collaborating on such a document.
>>
>> On 11/26/2009 03:01 PM, Philipp Kocher wrote:
>>> Hi all,
>>>
>>> We would like the students to create simple html-documents with text and
>>> images and upload them to the schoolserver for a simple homepage. The
>>> Write activity (we are using version 60 on build 802) has a feature
>>> "Keep as Hypertext (HTML)", but when images are inserted into the
>>> document the files get huge (10 times bigger than original image).
>>>
>>> If I check the file size in the datastore, an image created with Record
>>> (file size 38kB, mimetype image/jpg) inserted in a html document
>>> containing nothing else than the image, the html file is 554kB (mimetype
>>> text/html).
>>>
>>> The image is saved in the html-document with:
>>> <img ... src="data:image/png;base64,{image data}">
>>>
>>> I can do the same thing with Abiword 2.8.1 and the html file is just
>>> 52kB, probably because it is using jpg:
>>> <img ... src="data:image/jpeg;base64,{image data}">
>>>
>>> There is an old ticket for that (last modified 2 years ago):
>>> Ticket #1442 non-PNG image support for Abiword
>>>
>>> Any suggestions for a workaround? Is there an other activity we could
>>> use to create html pages?
>>>
>>> Best regards,
>>> Philipp
>>>
>>> PS: other document types created with Write have the same problem:
>>> image/jpg:                     38kB (created with Record activity)
>>> application/rtf:              821kB (created with Write activity)
>>> text/html:                    554kB (created with Write activity)
>>> application/vnd.oasis.opendocument.text: 406kB (created with Write
>>> activity, default)
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.laptop.org
>>> http://lists.laptop.org/listinfo/devel
>>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>>
>
>
>



More information about the Devel mailing list