Skip to content

Please support multiple frames in PGM file format #268

Open
@BarchSteel

Description

@BarchSteel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions