Author Topic: PCL JPEG Format Support  (Read 4427 times)

Offline astrofan

  • Newcomer
  • Posts: 11
PCL JPEG Format Support
« on: 2015 July 07 10:51:58 »
Hi,

I'm getting this error while trying to execute the HDRComposition

*** PCL Exception: PCL JPEG Format Support: Improper call to JPEG library in state 200: /home/user/IMG_4219.JPG
<* failed *>

the image itself was recorded by a consumer device

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: PCL JPEG Format Support
« Reply #1 on: 2015 July 07 12:03:54 »
Hi astrofan, HDRComposition do not work with jpeg image. Try to ask for the original raw image or, not recommendable, convert them to .fit. Saludos, Alejandro.

Offline astrofan

  • Newcomer
  • Posts: 11
Re: PCL JPEG Format Support
« Reply #2 on: 2015 July 07 14:04:59 »
Hi Alejandro,

thank you for the reply. Since you can add jpg into the batch window, I guess it would be better to disable the option then.
I know, nobody is using jpgs here :-) It was just a test. I filled the bug report with the intention to help.

cheers

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PCL JPEG Format Support
« Reply #3 on: 2015 July 09 02:28:07 »
That error message means that the JPEG file is empty or corrupted.

The HDRComposition tool supports all file formats, including JPEG (although using 8-bit images with this tool does not certainly make too much sense, but that's a different topic).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: PCL JPEG Format Support
« Reply #4 on: 2015 July 10 15:33:45 »
Oops!. There is something strange!. I concluded that after a simple test of opening two raw files and save them as .jpg. I continue getting the same error no matter which image I choose.  I tried also in other instances of PixInsight. I will try in another machine when I have the chance.
Saludos, Alejandro.

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: PCL JPEG Format Support
« Reply #5 on: 2015 July 10 15:58:07 »
Alejandro

I'm getting the same error also. I tried 2 jpgs and got the error. I saved the jpgs as fits then no error. I saved the fits as newly named jpgs and the error again.


Mike

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: PCL JPEG Format Support
« Reply #6 on: 2015 July 13 15:46:22 »
Bug confirmed. This is now fixed in version 1.8.4, which we'll release soon.

Sorry for the inconvenience. A workaround to use JPEG images with HDRComposition in the current version of PixInsight is disabling the automatic exposure evaluation and reject black pixels options. This avoids multiple image loads, which is the cause of the problem.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/