d4a9738667
Remove the odd/even page stuff, which was of almost no utlity.
master
Eric Smith
2022-06-07 17:54:25 -06:00
0fa4379a17
Update version for 0.38 release.
v0.38
Eric Smith
2022-05-06 01:58:23 -06:00
2337b1def4
Added imagemask support. Style changes.
Eric Smith
2022-05-04 23:21:06 -06:00
d452544805
Fix output context chain. last_output_context was not getting updated, so everything was going into a single output context.
Eric Smith
2022-05-03 23:39:13 -06:00
20cf242661
Allow g4 images generated from PBM files to have colormap and transparency, like those from TIFF files.
Eric Smith
2022-05-03 23:35:52 -06:00
061a017018
Fix issues with C stdio stream and Unix FD getting out of sync when rewind() is used.
v0.37
Eric Smith
2022-04-28 21:37:24 -06:00
5b451610a9
Because progress is written to stderr with only CR (to overprint), at completion output a proper newline.
Eric Smith
2022-04-28 21:36:26 -06:00
7589c805f2
Remove claim that big-endian hosts are not supported; pkubaj says in github issue 11 that it works.
Eric Smith
2022-04-28 21:00:10 -06:00
5b1d2b6675
Add missing extern for variable blank_handler.
Eric Smith
2022-04-28 20:39:49 -06:00
0f086e044d
Init height and width to avoid warnings.
Eric Smith
2022-04-28 20:38:57 -06:00
48badfdcd3
Fix forward declaration of yyin.
Eric Smith
2022-04-28 20:38:30 -06:00
de94914387
Update for newer bison.
Eric Smith
2022-04-28 20:35:16 -06:00
357172fc8e
Merge pull request #6 from philpem/fix-png-switchstmt
Eric Smith
2020-05-26 14:12:55 -06:00
4d3f6a32f5
Merge pull request #5 from philpem/marcespie-fix-g4-absdiff
Eric Smith
2020-05-26 14:12:00 -06:00
f9bd928d8a
Merge pull request #4 from philpem/fix-libnetpbm
Eric Smith
2020-05-26 14:11:18 -06:00
acca06eefc
fix use of switch-case on a boolean
Phil Pemberton
2020-05-26 18:46:16 +01:00
8827eb886c
make libnetpbm import work on Ubuntu/Debian (upstream #1)
Phil Pemberton
2020-05-26 18:31:19 +01:00
ff881377d8
Fix upstream #3, bring in marcespie's G4 patch
Phil Pemberton
2020-05-26 18:13:27 +01:00
986047af9b
Minor updates.
v0.36
Eric Smith
2017-12-27 11:15:09 -07:00
d526c45a52
Fix problem with image_info->{width,height}_samples not being set. Add rotation.
Eric Smith
2017-06-09 22:02:47 -06:00
cf429f859f
Add missing include of <string.h>.
Eric Smith
2017-06-09 22:02:01 -06:00
06bdecfc18
Move resize_bitmap() and rotate_bitmap() into bitblt.[ch]. Add horribly inefficient implementation of transpose().
Eric Smith
2017-06-09 22:01:38 -06:00
16e12a6059
Add CHANGELOG.md.
v0.35
Eric Smith
2016-06-23 21:01:41 -06:00
e4b1297e1e
Add CHANGELOG.md.
Eric Smith
2016-06-23 21:01:41 -06:00
de75d376b7
Add very many enhancements by J. David Bryan.
v0.34
Eric Smith
2016-06-23 20:39:37 -06:00
10c4f6846c
Add very many enhancements by J. David Bryan.
Eric Smith
2016-06-23 20:39:37 -06:00
8f547d6a03
Merge more release 0.33 changes which were apparently missing in svn import.
Eric Smith
2016-06-23 20:33:44 -06:00
a355304f3d
Merge more release 0.33 changes which were apparently missing in svn import.
Eric Smith
2016-06-23 20:33:44 -06:00
4214fdecc2
Merge release 0.33 changes which were apparently missing in svn import.
Eric Smith
2016-06-23 20:23:49 -06:00
37fad8125d
Merge release 0.33 changes which were apparently missing in svn import.
Eric Smith
2016-06-23 20:23:49 -06:00
f3d9963b98
Add missing semicolons.
Eric Smith
2016-06-23 19:56:28 -06:00
9b985f4e23
Add .gitignore.
Eric Smith
2016-06-23 19:56:13 -06:00
42e34ac141
Change pbm to netpbm.
Eric Smith
2016-06-23 19:55:22 -06:00
cdc73fc944
added big-endian support
Eric Smith
2003-08-18 09:59:41 +00:00
9f01e74221
include tumble version in usage message.
Eric Smith
2003-04-10 09:02:12 +00:00
7e6f49d464
first cut at PBM support.
Eric Smith
2003-04-10 08:47:30 +00:00
e379c29f49
support both big- and little-endian TIFF files. don't crash in close_input_file() if current_input_handler is NULL.
Eric Smith
2003-03-25 09:38:08 +00:00
d4dcb359e6
*** empty log message ***
Eric Smith
2003-03-25 09:36:56 +00:00
7e9bf6c153
handle bookmark hierarchy.
Eric Smith
2003-03-20 16:23:37 +00:00
b8db3757a3
*** empty log message ***
Eric Smith
2003-03-20 15:26:16 +00:00
a5d4200f24
recognize both big-endian and little-endian TIFF files.
Eric Smith
2003-03-20 15:22:23 +00:00
d7d4fa0632
added match_suffix() to input handlers.
Eric Smith
2003-03-20 14:55:28 +00:00
2582aa64a8
fix return value in process_jpeg_image().
Eric Smith
2003-03-20 08:32:16 +00:00
1f6e70d6b7
strip more extensions for bookmark names.
Eric Smith
2003-03-20 08:26:18 +00:00
e2298fcbe8
fix return values in process_tiff_image().
Eric Smith
2003-03-20 08:20:52 +00:00
dccd163653
added color, width_samples, height_samples areguments to pdf_write_jpeg_image().
Eric Smith
2003-03-20 07:53:09 +00:00
e9915ad10f
new release.
Eric Smith
2003-03-20 07:52:25 +00:00
d53923b70c
newline before endstream is NOT the responsibility of callback!
Eric Smith
2003-03-20 07:44:53 +00:00
af42666d8e
*** empty log message ***
Eric Smith
2003-03-20 07:06:35 +00:00
51f0ed1b9e
no DEBUG in release version.
Eric Smith
2003-03-20 07:03:29 +00:00
67e3ee737e
fix multiple close of input file.
Eric Smith
2003-03-20 07:02:28 +00:00
e08fd46185
more JPEG support. added input file handler API.
Eric Smith
2003-03-20 06:54:08 +00:00
e68a6fb9a0
*** empty log message ***
Eric Smith
2003-03-20 01:08:05 +00:00
0a019217f0
more JPEG support.
Eric Smith
2003-03-19 15:39:55 +00:00
01a019cccf
Added README to binary distribution.
Eric Smith
2003-03-16 15:40:00 +00:00
6288ecf2fe
made test data width greater than 32, a multiple of 4, but not a multiple of 8. added printfs to clarify output.
Eric Smith
2003-03-16 15:36:54 +00:00
6aaa9abd6e
added README, INSTALL.
Eric Smith
2003-03-16 15:37:16 +00:00
51bbc58242
fix shifting in flip_h().
Eric Smith
2003-03-16 15:27:06 +00:00
689162e415
spec files are now called control files.
Eric Smith
2003-03-16 13:58:26 +00:00
04bbb05a98
specify page mode when file is closed rather than when it is initially created. if USE_OUTLINES but no bookmarks, use USE_NONE instead.
Eric Smith
2003-03-14 08:57:40 +00:00
8c311a35a8
remove debug output.
Eric Smith
2003-03-14 08:56:38 +00:00
815c31a469
finished implementing page labels.
Eric Smith
2003-03-14 08:24:37 +00:00
251a2dc7ac
bookmarks should only be created for first page in a group.
Eric Smith
2003-03-14 07:08:52 +00:00
0f24706e6d
forgot 'rh' in name of binary tarball.
Eric Smith
2003-03-13 11:50:59 +00:00
3cc97d18d1
Changed output to PDF version 1.3. Added binary file hint. Producer field now has URL. Added PageLayout and OpenAction to catalog.
Eric Smith
2003-03-13 11:44:34 +00:00
ead2496eef
new URL in usage message.
Eric Smith
2003-03-13 11:42:46 +00:00
50e0b91550
added rules to build binary release tarballs for Red Hat Linux.
Eric Smith
2003-03-13 11:42:23 +00:00
22dcb1616b
changed program name from t2p to tumble.
Eric Smith
2003-03-13 08:57:05 +00:00
5b99cc508d
Acrobat 4.0 fails to optimize PDF files in which the Kids array in the Pages object is an indirect reference.
Eric Smith
2003-03-13 08:03:11 +00:00
44df940e94
newline before endstream is responsibility of callback function.
Eric Smith
2003-03-13 08:00:21 +00:00
1da2a17da3
write a newline after G4 data.
Eric Smith
2003-03-13 07:59:35 +00:00
3aea0e5255
don't use page mode USE_OUTLINES if there are no outline entries.
Eric Smith
2003-03-13 07:59:10 +00:00
96fd3bd79f
*** empty log message ***
Eric Smith
2003-03-13 07:57:35 +00:00
b48791c77d
added pdf_write_text(), just a placeholder/debugging tool at the moment.
Eric Smith
2003-03-13 07:57:21 +00:00
dcee44c614
updated pdf_write_g4_fax_image() to add ImageB to page ProcSet array. Added pdf_add_array_elem_unique() function. Added support for name objects to pdf_compare_obj().
Eric Smith
2003-03-13 06:56:57 +00:00
5f69885127
changed VERSION to 0.22.
Eric Smith
2003-03-13 03:39:38 +00:00
e553bcb350
fix code in generate_bookmark_name() that writes a null to the end of the bookmark name string.
Eric Smith
2003-03-13 03:38:59 +00:00
7eaecce022
change BIT_BUF_SIZE back to 4K, had been reduced to 1 for debugging.
Eric Smith
2003-03-13 03:30:44 +00:00
cd0c2ee0f3
remove the word 'copyright' from producer string in PDF file info.
Eric Smith
2003-03-12 11:17:00 +00:00
b29dc1a052
don't declare variable in middle of block, makes older C compilers unhappy.
Eric Smith
2003-03-12 11:13:28 +00:00
c0ce282898
changed VERSION to 0.20.
Eric Smith
2003-03-12 11:08:10 +00:00
0f77e796ee
*** empty log message ***
Eric Smith
2003-03-12 10:59:37 +00:00
59d9944997
optimized g4_find_pixel().
Eric Smith
2003-03-12 10:59:29 +00:00
4a2d824d07
changed word_type to word_t.
Eric Smith
2003-03-12 10:59:09 +00:00
8baecb297c
start of JPEG support. changed word_type to word_t.
Eric Smith
2003-03-12 10:58:33 +00:00
6bb1aa8a93
start of JPEG support. removed prototype for non-existent pdf_insert_tiff_image().
Eric Smith
2003-03-12 10:57:55 +00:00
8aa6b77b28
start of JPEG support.
Eric Smith
2003-03-12 10:57:06 +00:00
bd84c16a7e
*** empty log message ***
Eric Smith
2003-03-12 09:52:09 +00:00
01d410d61a
updated copyright notice.
Eric Smith
2003-03-12 08:38:04 +00:00
c959fbdd2d
*** empty log message ***
Eric Smith
2003-03-12 08:18:04 +00:00
625d69890b
made callback functions static.
Eric Smith
2003-03-12 07:53:55 +00:00
69e1ef7d46
moved pdf_new_XObject() from pdf_g4.c to pdf_prim.c.
Eric Smith
2003-03-12 07:43:56 +00:00
181e12efc9
remove unused SWAP macro.
Eric Smith
2003-03-12 07:38:57 +00:00
a6d0df742a
changed g4_table_gen to generate both a header and a C source file (g4_tables.[ch]).
Eric Smith
2003-03-12 06:57:46 +00:00
580fcb0b0f
added include of <string.h>.
Eric Smith
2003-03-12 06:40:34 +00:00
47043c1e69
changed bitblt_table_gen.c to generate both a header and a C source file (bitblt_tables.[ch]).
Eric Smith
2003-03-12 06:39:22 +00:00
65e20c5448
removed get_row_run_lengths().
Eric Smith
2003-03-12 06:02:46 +00:00
08f6a2fa13
many bug fixes including bit ordering of output, search positions and polarities. added G4_DEBUG conditional.
Eric Smith
2003-03-11 11:14:39 +00:00
7377a4de00
Working on G4 encoding.
Eric Smith
2003-03-10 13:08:25 +00:00
94dc23e0a9
*** empty log message ***
Eric Smith
2003-03-10 09:58:34 +00:00