Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv4897
Modified Files:
ufraw-gimp.c
Log Message:
Update rotation code.
Index: ufraw-gimp.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw-gimp.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- ufraw-gimp.c 20 Oct 2009 03:42:50 -0000 1.58
+++ ufraw-gimp.c 27 Nov 2009 03:40:17 -0000 1.59
@@ -332,11 +332,11 @@
return UFRAW_ERROR;
ufraw_image_data *FirstImage = &uf->Images[ufraw_first_phase];
height = (uf->conf->CropY2 - uf->conf->CropY1)
- * FirstImage->height / uf->initialHeight;
+ * FirstImage->height / uf->rotatedHeight;
width = (uf->conf->CropX2 - uf->conf->CropX1)
- * FirstImage->width / uf->initialWidth;
- top = uf->conf->CropY1 * FirstImage->height / uf->initialHeight;
- left = uf->conf->CropX1 * FirstImage->width / uf->initialWidth;
+ * FirstImage->width / uf->rotatedWidth;
+ top = uf->conf->CropY1 * FirstImage->height / uf->rotatedHeight;
+ left = uf->conf->CropX1 * FirstImage->width / uf->rotatedWidth;
#ifdef UFRAW_CINEPAINT
if ( uf->conf->profile[out_profile]
[uf->conf->profileIndex[out_profile]].BitDepth==16 )
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs