From 6b5035c160a96b6ba5da6fd1b4bead01588d2e2a Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 15 Nov 2019 17:30:31 +0000 Subject: [PATCH] update changelog --- ChangeLog | 1 + libvips/foreign/ppmload.c | 7 ++----- libvips/foreign/ppmsave.c | 3 +++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 510f18ad..c547e9d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ - add VipsStream: a universal IO class for loaders and savers - jpeg, png, tiff (though not tiffsave), rad, svg, ppm and webp use the new IO class +- rewritten ppm load/save is faster and uses less memory - add @no_strip option to dzsave [kalozka1] - add iiif layout to dzsave - fix use of resolution-unit metadata on tiff save [kayarre] diff --git a/libvips/foreign/ppmload.c b/libvips/foreign/ppmload.c index 24c02849..8d12dfea 100644 --- a/libvips/foreign/ppmload.c +++ b/libvips/foreign/ppmload.c @@ -33,6 +33,8 @@ * - fix a loop with malformed ppm * 13/11/19 * - redone with streams + * - sequential load, plus mmap for filename streams + * - faster plus lower memory use */ /* @@ -62,11 +64,6 @@ */ -/* TODO - * - * - load filename streams with mmap - */ - /* #define DEBUG */ diff --git a/libvips/foreign/ppmsave.c b/libvips/foreign/ppmsave.c index 0ea64f0b..35c70dc4 100644 --- a/libvips/foreign/ppmsave.c +++ b/libvips/foreign/ppmsave.c @@ -2,6 +2,9 @@ * * 2/12/11 * - wrap a class around the ppm writer + * 13/11/19 + * - redone with streams + * - faster plus lower memory use */ /*