Status of receiving color JPEG fax (sent by HP OfficeJet 8600)

Chris Coleman <[email protected]> Tue, 1 Sep 2015 18:34:20 -0400
Newsgroups gmane.comp.telephony.fax.hylafax.user,gmane.comp.telephony.fax.hylafax.devel
Organization Espace Networks
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------080203040009080807070007
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Sorry if I'm repeating a recently asked question.  The list archives 
seem to have stopped they only show up to a few years ago.  I spent 
hours searching online and found nothing recent.

Question. It's now 2015, what's the current status of receiving color 
(or grayscale... JPEG or JBIG) fax from, for example, HP OfficeJet Pro 
8600 multi function fax/printer/scanner ?

Note: The HP officejet seems to send the page in JPEG format (T.30e ?) 
(see info below).

I ask because, while Hylafax negotiates and receives a TIF file 
successfully, and logs show a fully completed transmission, nevertheless 
there are problems, because simple viewer apps throw errors, therefore 
the TIFF image cannot be displayed, and the PDF file cannot be 
generated.  Unsure if the data inside got mangled or if it's usable.  
IrfanView shows a black page, of the correct resolution, but a black page.

Searching the list and other message boards back to over ten years ago 
(!) there is much reference to a need for a patch in libtiff and 
libjpeg, back in 2001-2004 (!), then a make/compile rebuild the 
libraries so that they can deal with the CIELab or ITULab color space 
inputs properly so that a viewable TIF and thus PDF may be output by 
HylaFax and shown in the web interface by AvantFax.

Is it possible that receiving color fax (jpeg) would have stagnated 
before getting the 2 CIELab/ITULab patches into the mainline 
distributions Libtiff and Libjepg, and stuck at that point for the past 
10 years?


Information about the TIFF file:

:~$ gm convert fax000000009.tif fax000000009.pdf
gm convert: Memory allocation failed (fax000000009.tif).

:~$ convert fax000000009.tif fax000000009.pdf
convert.im6: Sorry, can not handle image with 
*PhotometricInterpretation=10.* `fax000000009.tif' @ 
error/tiff.c/TIFFErrors/508.

:~$ identify fax000000009.tif
fax000000009.tif TIFF 1728x2212 1728x2212+0+0 8-bit DirectClass 263KB 
0.000u 0:00.000

:~$ convert -version
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

:~$ identify -verbose fax000000009.tif
Image: fax000000009.tif
   Format: TIFF (Tagged Image File Format)
   Class: DirectClass
   Geometry: 1728x2212+0+0
   Resolution: 204x196
   Print size: 8.47059x11.2857
   Units: PixelsPerInch
   Type: Palette
   Base type: TrueColor
   Endianess: MSB
   Colorspace: sRGB
   Depth: 8/1-bit
   Channel depth:
     red: 1-bit
     green: 1-bit
     blue: 1-bit
   Channel statistics:
     Red:
       min: 0 (0)
       max: 0 (0)
       mean: 0 (0)
       standard deviation: 0 (0)
       kurtosis: 0
       skewness: 0
     Green:
       min: 0 (0)
       max: 0 (0)
       mean: 0 (0)
       standard deviation: 0 (0)
       kurtosis: 0
       skewness: 0
     Blue:
       min: 0 (0)
       max: 0 (0)
       mean: 0 (0)
       standard deviation: 0 (0)
       kurtosis: 0
       skewness: 0
   Image statistics:
     Overall:
       min: 0 (0)
       max: 0 (0)
       mean: 0 (0)
       standard deviation: 0 (0)
       kurtosis: 0
       skewness: 0
   Colors: 1
   Histogram:
    3822336: (  0,  0,  0) #000000 black
   Rendering intent: Perceptual
   Gamma: 0.454545
   Chromaticity:
     red primary: (0.64,0.33)
     green primary: (0.3,0.6)
     blue primary: (0.15,0.06)
     white point: (0.3127,0.329)
   Interlace: None
   Background color: white
   Border color: srgb(223,223,223)
   Matte color: grey74
   Transparent color: black
   Compose: Over
   Page geometry: 1728x2212+0+0
   Dispose: Undefined
   Iterations: 0
   Compression: JPEG
   Orientation: TopLeft
   Properties:
     comment: XXXXXXXXXX (this is phone number of the sender fax 
machine, the hp officejet 8600 ...)
XXXXXXXXXX
XXXXXXXXXX
<NONE>
s
     date:create: 2015-08-31T14:31:32-04:00
     date:modify: 2015-08-31T14:31:32-04:00
     jpeg:sampling-factor: 2x2
     signature: 
d9a52dc88d222d7f4df63382e9dc1e5542898725a7f35fe7a1530c7810260da2
     tiff:endian: lsb
     tiff:hostcomputer: incredible
     tiff:make: WWW.SOFT-SWITCH.ORG
     tiff:model: spandsp
     tiff:photometric: unknown
     tiff:rows-per-strip: 4294967295
     tiff:software: HylaFAX (tm) Version 6.0.6
     tiff:timestamp: 2015:08:31 14:11:35
   Artifacts:
     filename: fax000000009.tif
     verbose: true
   Tainted: False
   Filesize: 263KB
   Number pixels: 3.822M
   Pixels per second: 31.85MB
   User time: 0.110u
   Elapsed time: 0:01.119
   Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
identify.im6: Sorry, can not handle image with 
*PhotometricInterpretation=10*. `fax000000009.tif' @ 
error/tiff.c/TIFFErrors/508.
:~$


