PBM/PGM Support

tkerby

Joined: 2005-07-22
Posts: 9
Posted: Fri, 2005-11-11 10:34

Does G2 support pbm/pgm as image formats. It would seem obvious to me as I'm using netpbm that this would be possible and I've added viewable to the mime type but I note that the netpbm plugin lists only the usual jpeg, png and gif options.

Would it be easy to hack the module to add full netpbm file type support, or to scan the netpbm binaries available (I compiled a full build) and allow access to all available image formats?

I should also add my reasoning - I work in the digital camera industry and use pbm/pgm for all my internal raw bayer conversion and video processing simulations. I'm using gallery as storage space for all my test images. Pbm/pgm are also fairly standard such as the dcraw output

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-11 13:06

as you see you can add such files to g2, but g2 doesn't support pbm as image format.

you can file a feature request for pbm support on http://sf.net/projects/gallery/ -> RFE
we'd have to change the netpbm module, probably we can also add pbm support to the imagemagick and gd modules.