The PBM format is pretty simple. See, e.g., http://netpbm.sourceforge.net/doc/pbm.html

Amitha.


On Mon, May 19, 2014 at 11:40 AM, Gehua Yang <yanggehua@gmail.com> wrote:
Hi Folks,

Recently I notice the test "1-bit pbm raw" in
vil/tests/test_file_format_read failed noticeably on Windows
platforms.  The failure can be dated as recent as today:
http://open.cdash.org/viewTest.php?onlyfailed&buildid=3333002
Or as early as January 28 (perhaps even earlier)
http://open.cdash.org/viewTest.php?onlyfailed&buildid=3192934

It does not seem to fail on Linux or Mac OSX platforms.  Before I did
into the details,  does anyone has any knowledge of this particular
test or file format?


Regards,
Gary Yang
DualAlign




Below is a copy of the test output from my Windows machine:

-----------------------------------------------------------------------------
Start Testing test_file_format_read:
-----------------------------------------------------------------------------
GENERIC FILE LOAD

Portable aNy Map [pnm]: (pbm, pgm, ppm)
 Test 001: 1-bit pbm ascii                                       -->   PASSED
 Test 002: 1-bit pbm raw                                         --> View 0 at o
ffset (0,0) [ 1 planes, each 5 x 3 ] has a mismatch at pixel (p=0,i=1,j=0)
vil_image_view<bool> 1 planes, each 5 x 3 istep: 1  jstep: 5  planestep: 15
 0 0 0 0 1
 0 1 0 1 1
 1 1 0 1 0
**FAILED**
 Test 003: 8-bit pgm ascii                                       -->   PASSED
 Test 004: 8-bit pgm raw                                         -->   PASSED
 Test 005: 8-bit pgm raw 2                                       -->   PASSED
 Test 006: 16-bit pgm ascii                                      -->   PASSED
 Test 007: 16-bit pgm raw                                        -->   PASSED
 Test 008: 8-bit ppm ascii                                       -->   PASSED
 Test 009: 8-bit ppm ascii as planar                             -->   PASSED
 Test 010: 8-bit ppm raw                                         -->   PASSED
 Test 011: 8-bit ppm raw as planar                               -->   PASSED
 Test 012: 16-bit ppm ascii                                      -->   PASSED
 Test 013: 16-bit ppm raw                                        -->   PASSED
JPEG [jpg]
 Test 014: 8-bit grey, normal image to 4 quanta                  -->   PASSED
 Test 015: 8-bit RGB, easy image accurate to 3 quanta            -->   PASSED
Windows bitmap [bmp]
 Test 016: 8-bit greyscale (xv created)                          -->   PASSED
 Test 017: 8-bit RGB (xv created)                                -->   PASSED
 Test 018: 8-bit RGB (Top-down scans, Photoshop created)         -->   PASSED
 Test 019: 8-bit RGBA uncompressed (Photoshop created)           -->   PASSED
Portable Network Graphics [png]
 Test 020: 1-bit grey compressed                                 -->   PASSED
 Test 021: 8-bit RGB uncompressed                                -->   PASSED
 Test 022: 8-bit RGB compressed                                  -->   PASSED
 Test 023: 8-bit RGB Indexed                                     -->   PASSED
 Test 024: 8-bit GA compressed                                   -->   PASSED
 Test 025: 10-bit grey with bitdepth=true (from labview)         -->   PASSED
 Test 026: 10-bit grey with bitdepth=false (from labview)        -->   PASSED
 Test 027: 16-bit grey with bitdepth=true (from labview)         -->   PASSED
 Test 028: 16-bit grey with bitdepth=false (from labview)        -->   PASSED
TIFF [tiff]
 Test 029: 8-bit RGB uncompressed                                -->   PASSED
 Test 030: 8-bit RGB packbits                                    -->   PASSED
 Test 031: 32-bit float grey                                     -->   PASSED
 Test 032: 8-bit RGBA uncompressed                               -->   PASSED
 Test 033: 8-bit RGBA without RowsPerStrip                       -->   PASSED
 Test 034: 8-bit GA uncompressed                                 -->   PASSED