--------------080203040009080807070007
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    Sorry if I'm repeating a recently asked question.=C2=A0 The list arch=
ives
    seem to have stopped they only show up to a few years ago.=C2=A0 I sp=
ent
    hours searching online and found nothing recent.<br>
    <br>
    Question. It's now 2015, what's the current status of receiving
    color (or grayscale... JPEG or JBIG) fax from, for example, HP
    OfficeJet Pro 8600 multi function fax/printer/scanner ?<br>
    <br>
    Note: The HP officejet seems to send the page in JPEG format (T.30e
    ?) (see info below).<br>
    <br>
    I ask because, while Hylafax negotiates and receives a TIF file
    successfully, and logs show a fully completed transmission,
    nevertheless there are problems, because simple viewer apps throw
    errors, therefore the TIFF image cannot be displayed, and the PDF
    file cannot be generated.=C2=A0 Unsure if the data inside got mangled=
 or
    if it's usable.=C2=A0 IrfanView shows a black page, of the correct
    resolution, but a black page.<br>
    <br>
    Searching the list and other message boards back to over ten years
    ago (!) there is much reference to a need for a patch in libtiff and
    libjpeg, back in 2001-2004 (!), then a make/compile rebuild the
    libraries so that they can deal with the CIELab or ITULab color
    space inputs properly so that a viewable TIF and thus PDF may be
    output by HylaFax and shown in the web interface by AvantFax.<br>
    <br>
    Is it possible that receiving color fax (jpeg) would have stagnated
    before getting the 2 CIELab/ITULab patches into the mainline
    distributions Libtiff and Libjepg, and stuck at that point for the
    past 10 years?<br>
    <br>
    <br>
    Information about the TIFF file:<br>
    <br>
    :~$ gm convert fax000000009.tif fax000000009.pdf<br>
    gm convert: Memory allocation failed (fax000000009.tif).<br>
    <br>
    :~$ convert fax000000009.tif fax000000009.pdf<br>
    convert.im6: Sorry, can not handle image with <b>PhotometricInterpret=
ation=3D10.</b>
    `fax000000009.tif' @ error/tiff.c/TIFFErrors/508.<br>
    <br>
    :~$ identify fax000000009.tif<br>
    fax000000009.tif TIFF 1728x2212 1728x2212+0+0 8-bit DirectClass
    263KB 0.000u 0:00.000<br>
    <br>
    :~$ convert -version<br>
    Version: ImageMagick 6.7.7-10 2014-03-06 Q16
    <a class=3D"moz-txt-link-freetext" href=3D"http://www.imagemagick.org=
">http://www.imagemagick.org</a><br>
    Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC<br>
    Features: OpenMP<br>
    <br>
    :~$ identify -verbose fax000000009.tif<br>
    Image: fax000000009.tif<br>
    =C2=A0 Format: TIFF (Tagged Image File Format)<br>
    =C2=A0 Class: DirectClass<br>
    =C2=A0 Geometry: 1728x2212+0+0<br>
    =C2=A0 Resolution: 204x196<br>
    =C2=A0 Print size: 8.47059x11.2857<br>
    =C2=A0 Units: PixelsPerInch<br>
    =C2=A0 Type: Palette<br>
    =C2=A0 Base type: TrueColor<br>
    =C2=A0 Endianess: MSB<br>
    =C2=A0 Colorspace: sRGB<br>
    =C2=A0 Depth: 8/1-bit<br>
    =C2=A0 Channel depth:<br>
    =C2=A0=C2=A0=C2=A0 red: 1-bit<br>
    =C2=A0=C2=A0=C2=A0 green: 1-bit<br>
    =C2=A0=C2=A0=C2=A0 blue: 1-bit<br>
    =C2=A0 Channel statistics:<br>
    =C2=A0=C2=A0=C2=A0 Red:<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 min: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 max: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mean: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 standard deviation: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kurtosis: 0<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 skewness: 0<br>
    =C2=A0=C2=A0=C2=A0 Green:<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 min: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 max: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mean: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 standard deviation: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kurtosis: 0<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 skewness: 0<br>
    =C2=A0=C2=A0=C2=A0 Blue:<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 min: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 max: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mean: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 standard deviation: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kurtosis: 0<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 skewness: 0<br>
    =C2=A0 Image statistics:<br>
    =C2=A0=C2=A0=C2=A0 Overall:<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 min: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 max: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mean: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 standard deviation: 0 (0)<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kurtosis: 0<br>
    =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 skewness: 0<br>
    =C2=A0 Colors: 1<br>
    =C2=A0 Histogram:<br>
    =C2=A0=C2=A0 3822336: (=C2=A0 0,=C2=A0 0,=C2=A0 0) #000000 black<br>
    =C2=A0 Rendering intent: Perceptual<br>
    =C2=A0 Gamma: 0.454545<br>
    =C2=A0 Chromaticity:<br>
    =C2=A0=C2=A0=C2=A0 red primary: (0.64,0.33)<br>
    =C2=A0=C2=A0=C2=A0 green primary: (0.3,0.6)<br>
    =C2=A0=C2=A0=C2=A0 blue primary: (0.15,0.06)<br>
    =C2=A0=C2=A0=C2=A0 white point: (0.3127,0.329)<br>
    =C2=A0 Interlace: None<br>
    =C2=A0 Background color: white<br>
    =C2=A0 Border color: srgb(223,223,223)<br>
    =C2=A0 Matte color: grey74<br>
    =C2=A0 Transparent color: black<br>
    =C2=A0 Compose: Over<br>
    =C2=A0 Page geometry: 1728x2212+0+0<br>
    =C2=A0 Dispose: Undefined<br>
    =C2=A0 Iterations: 0<br>
    =C2=A0 Compression: JPEG<br>
    =C2=A0 Orientation: TopLeft<br>
    =C2=A0 Properties:<br>
    =C2=A0=C2=A0=C2=A0 comment: XXXXXXXXXX (this is phone number of the s=
ender fax
    machine, the hp officejet 8600 ...)<br>
    XXXXXXXXXX<br>
    XXXXXXXXXX<br>
    &lt;NONE&gt;<br>
    s<br>
    =C2=A0=C2=A0=C2=A0 date:create: 2015-08-31T14:31:32-04:00<br>
    =C2=A0=C2=A0=C2=A0 date:modify: 2015-08-31T14:31:32-04:00<br>
    =C2=A0=C2=A0=C2=A0 jpeg:sampling-factor: 2x2<br>
    =C2=A0=C2=A0=C2=A0 signature:
    d9a52dc88d222d7f4df63382e9dc1e5542898725a7f35fe7a1530c7810260da2<br>
    =C2=A0=C2=A0=C2=A0 tiff:endian: lsb<br>
    =C2=A0=C2=A0=C2=A0 tiff:hostcomputer: incredible<br>
    =C2=A0=C2=A0=C2=A0 tiff:make: <a class=3D"moz-txt-link-abbreviated" h=
ref=3D"http://WWW.SOFT-SWITCH.ORG">WWW.SOFT-SWITCH.ORG</a><br>
    =C2=A0=C2=A0=C2=A0 tiff:model: spandsp<br>
    =C2=A0=C2=A0=C2=A0 tiff:photometric: unknown<br>
    =C2=A0=C2=A0=C2=A0 tiff:rows-per-strip: 4294967295<br>
    =C2=A0=C2=A0=C2=A0 tiff:software: HylaFAX (tm) Version 6.0.6<br>
    =C2=A0=C2=A0=C2=A0 tiff:timestamp: 2015:08:31 14:11:35<br>
    =C2=A0 Artifacts:<br>
    =C2=A0=C2=A0=C2=A0 filename: fax000000009.tif<br>
    =C2=A0=C2=A0=C2=A0 verbose: true<br>
    =C2=A0 Tainted: False<br>
    =C2=A0 Filesize: 263KB<br>
    =C2=A0 Number pixels: 3.822M<br>
    =C2=A0 Pixels per second: 31.85MB<br>
    =C2=A0 User time: 0.110u<br>
    =C2=A0 Elapsed time: 0:01.119<br>
    =C2=A0 Version: ImageMagick 6.7.7-10 2014-03-06 Q16
    <a class=3D"moz-txt-link-freetext" href=3D"http://www.imagemagick.org=
">http://www.imagemagick.org</a><br>
    identify.im6: Sorry, can not handle image with <b>PhotometricInterpre=
tation=3D10</b>.
    `fax000000009.tif' @ error/tiff.c/TIFFErrors/508.<br>
    :~$<br>
    <br>
  </body>
</html>

--------------080203040009080807070007--


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*