--- CV/CV.xs 2005/07/22 06:14:25 1.20 +++ CV/CV.xs 2005/07/23 03:25:51 1.21 @@ -227,8 +227,8 @@ cinfo.do_fancy_upsampling = FALSE; while (cinfo.scale_denom < 8 - && (cinfo.output_width >> 1) >= IW - && (cinfo.output_height >> 1) >= IH) + && cinfo.output_width >= IW*4 + && cinfo.output_height >= IH*4) { cinfo.scale_denom <<= 1; jpeg_calc_output_dimensions (&cinfo); @@ -315,6 +315,7 @@ GdkPixbuf_noinc * p7_to_pb (int w, int h, guchar *src) + PROTOTYPE: @ CODE: { int x, y;