NITF 2.1 [nitf] (uncompressed)
 Test 035: 8-bit unsigned int (IMODE=P)                          -->   PASSED
 Test 036: 8-bit unsigned int (IMODE=B)                          -->   PASSED
 Test 037: 8-bit unsigned int (IMODE=R)                          -->   PASSED
 Test 038: 8-bit unsigned int (IMODE=S)                          -->   PASSED
 Test 039: 16-bit unsigned int (ABPP=13)                         -->   PASSED
NITF 2.0 [nitf] (uncompressed)
 Test 040: 32-bit signed int                                     -->   PASSED
 Test 041: 32-bit float                                          -->   PASSED
 Test 042: 64-bit float (double)                                 -->   PASSED
NSIF 1.0 [nitf] (uncompressed)
 Test 043: 1-bit bool (NSIF w/ LUT to parse)                     -->   PASSED
OpenJPEG v2
 Test 044: file1 (768x512 8Bit RGB)                              -->   PASSED
 Test 045: file2 (480x640 8Bit RGB)                              -->   PASSED
 Test 046: file4 (768x512 8Bit Grey)                             -->   PASSED
 Test 047: file5 (768x512 8Bit RGB)                              -->   PASSED
 Test 048: file7 (480x640 16Bit RGB)                             -->   PASSED
 Test 049: file8 (700x400 8Bit RGB)                              -->   PASSED
 Test 050: file9 (768x512 8Bit RGB)                              -->   PASSED
Sun raster [ras]
 Test 051: 8-bit grey, no colourmap                              -->   PASSED
 Test 052: 8-bit RGB, no colourmap                               -->   PASSED
 Test 053: 8-bit indexed RGB                                     -->   PASSED
Khoros VIFF [viff]
 Test 054: 8-bit grey big endian                                 -->   PASSED
 Test 055: 8-bit RGB big endian                                  -->   PASSED
 Test 056: 16-bit grey big endian                                -->   PASSED
 Test 057: 16-bit RGB big endian                                 -->   PASSED
 Test 058: 32-bit grey big endian                                -->   PASSED
 Test 059: 32-bit float grey big endian                          -->   PASSED
 Test 060: 64-bit float grey big endian                          -->   PASSED
 Test 061: 8-bit grey little endian                              -->   PASSED
 Test 062: 8-bit RGB little endian                               -->   PASSED
 Test 063: 16-bit grey little endian                             -->   PASSED
 Test 064: 16-bit RGB little endian                              -->   PASSED
 Test 065: 32-bit grey little endian                             -->   PASSED
 Test 066: 32-bit float grey little endian                       -->   PASSED
 Test 067: 64-bit float grey little endian                       -->   PASSED
SGI IRIS [iris]
 Test 068: 8-bit grey rle                                        -->   PASSED
 Test 069: 16-bit grey verbatim                                  -->   PASSED
 Test 070: 8-bit RGB rle                                         -->   PASSED
MIT [mit]
 Test 071: 8-bit grey                                            -->   PASSED
 Test 072: 16-bit grey                                           -->   PASSED
 Test 073: 8-bit RGB                                             -->   PASSED
DICOM [dcm]
 Test 074: 16-bit greyscale uncompressed                         -->   PASSED
 Test 075: 16-bit greyscale uncompressed 2                       -->   PASSED
 Test 076: 8-bit greyscale uncompressed                          -->   PASSED
 Test 077: 8-bit greyscale uncompressed 2                        -->   PASSED
 Test 078: 16-bit greyscale uncompressed 3                       -->   PASSED
 Test 079: 12-bit greyscale float uncompressed                   -->   PASSED
-----------------------------------------------------------------------------
test_file_format_read Test Summary: 78 tests succeeded, 1 test failed
*****
-----------------------------------------------------------------------------
Press any key to continue . . .

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Vxl-maintainers mailing list
Vxl-maintainers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vxl-maintainers