From 82d04fb4ec29a6f003bfb4c6c1d3aa56a331a69d Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 28 Nov 2010 16:42:17 +0000 Subject: [PATCH] fix rulers in mm display --- TODO | 7 +++---- libvips/conversion/im_copy.c | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 53e9c4fe..d5e15395 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,8 @@ -- sinkscreen sync mode is single-threaded :( can we safely unlock around the - prepare? +- fits >3d load + fits save - -- see Haida's mail re. cfitsio and higher dimensions + see Haida's mail re. cfitsio and higher dimensions diff --git a/libvips/conversion/im_copy.c b/libvips/conversion/im_copy.c index 379658a2..6ea8f4b8 100644 --- a/libvips/conversion/im_copy.c +++ b/libvips/conversion/im_copy.c @@ -41,6 +41,8 @@ * - cleanups * - removed im_copy_from() and associated stuff * - added im_copy_native() + * 28/11/10 + * - im_copy_set() now sets xoff / yoff again hmmm */ /* @@ -200,7 +202,7 @@ im_copy_set( IMAGE *in, IMAGE *out, VipsType type, float xres, float yres, int xoffset, int yoffset ) { return( im_copy_set_all( in, out, - type, xres, yres, 0, 0, + type, xres, yres, xoffset, yoffset, in->Bands, in->BandFmt, in->Coding ) ); }