Color Fax functionality includes enhancements to the R4 Fax API Library to support sending and receiving of JPEG files to and from Group 3 color fax devices.
Features of the Basic Color Fax include the following:
The following baseline JPEG options are supported (as defined in ITU Rec. T.4 Annex E):
7.6.2. Using the Fax API Library for Color FaxThis section includes information about the Fax API library used for color fax.
The R4 FAX API allows you to control many aspects of the T.30 protocol. The only commands you have to configure are the line settings:
The basic approach is to extend FC_TXCODING:
#define DF_MH 0 // 1-D Group 3 Modified Huffmann encoding #define DF_MR 1 // 2-D Group 3, T.4 Modified Read encoding #define DF_MMR 2 // T.6 Modified Modified Read encoding #define DF_JPEG_GREY 3 // set ECM and T6 + JPEG (<--- ignore DF_ECM value) #define DF_JPEG_COLOR 4 // set ECM and T6 + JPEG Full Color #define DF_ECM 0x8000 // OR with FC_TXCODING value to use ECM
This is valid for sending and receiving.
Sending a JPEG Fax Iott->io_type = IO_DEV | IO_EOT;
Iott->io_fhandle = dx_fileopen("d:\\F21_200.jpg", _O_RDONLY | _O_BINARY , 0);
Iott->io_bufferp = NULL;
Iott->io_offset = 0;
Iott->io_length = -1;
Iott->io_nextp = (DF_IOTT *) NULL;
Iott->io_prevp = (DF_IOTT *) NULL;
Iott->io_width = DF_WID1728;
Iott->io_resln = DF_RESHI;
Iott->io_coding = DF_JPEG_COLOR (for JPEG: DF_JPEG_GREY or DF_JPEG_COLOR)
Iott->io_phdcont = DFC_AUTO;
Iott->io_datatype = DF_RAW #(mandatory for a JPEG)
Sending a JPEG-only File FC_TXCODING set to DF_JPEG_COLOR
JPEG Color
(MPS)
JPEG Color
(MPS)
JPEG Color
(EOP)
Additional information:
Receiving a JPEG File
Receiving a JPEG Fax FIS_PrmJPEG_JP_JPEG | FIS_PrmJPEG_JP_FULL_COLOR
DCS = QFC3_MsgReportCapsEvt_JPEG_JP_DISABLED
ATFX_CODING = DF_MH, DF_MR or DF_MMR
-> receive raw file
EOM
DCS = QFC3_MsgReportCapsEvt_JPEG_JP_JPEG
ATFX_CODING = DF_JPEG_GREY
-> receive raw file
EOM
DCS = QFC3_MsgReportCapsEvt_JPEG_JP_FULL_COLOR
ATFX_CODING = DF_JPEG_GREY
-> receive raw file
EOP
Click here to contact Dialogic Customer Engineering
Copyright 2002, Intel Corporation