How to open .int files (using Python)

I have .int files Black and White Silicon Graphics Image containing visual information. I have two options. One, I can open .int files using an image viewer software and convert them to another format like .png. Second, I can open the file with Python and use them directly. I have tried the following software to open:

irfanview, gimp, xnview, ffmpeg, imagemagick, cognaxon wsq viewer, idx biosuite wsq viewer.

None of them can open the .int files.

Any suggestions?

2 answers

  • answered 2021-05-04 18:07 Sudo Band

    You can use File Viewer Plus 4 in Windows

    https://fileviewerplus.com/download
    

  • answered 2021-05-04 18:18 armin ajdehnia

    you can use the pillow python package to open such image format

    from PIL import Image
    
    im = Image.open('path to your image')
    

    in the open method read the images by their content, not by their filenames.