On Mon, 2025-06-09 at 13:25 +0000, [email protected] wrote:
> gimp should work, for FITS you do need extra/cfitsio
> Packages (2) cfitsio-1:4.6.2-1  gimp-3.0.4-3

I'll take a look at this at another time. Due to countless issues with
gimp I migrated to krita.

> also imagemagick should do the trick as well, at least for jpeg 2000
> Packages (2) imagemagick-7.1.1.47-2  openjpeg2-2.5.3-1
> 
> $ magick display <path/to/image>

Neither imagemagick nor ffmpeg do work for me.

FWIW an iPad Pro is able to view
https://hirise-pds.lpl.arizona.edu/download/PDS/RDR/PSP/ORB_003400_003499/PSP_003434_1755/PSP_003434_1755_COLOR.JP2
 .

$ pacman -Qi imagemagick | grep Optional\ Deps -A17
Optional Deps   : ghostscript: PS/PDF support [installed]
                  jbigkit: JBIG support [installed]
                  libheif: HEIF support [installed]
                  libjpeg-turbo: JPEG support [installed]
                  libjxl: JPEG XL support [installed]
                  libraw: DNG support [installed]
                  librsvg: SVG support [installed]
                  libtiff: TIFF support [installed]
                  libultrahdr: UHDR support [installed]
                  libwebp: WEBP support [installed]
                  libwmf: WMF support [installed]
                  libzip: OpenRaster support [installed]
                  ocl-icd: OpenCL support [installed]
                  openexr: OpenEXR support [installed]
                  openjpeg2: JPEG2000 support [installed]
                  djvulibre: DJVU support [installed]
                  pango: Text rendering [installed]
Required By     : digikam  dvdauthor  gifcurry  perl-gtk3-imageview  shutter  
zbar

$ magick PSP_003434_1755_COLOR.JP2
[snip]
magick: invalid argument for option PSP_003434_1755_COLOR.JP2 @ 
error/magick-cli.c/MagickImageCommand/1358.

$ magick PSP_003434_1755_COLOR.JP2 PSP_003434_1755_COLOR.png 
Killed

$ ffmpeg -i PSP_003434_1755_COLOR.JP2 PSP_003434_1755_COLOR.jpg
[snip]
[jpeg2000 @ 0x5577c2592480] [IMGUTILS @ 0x7f2d5b9fe290] Picture size 
14423x83639 is invalid
[jpeg2000 @ 0x5577c2592480] Large Dimensions is not implemented. Update your 
FFmpeg version to the newest one from Git. If the problem still occurs, it 
means that your file has a feature which has not been implemented.
[jpeg2000 @ 0x5577c2592480] If you want to help, upload a sample of this file 
to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing 
list. ([email protected])
[jpeg2000 @ 0x5577c2592480] error during processing marker segment ff51
[vist#0:0/jpeg2000 @ 0x5577c257cf40] [dec:jpeg2000 @ 0x5577c2581040] Decoding 
error: Not yet implemented in FFmpeg, patches welcome
[vist#0:0/jpeg2000 @ 0x5577c257cf40] [dec:jpeg2000 @ 0x5577c2581040] Decode 
error rate 1 exceeds maximum 0.666667
Cannot determine format of input 0:0 after EOF
[vf#0:0 @ 0x5577c257be40] Task finished with error code: -1094995529 (Invalid 
data found when processing input)
[vist#0:0/jpeg2000 @ 0x5577c257cf40] [dec:jpeg2000 @ 0x5577c2581040] Task 
finished with error code: -1145393733 (Error number -1145393733 occurred)
[vist#0:0/jpeg2000 @ 0x5577c257cf40] [dec:jpeg2000 @ 0x5577c2581040] 
Terminating thread with return code -1145393733 (Error number -1145393733 
occurred)
[vf#0:0 @ 0x5577c257be40] Terminating thread with return code -1094995529 
(Invalid data found when processing input)
[vost#0:0/mjpeg @ 0x5577c257d580] Could not open encoder before EOF
[vost#0:0/mjpeg @ 0x5577c257d580] Task finished with error code: -22 (Invalid 
argument)
[vost#0:0/mjpeg @ 0x5577c257d580] Terminating thread with return code -22 
(Invalid argument)
[out#0/image2 @ 0x5577c257d140] Nothing was written into output file, because 
at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0KiB time=N/A bitrate=N/A speed=N/A    
Conversion failed!

Reply via email to