PixInsight Forum (historical)

PixInsight => General => Topic started by: andyschlei on 2008 May 17 13:59:47

Title: Unsupported File Format Options Error Message
Post by: andyschlei on 2008 May 17 13:59:47
I was playing with a  Moon mosaic someone had posted and when I went to save my version, I got an "Invalid or unsupported image options" error.  I got the error on every format I tried (JPEG, FITS, and TIFF).

What would the issue be here?

Thanks,

--Andy
Title: Unsupported File Format Options Error Message
Post by: Juan Conejero on 2008 May 18 01:11:06
Hi Andy,

This seems the unmistakable sound of a bug. There's something strange on that image that is fooling our file format modules. Could I download the file?

Thanks.
Title: Unsupported File Format Options Error Message
Post by: caliu on 2008 May 18 02:57:51
The same occurs to me when I want save a FIT captured with MaxlmDL

(http://www.postimage.org/aV5aAbA.jpg) (http://www.postimage.org/image.php?v=aV5aAbA)
(http://www.postimage.org/aV5aZ80.jpg) (http://www.postimage.org/image.php?v=aV5aZ80)
Title: Unsupported File Format Options Error Message
Post by: Juan Conejero on 2008 May 18 03:33:15
Hi Caliu,

I think yours is a different problem. Try removing the (IRIS) part of the "4-NGC_7023 (IRIS)" folder name. Or just remove the ( and ) characters; e.g. "4-NGC_7023-IRIS". I think this will fix the problem.

--------

Hola Caliu

Creo que el problema que tienes es diferente. Intenta eliminar (IRIS) del nombre de carpeta "4-NGC_7023 (IRIS)". O bien quita los caracteres ( y ); por ejemplo: "4-NGC_7023-IRIS". Creo que así desaparecerá el problema.
Title: Unsupported File Format Options Error Message
Post by: andyschlei on 2008 May 18 07:27:08
Juan,

Quote from: "Juan Conejero"
This seems the unmistakable sound of a bug. There's something strange on that image that is fooling our file format modules. Could I download the file?.


Here is the link: http://orbitsimulator.com/BA/moonstitch051208.JPG

--Andy
Title: Unsupported File Format Options Error Message
Post by: caliu on 2008 May 18 10:33:41
He probado incluso a pegar una imagen en el escritorio y abrirla desde alli, abrir se abre pero cuando intento guardarla no me deja, sigue apareciendo el mismo problema, igual es algo en la configuración de Maxlm :?
Title: Unsupported File Format Options Error Message
Post by: Juan Conejero on 2008 May 18 11:01:19
Hi Andy,

This JPEG image is ill-formed: it explicitly states a resolution of zero pixels/inch :)

I never saw this before. Obviously, the invalid resolution values are fooling our file format support modules. I'll make the necessary changes to make our code immune to this pitfall.

For now, the workaround is easy: explicitly set a valid resolution just after loading the image in PixInsight:

- Load the image.

- Open the Resample interface (Process Explorer > Geometry category).

- On the Resample interface, click the Reset button (lower right corner) to make sure that you won't change image dimensions. Make the Resolution section visible (by clicking on the Resolution  section bar) and check the Force Resolution check box.

- Apply the process (drag the New Instance button or click the Apply button).

Now the image will have a standard 72 pixels/inch resolution and all will work normally.

Thank you for showing this problem. When one thinks his code is strong enough, there is always another file to keep things fun :D