[Ipe-discuss] Performance and file-size with embedded images
nrath at trialphaenergy.com
Mon Nov 7 17:31:33 CET 2016
Thanks, will try the new version!
Did you have a chance to look into the slowness? Are you able to
On 10/29/2016 01:04 AM, Otfried Cheong wrote:
> Ah - you simply need to upgrade. This was a bug where PNG figures where
> imported without compression.
> The problem was fixed in 7.1.9.
> I should still investigate what slows down Ipe so much.
> On Sat, Oct 29, 2016, at 00:17, Nikolaus Rath wrote:
>> Hi Otfried,
>> Thanks for the quick response! These are line plots, so they should
>> compress very well. Each individual image is between 100 kB and 300 kB.
>> I'm on Linux 4.7 and ipe 7.1.8, and there is plenty of memory available
>> (32 GB total, 2.3 GB free (not including buffered/cached)).
>> I'll send you the document in a private email.
>> On 10/28/2016 03:00 PM, Otfried Cheong wrote:
>>> When you increase the resolution in both x- and y-direction by a factor
>>> three, the number of pixels increases by a factor nine. That seems
>>> pretty much in line with your numbers.
>>> What kind of pictures are these? Apparently they do not compress well.
>>> You couldn't use JPG images?
>>> You don't say what OS you are on. The drastic slow-down might be because
>>> Ipe doesn't get enough memory to keep everything in memory and starts
>>> thrashing. But this is definitely something that should be investigated:
>>> When you select an image, it does not get redrawn, and the backing
>>> bitmap should not need to be accessed.
>>> Would you be willing to upload your document somewhere so I can have a
>>> On Fri, Oct 28, 2016, at 23:31, Nikolaus Rath wrote:
>>>> I have an ipe document that contains about 15 images in .png format,
>>>> rendered at 100 dpi. This document takes 16 MB as .pdf and 21 MB as
>>>> .ipe, and can be edited smoothly.
>>>> However, when I replace the images with higher resolutions (300 dpi),
>>>> then the file size changes to 183 MB for .ipe, and 135 MB for .pdf.
>>>> Furthermore, even just selecting an image with a single click takes
>>>> several seconds. The document becomes essentially un-editable.
>>>> Why is this? Shouldn't the file size grow at most by a factor of 3, if
>>>> the image resolution is increased by this factor? And why this extreme
>>>> Ipe-discuss mailing list
>>>> Ipe-discuss at lists.science.uu.nl
>>> Ipe-discuss mailing list
>>> Ipe-discuss at lists.science.uu.nl
More information about the Ipe-discuss