Open BarchSteel opened 3 years ago
Hi @BarchSteel, thank you for raising the request and providing a sample file. You are correct that multi frame images are not yet supported in Bio-Formats. I will mark this as a feature request and it can be considered for future Bio-Formats releases.
The PGM file format (http://netpbm.sourceforge.net/doc/pgm.html) allows for multiple frames in one file, called a sequence. The frames are just written, without gaps or padding, sequentially to the file. The number of frames in the file can be determined by the (fileSize - Header)/(size_of_one_frame)
If I open such a file in ImageJ, only the first frame is displayed. Please improve the PGM file reader, so it can read multiple frames as a sequence, just like the RAW importer does. sequence_3_frames_38x38px_8bit.zip
As a work-around, you can import the file using the "RAW" importer. For example, for the attached file, use uint8, size: 38x38 px, 3 frames.
Tested on ImageJ 1.53e with Bio-Format 6.5.1
link to source file: PGMReader.java