I don't use gimp (no time for that) but I noticed a change in
ufraw_writer.c when the rotation code was consolidated which should most
likely also be applied to the gimp plugin. Untested (and there's still
an initialHeight/InitialWidth left).
--
Frank
diff --git a/ufraw-gimp.c b/ufraw-gimp.c
index 1a8e487..63c31e9 100644
--- a/ufraw-gimp.c
+++ b/ufraw-gimp.c
@@ -332,11 +332,11 @@ long ufraw_save_gimp_image(ufraw_data *uf, GtkWidget
*widget)
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-devel mailing list
ufraw-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-devel