TMF Hg
changelog
- Mon, 14 Dec 2009 16:18:21 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 16:18:21 +0000] rev 172
- remove erroneous 0.33-philpem1 tag
- Mon, 14 Dec 2009 16:17:19 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 16:17:19 +0000] rev 171
- Added tag V0_33_philpem1 for changeset e375cda0342e
- Mon, 14 Dec 2009 16:17:02 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 16:17:02 +0000] rev 170
- change VERSION to 0.33-philpem1
- Mon, 14 Dec 2009 16:16:03 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 16:16:03 +0000] rev 169
- Added tag V0_33_philpem1 for changeset ad0b9a8990ac
- Mon, 14 Dec 2009 16:15:04 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 16:15:04 +0000] rev 168
- added support for TIFF Photometric Tag
- Mon, 14 Dec 2009 16:00:58 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 16:00:58 +0000] rev 167
- add hgignore file
- Mon, 14 Dec 2009 15:51:53 +0000
- by Philip Pemberton <philpem@philpem.me.uk> [Mon, 14 Dec 2009 15:51:53 +0000] rev 166
- Patched to add PNG and JP2 support.
Created-By: Daniel Glöckner <daniel-gl at gmx.net>
The attached patch adds PNG and JP2 support to tumble.
PNG:
As the deflated data is directly copied into the PDF, there are some
limitations to the list of supported images:
- bit depth <= 8
- no alpha channel
- no interlace
JP2:
The PDF Reference says JP2 is just a subset of the allowed JPX
format. I don't have a copy of the official standard, so I don't know
what to change to cover JPXes as well.
You'll need the Adobe Acrobat Reader 6 to display those images.
Xpdf and Ghostscript are missing the ColorSpace key in the image
dictionary, which is optional for JPXDecode and IMHO not just a matter
of a few lines of code.
One thing left to do is to change the PDF version to 1.5 if a JP2 file
has been given to tumble - maybe using the Version key in the Catalog
if seeking is not possible.
Using the resolution info in a JP2 (resc/resd boxes) is implemented but
untested. Jasper doesn't write those boxes.
I had to change the string handling to allow black in PNG palettes.
And there was a double free in tumble_input.c which happens when not
using control files.
Daniel
- Mon, 14 Dec 2009 15:44:55 +0000
- by convert-repo [Mon, 14 Dec 2009 15:44:55 +0000] rev 165
- update tags
- Sun, 21 Dec 2003 23:52:11 +0000
- by eric [Sun, 21 Dec 2003 23:52:11 +0000] rev 164
- fix svn:keywords property
- Tue, 09 Dec 2003 18:05:44 +0000
- by eric [Tue, 09 Dec 2003 18:05:44 +0000] rev 163
- fix sed regexp in bin-dist-rh for Red Hat 9 (no minor version).
- Tue, 09 Dec 2003 17:55:25 +0000
- by eric [Tue, 09 Dec 2003 17:55:25 +0000] rev 162
- include <stdbool.h> after <pbm.h> to avoid compile error on Red Hat 7.3.
- Tue, 09 Dec 2003 17:48:33 +0000
- by eric [Tue, 09 Dec 2003 17:48:33 +0000] rev 161
- add target for bin-dist-fc. remove rh_rel variable.
- Tue, 09 Dec 2003 17:40:54 +0000
- by eric [Tue, 09 Dec 2003 17:40:54 +0000] rev 160
- added CTL_LANG conditional.
- Mon, 18 Aug 2003 09:59:41 +0000
- by eric [Mon, 18 Aug 2003 09:59:41 +0000] rev 159
- added big-endian support
- Thu, 10 Apr 2003 09:02:12 +0000
- by eric [Thu, 10 Apr 2003 09:02:12 +0000] rev 158
- include tumble version in usage message.
- Thu, 10 Apr 2003 08:47:30 +0000
- by eric [Thu, 10 Apr 2003 08:47:30 +0000] rev 157
- first cut at PBM support.
- Tue, 25 Mar 2003 09:38:08 +0000
- by eric [Tue, 25 Mar 2003 09:38:08 +0000] rev 156
- support both big- and little-endian TIFF files. don't crash in close_input_file() if current_input_handler is NULL.
- Tue, 25 Mar 2003 09:36:56 +0000
- by eric [Tue, 25 Mar 2003 09:36:56 +0000] rev 155
- *** empty log message ***
- Thu, 20 Mar 2003 16:23:37 +0000
- by eric [Thu, 20 Mar 2003 16:23:37 +0000] rev 154
- handle bookmark hierarchy.
- Thu, 20 Mar 2003 15:26:16 +0000
- by eric [Thu, 20 Mar 2003 15:26:16 +0000] rev 153
- *** empty log message ***
- Thu, 20 Mar 2003 15:22:23 +0000
- by eric [Thu, 20 Mar 2003 15:22:23 +0000] rev 152
- recognize both big-endian and little-endian TIFF files.
- Thu, 20 Mar 2003 14:55:28 +0000
- by eric [Thu, 20 Mar 2003 14:55:28 +0000] rev 151
- added match_suffix() to input handlers.
- Thu, 20 Mar 2003 08:32:16 +0000
- by eric [Thu, 20 Mar 2003 08:32:16 +0000] rev 150
- fix return value in process_jpeg_image().
- Thu, 20 Mar 2003 08:26:18 +0000
- by eric [Thu, 20 Mar 2003 08:26:18 +0000] rev 149
- strip more extensions for bookmark names.
- Thu, 20 Mar 2003 08:20:52 +0000
- by eric [Thu, 20 Mar 2003 08:20:52 +0000] rev 148
- fix return values in process_tiff_image().
- Thu, 20 Mar 2003 07:53:09 +0000
- by eric [Thu, 20 Mar 2003 07:53:09 +0000] rev 147
- added color, width_samples, height_samples areguments to pdf_write_jpeg_image().
- Thu, 20 Mar 2003 07:52:25 +0000
- by eric [Thu, 20 Mar 2003 07:52:25 +0000] rev 146
- new release.
- Thu, 20 Mar 2003 07:44:53 +0000
- by eric [Thu, 20 Mar 2003 07:44:53 +0000] rev 145
- newline before endstream is NOT the responsibility of callback!
- Thu, 20 Mar 2003 07:06:35 +0000
- by eric [Thu, 20 Mar 2003 07:06:35 +0000] rev 144
- *** empty log message ***
- Thu, 20 Mar 2003 07:03:29 +0000
- by eric [Thu, 20 Mar 2003 07:03:29 +0000] rev 143
- no DEBUG in release version.
- Thu, 20 Mar 2003 07:02:28 +0000
- by eric [Thu, 20 Mar 2003 07:02:28 +0000] rev 142
- fix multiple close of input file.
- Thu, 20 Mar 2003 06:54:08 +0000
- by eric [Thu, 20 Mar 2003 06:54:08 +0000] rev 141
- more JPEG support. added input file handler API.
- Thu, 20 Mar 2003 01:08:05 +0000
- by eric [Thu, 20 Mar 2003 01:08:05 +0000] rev 140
- *** empty log message ***
- Wed, 19 Mar 2003 15:39:55 +0000
- by eric [Wed, 19 Mar 2003 15:39:55 +0000] rev 139
- more JPEG support.
- Sun, 16 Mar 2003 15:40:00 +0000
- by eric [Sun, 16 Mar 2003 15:40:00 +0000] rev 138
- Added README to binary distribution.
- Sun, 16 Mar 2003 15:36:54 +0000
- by eric [Sun, 16 Mar 2003 15:36:54 +0000] rev 137
- made test data width greater than 32, a multiple of 4, but not a multiple of 8. added printfs to clarify output.
- Sun, 16 Mar 2003 15:37:16 +0000
- by eric [Sun, 16 Mar 2003 15:37:16 +0000] rev 136
- added README, INSTALL.
- Sun, 16 Mar 2003 15:27:06 +0000
- by eric [Sun, 16 Mar 2003 15:27:06 +0000] rev 135
- fix shifting in flip_h().
- Sun, 16 Mar 2003 13:58:26 +0000
- by eric [Sun, 16 Mar 2003 13:58:26 +0000] rev 134
- spec files are now called control files.
- Fri, 14 Mar 2003 08:57:40 +0000
- by eric [Fri, 14 Mar 2003 08:57:40 +0000] rev 133
- specify page mode when file is closed rather than when it is initially created. if USE_OUTLINES but no bookmarks, use USE_NONE instead.
- Fri, 14 Mar 2003 08:56:38 +0000
- by eric [Fri, 14 Mar 2003 08:56:38 +0000] rev 132
- remove debug output.
- Fri, 14 Mar 2003 08:24:37 +0000
- by eric [Fri, 14 Mar 2003 08:24:37 +0000] rev 131
- finished implementing page labels.
- Fri, 14 Mar 2003 07:08:52 +0000
- by eric [Fri, 14 Mar 2003 07:08:52 +0000] rev 130
- bookmarks should only be created for first page in a group.
- Thu, 13 Mar 2003 11:50:59 +0000
- by eric [Thu, 13 Mar 2003 11:50:59 +0000] rev 129
- forgot 'rh' in name of binary tarball.
- Thu, 13 Mar 2003 11:44:34 +0000
- by eric [Thu, 13 Mar 2003 11:44:34 +0000] rev 128
- Changed output to PDF version 1.3. Added binary file hint. Producer field now has URL. Added PageLayout and OpenAction to catalog.
- Thu, 13 Mar 2003 11:42:46 +0000
- by eric [Thu, 13 Mar 2003 11:42:46 +0000] rev 127
- new URL in usage message.
- Thu, 13 Mar 2003 11:42:23 +0000
- by eric [Thu, 13 Mar 2003 11:42:23 +0000] rev 126
- added rules to build binary release tarballs for Red Hat Linux.
- Thu, 13 Mar 2003 08:57:05 +0000
- by eric [Thu, 13 Mar 2003 08:57:05 +0000] rev 125
- changed program name from t2p to tumble.
- Thu, 13 Mar 2003 08:03:11 +0000
- by eric [Thu, 13 Mar 2003 08:03:11 +0000] rev 124
- Acrobat 4.0 fails to optimize PDF files in which the Kids array in the Pages object is an indirect reference.
- Thu, 13 Mar 2003 08:00:21 +0000
- by eric [Thu, 13 Mar 2003 08:00:21 +0000] rev 123
- newline before endstream is responsibility of callback function.
- Thu, 13 Mar 2003 07:59:35 +0000
- by eric [Thu, 13 Mar 2003 07:59:35 +0000] rev 122
- write a newline after G4 data.
- Thu, 13 Mar 2003 07:59:10 +0000
- by eric [Thu, 13 Mar 2003 07:59:10 +0000] rev 121
- don't use page mode USE_OUTLINES if there are no outline entries.
- Thu, 13 Mar 2003 07:57:35 +0000
- by eric [Thu, 13 Mar 2003 07:57:35 +0000] rev 120
- *** empty log message ***
- Thu, 13 Mar 2003 07:57:21 +0000
- by eric [Thu, 13 Mar 2003 07:57:21 +0000] rev 119
- added pdf_write_text(), just a placeholder/debugging tool at the moment.
- Thu, 13 Mar 2003 06:56:57 +0000
- by eric [Thu, 13 Mar 2003 06:56:57 +0000] rev 118
- 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().
- Thu, 13 Mar 2003 03:39:38 +0000
- by eric [Thu, 13 Mar 2003 03:39:38 +0000] rev 117
- changed VERSION to 0.22.
- Thu, 13 Mar 2003 03:38:59 +0000
- by eric [Thu, 13 Mar 2003 03:38:59 +0000] rev 116
- fix code in generate_bookmark_name() that writes a null to the end of the bookmark name string.
- Thu, 13 Mar 2003 03:30:44 +0000
- by eric [Thu, 13 Mar 2003 03:30:44 +0000] rev 115
- change BIT_BUF_SIZE back to 4K, had been reduced to 1 for debugging.
- Wed, 12 Mar 2003 11:17:00 +0000
- by eric [Wed, 12 Mar 2003 11:17:00 +0000] rev 114
- remove the word 'copyright' from producer string in PDF file info.
- Wed, 12 Mar 2003 11:13:28 +0000
- by eric [Wed, 12 Mar 2003 11:13:28 +0000] rev 113
- don't declare variable in middle of block, makes older C compilers unhappy.
- Wed, 12 Mar 2003 11:08:10 +0000
- by eric [Wed, 12 Mar 2003 11:08:10 +0000] rev 112
- changed VERSION to 0.20.
- Wed, 12 Mar 2003 10:59:37 +0000
- by eric [Wed, 12 Mar 2003 10:59:37 +0000] rev 111
- *** empty log message ***
- Wed, 12 Mar 2003 10:59:29 +0000
- by eric [Wed, 12 Mar 2003 10:59:29 +0000] rev 110
- optimized g4_find_pixel().
- Wed, 12 Mar 2003 10:59:09 +0000
- by eric [Wed, 12 Mar 2003 10:59:09 +0000] rev 109
- changed word_type to word_t.
- Wed, 12 Mar 2003 10:58:33 +0000
- by eric [Wed, 12 Mar 2003 10:58:33 +0000] rev 108
- start of JPEG support. changed word_type to word_t.
- Wed, 12 Mar 2003 10:57:55 +0000
- by eric [Wed, 12 Mar 2003 10:57:55 +0000] rev 107
- start of JPEG support. removed prototype for non-existent pdf_insert_tiff_image().
- Wed, 12 Mar 2003 10:57:06 +0000
- by eric [Wed, 12 Mar 2003 10:57:06 +0000] rev 106
- start of JPEG support.
- Wed, 12 Mar 2003 09:52:09 +0000
- by eric [Wed, 12 Mar 2003 09:52:09 +0000] rev 105
- *** empty log message ***
- Wed, 12 Mar 2003 08:38:04 +0000
- by eric [Wed, 12 Mar 2003 08:38:04 +0000] rev 104
- updated copyright notice.
- Wed, 12 Mar 2003 08:18:04 +0000
- by eric [Wed, 12 Mar 2003 08:18:04 +0000] rev 103
- *** empty log message ***
- Wed, 12 Mar 2003 07:53:55 +0000
- by eric [Wed, 12 Mar 2003 07:53:55 +0000] rev 102
- made callback functions static.
- Wed, 12 Mar 2003 07:43:56 +0000
- by eric [Wed, 12 Mar 2003 07:43:56 +0000] rev 101
- moved pdf_new_XObject() from pdf_g4.c to pdf_prim.c.
- Wed, 12 Mar 2003 07:38:57 +0000
- by eric [Wed, 12 Mar 2003 07:38:57 +0000] rev 100
- remove unused SWAP macro.
- Wed, 12 Mar 2003 06:57:46 +0000
- by eric [Wed, 12 Mar 2003 06:57:46 +0000] rev 99
- changed g4_table_gen to generate both a header and a C source file (g4_tables.[ch]).
- Wed, 12 Mar 2003 06:40:34 +0000
- by eric [Wed, 12 Mar 2003 06:40:34 +0000] rev 98
- added include of <string.h>.
- Wed, 12 Mar 2003 06:39:22 +0000
- by eric [Wed, 12 Mar 2003 06:39:22 +0000] rev 97
- changed bitblt_table_gen.c to generate both a header and a C source file (bitblt_tables.[ch]).
- Wed, 12 Mar 2003 06:02:46 +0000
- by eric [Wed, 12 Mar 2003 06:02:46 +0000] rev 96
- removed get_row_run_lengths().
- Tue, 11 Mar 2003 11:14:39 +0000
- by eric [Tue, 11 Mar 2003 11:14:39 +0000] rev 95
- many bug fixes including bit ordering of output, search positions and polarities. added G4_DEBUG conditional.
- Mon, 10 Mar 2003 13:08:25 +0000
- by eric [Mon, 10 Mar 2003 13:08:25 +0000] rev 94
- Working on G4 encoding.
- Mon, 10 Mar 2003 09:58:34 +0000
- by eric [Mon, 10 Mar 2003 09:58:34 +0000] rev 93
- *** empty log message ***
- Mon, 10 Mar 2003 09:58:09 +0000
- by eric [Mon, 10 Mar 2003 09:58:09 +0000] rev 92
- Replaced all uses of float with double.
- Mon, 10 Mar 2003 09:49:50 +0000
- by eric [Mon, 10 Mar 2003 09:49:50 +0000] rev 91
- Moved g4 encoding functions from pdf library to bitblt library.
- Sat, 08 Mar 2003 10:02:13 +0000
- by eric [Sat, 08 Mar 2003 10:02:13 +0000] rev 90
- added separate conditional for Electric Fence (EFENCE). moved test programs into Maketest.
- Sat, 08 Mar 2003 09:31:23 +0000
- by eric [Sat, 08 Mar 2003 09:31:23 +0000] rev 89
- fixes to pdf_split_name_tree_node(). when splitting a non-leaf node, update children's parent field. recursively split upward if necessary.
- Sat, 08 Mar 2003 09:23:05 +0000
- by eric [Sat, 08 Mar 2003 09:23:05 +0000] rev 88
- fix bugs in pdf_split_name_tree_node().
- Sat, 08 Mar 2003 07:45:46 +0000
- by eric [Sat, 08 Mar 2003 07:45:46 +0000] rev 87
- more code for pdf_split_name_tree_node().
- Sat, 08 Mar 2003 07:23:49 +0000
- by eric [Sat, 08 Mar 2003 07:23:49 +0000] rev 86
- added conditionals for debug builds and static linking.
- Sat, 08 Mar 2003 06:52:09 +0000
- by eric [Sat, 08 Mar 2003 06:52:09 +0000] rev 85
- add linked list of name trees to struct pdf_file, and finalize all name trees when PDF file is closed.
- Fri, 07 Mar 2003 11:35:36 +0000
- by eric [Fri, 07 Mar 2003 11:35:36 +0000] rev 84
- more work on pdf_add_tree_element().
- Fri, 07 Mar 2003 11:28:45 +0000
- by eric [Fri, 07 Mar 2003 11:28:45 +0000] rev 83
- more work on pdf_add_tree_element().
- Fri, 07 Mar 2003 11:02:31 +0000
- by eric [Fri, 07 Mar 2003 11:02:31 +0000] rev 82
- added pdf_compare_obj().
- Fri, 07 Mar 2003 11:02:12 +0000
- by eric [Fri, 07 Mar 2003 11:02:12 +0000] rev 81
- added noreturn attribute to pdf_fatal().
- Fri, 07 Mar 2003 10:16:08 +0000
- by eric [Fri, 07 Mar 2003 10:16:08 +0000] rev 80
- added name trees and number trees.
- Wed, 05 Mar 2003 20:56:25 +0000
- by eric [Wed, 05 Mar 2003 20:56:25 +0000] rev 79
- move struct pdf_bookmark from pdf_private.h into pdf_bookmark.c.
- Wed, 05 Mar 2003 20:44:33 +0000
- by eric [Wed, 05 Mar 2003 20:44:33 +0000] rev 78
- correct copyright years on recently created source files.
- Wed, 05 Mar 2003 20:39:50 +0000
- by eric [Wed, 05 Mar 2003 20:39:50 +0000] rev 77
- added count field to struct pdf_bookmark.
- Wed, 05 Mar 2003 02:26:43 +0000
- by eric [Wed, 05 Mar 2003 02:26:43 +0000] rev 76
- fixed Count for closed bookmarks, doesn't contribute to parent's Count.
- Wed, 05 Mar 2003 02:09:49 +0000
- by eric [Wed, 05 Mar 2003 02:09:49 +0000] rev 75
- Added support for PageMode.
- Wed, 05 Mar 2003 01:58:36 +0000
- by eric [Wed, 05 Mar 2003 01:58:36 +0000] rev 74
- added bookmark support.
- Wed, 05 Mar 2003 01:58:31 +0000
- by eric [Wed, 05 Mar 2003 01:58:31 +0000] rev 73
- *** empty log message ***
- Sun, 23 Feb 2003 17:40:41 +0000
- by eric [Sun, 23 Feb 2003 17:40:41 +0000] rev 72
- get_row_run_lengths() now fills in an array of run_t to provide more information.
- Sat, 22 Feb 2003 10:02:06 +0000
- by eric [Sat, 22 Feb 2003 10:02:06 +0000] rev 71
- Generate G4 tables from strings of ones and zeros.
- Fri, 21 Feb 2003 12:29:16 +0000
- by eric [Fri, 21 Feb 2003 12:29:16 +0000] rev 70
- updated HDRS
- Fri, 21 Feb 2003 12:28:37 +0000
- by eric [Fri, 21 Feb 2003 12:28:37 +0000] rev 69
- GPL
- Fri, 21 Feb 2003 12:28:06 +0000
- by eric [Fri, 21 Feb 2003 12:28:06 +0000] rev 68
- g4 tables
- Fri, 21 Feb 2003 10:49:11 +0000
- by eric [Fri, 21 Feb 2003 10:49:11 +0000] rev 67
- changed pdf_calloc() to take two args like ordinary calloc(). added pdf_stream_write_bits() and pdf_stream_flush_bits().
- Fri, 21 Feb 2003 09:25:47 +0000
- by eric [Fri, 21 Feb 2003 09:25:47 +0000] rev 66
- implemented ImageMask fill color arguments to pdf_write_g4_fax_image().
- Fri, 21 Feb 2003 09:12:05 +0000
- by eric [Fri, 21 Feb 2003 09:12:05 +0000] rev 65
- *** empty log message ***
- Fri, 21 Feb 2003 09:01:33 +0000
- by eric [Fri, 21 Feb 2003 09:01:33 +0000] rev 64
- added image position and size arguments to pdf_write_g4_fax_image.
- Fri, 21 Feb 2003 08:49:11 +0000
- by eric [Fri, 21 Feb 2003 08:49:11 +0000] rev 63
- GPL.
- Thu, 20 Feb 2003 12:44:17 +0000
- by eric [Thu, 20 Feb 2003 12:44:17 +0000] rev 62
- my own PDF routines to replace Panda.
- Thu, 20 Feb 2003 12:21:10 +0000
- by eric [Thu, 20 Feb 2003 12:21:10 +0000] rev 61
- my own PDF routines to replace Panda.
- Thu, 20 Feb 2003 12:20:28 +0000
- by eric [Thu, 20 Feb 2003 12:20:28 +0000] rev 60
- fix includes.
- Thu, 20 Feb 2003 12:16:00 +0000
- by eric [Thu, 20 Feb 2003 12:16:00 +0000] rev 59
- my own PDF routines to replace Panda.
- Thu, 20 Feb 2003 12:11:35 +0000
- by eric [Thu, 20 Feb 2003 12:11:35 +0000] rev 58
- only need a single table for run length encoding now.
- Thu, 20 Feb 2003 12:11:06 +0000
- by eric [Thu, 20 Feb 2003 12:11:06 +0000] rev 57
- added run length encoding function.
- Wed, 19 Feb 2003 10:34:35 +0000
- by eric [Wed, 19 Feb 2003 10:34:35 +0000] rev 56
- added code to generate RLE tables.
- Wed, 19 Feb 2003 10:20:05 +0000
- by eric [Wed, 19 Feb 2003 10:20:05 +0000] rev 55
- fix error reporting in process_specs(). rename some functions for clarity.
- Wed, 19 Feb 2003 10:17:12 +0000
- by eric [Wed, 19 Feb 2003 10:17:12 +0000] rev 54
- *** empty log message ***
- Wed, 19 Feb 2003 10:14:49 +0000
- by eric [Wed, 19 Feb 2003 10:14:49 +0000] rev 53
- rename br.c to bitblt_table_gen.c, and integrate use of it into build process