Update of /cvsroot/ufraw/ufraw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11968

Modified Files:
        ufraw_writer.c 
Log Message:
Flip image before saving in FITS format to avoid output being saved upside down.

Index: ufraw_writer.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_writer.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- ufraw_writer.c      4 Oct 2009 14:30:14 -0000       1.64
+++ ufraw_writer.c      15 Oct 2009 04:30:10 -0000      1.65
@@ -658,6 +658,9 @@
        int rowStride = uf->Images[ufraw_first_phase].width;
        guint16 pixbuf16[3];
 
+       // Avoid FITS images being saved upside down
+       ufraw_flip_image(uf, 2);
+
        for (row=0; row<height; row++) {
            if (row%100==99)
                preview_progress(uf->widget, _("Saving image"),


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to