1
0
mirror of synced 2026-04-30 13:41:51 +00:00

added input and output attribute structures as arguments to process_page().

This commit is contained in:
Eric Smith
2001-12-31 08:25:04 +00:00
parent 4daad7a7e1
commit 77e703ecbe
4 changed files with 40 additions and 20 deletions

6
t2p.c
View File

@@ -1,7 +1,7 @@
/*
* tiffg4: reencode a bilevel TIFF file as a single-strip TIFF Class F Group 4
* Main program
* $Id: t2p.c,v 1.5 2001/12/30 09:09:08 eric Exp $
* $Id: t2p.c,v 1.6 2001/12/31 00:25:04 eric Exp $
* Copyright 2001 Eric Smith <eric@brouhaha.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -80,7 +80,9 @@ boolean open_pdf_output_file (char *name)
}
boolean process_page (int image) /* range 1 .. n */
boolean process_page (int image, /* range 1 .. n */
input_attributes_t input_attributes,
output_attributes_t output_attributes)
{
u32 image_length, image_width;
#ifdef CHECK_DEPTH