Dunno if this has already been fixed or not, but: when invoked non-interactively, e.g. from pygimp (the python-gimp interface), file_jpeg_save saves with the wrong parameter settings. The code considers it an error to be called non-interactively with any number of parameters other than 10. But it uses up through params[13]. The fix: *** jpeg.c Sat Sep 18 16:31:27 1999 --- jpeg.c.~1~ Sat Aug 28 12:28:37 1999 *************** *** 448,454 **** /* Make sure all the arguments are there! */ /* pw - added two more progressive and comment */ /* sg - added subsampling, preview, baseline, restarts and DCT */ ! if (nparams != 14) status = STATUS_CALLING_ERROR; if (status == STATUS_SUCCESS) { --- 448,454 ---- /* Make sure all the arguments are there! */ /* pw - added two more progressive and comment */ /* sg - added subsampling, preview, baseline, restarts and DCT */ ! if (nparams != 10) status = STATUS_CALLING_ERROR; if (status == STATUS_SUCCESS) { [ -- Mitch Chapman mitch.chapman@xxxxxxxxxxxx