Files correlati : pdflib Ricompilazione Demo : [ ] Commento : Aggiornata PDFlib git-svn-id: svn://10.65.10.50/trunk@17433 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			74 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
/*---------------------------------------------------------------------------*
 | 
						|
 |              PDFlib - A library for generating PDF on the fly             |
 | 
						|
 +---------------------------------------------------------------------------+
 | 
						|
 | Copyright (c) 1997-2006 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.3 2008-10-20 14:34:15 guy 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_set_errmsg(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_set_errmsg(p->pdc, PDF_E_UNSUPP_IMAGE, "JPEG2000", 0, 0, 0);
 | 
						|
 | 
						|
    return -1;
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
 | 
						|
#endif /* PDF_JPX_SUPPORTED */
 | 
						|
 |