Re: Performance and file-size with embedded images
Nikolaus Rath <nrath-GBHt0Lb9jDujYgHvJn/[email protected]> Mon, 7 Nov 2016 08:31:33 -0800
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Organization | Tri Alpha Energy |
| Message-ID | <[email protected]> |
Hi Otfried, Thanks, will try the new version! Did you have a chance to look into the slowness? Are you able to reproduce it? Best, -Nikolaus 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. > > Cheers, > Otfried > > 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. >> >> Best, >> -Nikolaus >> >> 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 >>> look? >>> >>> Cheers, >>> Otfried >>> >>> >>> On Fri, Oct 28, 2016, at 23:31, Nikolaus Rath wrote: >>>> Hello, >>>> >>>> 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 >>>> slowdown? >>>> >>>> >>>> Thanks, >>>> -Nikolaus >>>> _______________________________________________ >>>> Ipe-discuss mailing list >>>> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] >>>> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss >>> _______________________________________________ >>> Ipe-discuss mailing list >>> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] >>> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss >>>