brugno 8e01c8dd9a Patch level :
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :Primo commit del modulo


git-svn-id: svn://10.65.10.50/trunk@13958 c028cbd2-c16b-5b4b-a496-9718f37d4682
2006-05-04 16:36:51 +00:00

72 lines
1.6 KiB
C
Executable File

/*---------------------------------------------------------------------------*
| PDFlib - A library for generating PDF on the fly |
+---------------------------------------------------------------------------+
| Copyright (c) 1997-2005 Thomas Merz and PDFlib GmbH. All rights reserved. |
+---------------------------------------------------------------------------+
| |
| This software is subject to the PDFlib license. It is NOT in the |
| public domain. Extended versions and commercial licenses are |
| available, please check http://www.pdflib.com. |
| |
*---------------------------------------------------------------------------*/
/* $Id: p_jpx.c,v 1.1 2006-05-04 16:36:51 brugno Exp $
*
* JPEG2000 processing for PDFlib
*
*/
#include "p_intern.h"
#include "p_color.h"
#include "p_image.h"
#ifndef PDF_JPX_SUPPORTED
pdc_bool
pdf_is_JPX_file(PDF *p, pdc_file *fp)
{
(void) p;
(void) fp;
return pdc_false;
}
int
pdf_process_JPX_data(
PDF *p,
int imageslot)
{
(void) imageslot;
pdc_warning(p->pdc, PDF_E_UNSUPP_IMAGE, "JPEG2000", 0, 0, 0);
return -1;
}
#else
pdc_bool
pdf_is_JPX_file(PDF *p, pdc_file *fp)
{
(void) p;
(void) fp;
return pdc_false;
}
int
pdf_process_JPX_data(
PDF *p,
int imageslot)
{
(void) imageslot;
pdc_warning(p->pdc, PDF_E_UNSUPP_IMAGE, "JPEG2000", 0, 0, 0);
return -1;
}
#endif /* PDF_JPX_SUPPORTED */