Commit Graph

2437 Commits

Author SHA1 Message Date
John Cupitt
e8c4188936 be more forgiving about x values
buildlut() would fail if rounding moved some of your x values away from
ints
2013-12-10 14:56:14 +00:00
John Cupitt
d7037618fc use a define for PATH_MAX
add VIPS_PATH_MAX, a long-enough-for-almost-any-path buffer size

we ought to switch to dynamic paths really ... do this when we fix
filename encoding
2013-12-01 12:18:16 +00:00
John Cupitt
53562905d4 remove use of PATH_MAX
helps gnu hurd, thanks Jay
2013-11-28 09:05:53 +00:00
John Cupitt
7a5af8b610 allow larger tile_size in dzsave
bump the tile_size limit up, thanks Petter Ranefall
2013-11-20 15:27:47 +00:00
John Cupitt
88b2f4350d better cache sizing in unbuffered sequential mode
Previously we only ever had a single tile of cache in unbuffered mode.
This could break with many threads, if thread requests crossed tile
boundaries.

Now have one tile per thread, plus a bit for slop.
2013-11-20 14:46:46 +00:00
John Cupitt
4065ec925c add im_init_world() entry point
C++ programs need this as a function rather than just a macro, see
VImage.h

thanks Phil for finding this
2013-11-16 12:57:05 +00:00
John Cupitt
3380f15da5 fix --delete option to vipsthumbnail
oops, ! missing
2013-11-09 13:10:11 +00:00
John Cupitt
f8f61fedf3 operation flags were not disjoint
meaning CACHE / NOCACHE was not working correctly
2013-11-09 11:54:33 +00:00
John Cupitt
63c1efc3b4 fix blocking of caching of seq load
we were setting nocache too late for the cache to see, move nocache
logic to _build()
2013-11-09 11:38:32 +00:00
John Cupitt
ebae3f7ed3 use g_mkdir()
we had our own compat stuff, use the g_() one instead
2013-10-28 21:21:19 +00:00
John Cupitt
3dce5951c2 reverse similarity rotation direction convention
The rest of vips uses +ve-is-clockwise convention, like almost all image
processing packages. The new similarity operator was mistakenly using the
mathematical +ve-is-anticlockwise convention, oops.
2013-10-25 12:56:24 +01:00
John Cupitt
ece34465f0 fix compiler warnings
13.10 produces a few new ones
2013-10-18 09:13:24 +01:00
John Cupitt
ec603594c1 another small boolean fix
fixes a break on OS X with IJG jpeg
2013-10-17 09:43:18 +01:00
John Cupitt
abfb5a5fc5 rename jpeg bool type
another attempt at fixing this mess
2013-10-15 21:33:59 +01:00
John Cupitt
a1ffdbf7c5 version bump 2013-10-15 13:58:54 +01:00
John Cupitt
db9d4e53a7 bool type was wrong
IM expects a uchar, thanks mvgulik
2013-10-15 13:57:04 +01:00
John Cupitt
d89007a8d4 catch jpeg startup errors
thanks mvgulik
2013-10-15 13:47:15 +01:00
John Cupitt
3874bd3c90 typo 2013-10-07 17:06:42 +01:00
John Cupitt
6c0eced22c build fixes for OS X
stupid libjpeg and their stupid bool type argh
2013-10-04 11:54:01 +01:00
John Cupitt
3afaaaf29e fix up po/ 2013-10-03 15:00:03 +01:00
John Cupitt
8ef91f8df9 version bump ready for 7.36 2013-10-03 13:02:20 +01:00
John Cupitt
439522a254 add vips_similarity()
simple wrapper over vips_affine() that lets you give the matrix as scale
+ angle.
2013-10-03 11:56:35 +01:00
John Cupitt
aaa418ee22 revise TODO 2013-10-03 08:59:46 +01:00
John Cupitt
57b6622690 track local mem allocs for debugging 2013-10-02 21:20:41 +01:00
John Cupitt
75b47962ef remove some orphaned code 2013-10-02 21:11:29 +01:00
John Cupitt
45ccf7f5cb small oopes 2013-10-02 13:38:28 +01:00
John Cupitt
1c55abca1f add --band arg to maplut
you can chose to map just one band of @in through a one-band lut, use
for adjusting L in a LAB image, for example
2013-10-02 12:10:30 +01:00
John Cupitt
0fcff235b3 deprecate im_tone_map() and im_tone_analyze()
too trivial and specialised to be worth redoing
2013-10-02 10:36:00 +01:00
John Cupitt
d329fb165d im_ismonotonic() becomes a class 2013-10-02 10:16:46 +01:00
John Cupitt
81bd3c1b53 more cosmetic 2013-10-02 05:51:14 +01:00
John Cupitt
881c6d72f5 cosmetic 2013-10-02 05:32:17 +01:00
John Cupitt
90c7e6a291 Merge remote-tracking branch 'origin/master' 2013-10-02 05:21:32 +01:00
John Cupitt
feb72b2a5a vips_conv() should work 2013-10-02 05:21:11 +01:00
John Cupitt
e888b68684 Merge pull request #76 from lovell/master
Add optional optimize_coding param to JPEG output methods to compute optimal Huffman coding tables, defaults to FALSE.
2013-10-01 21:20:30 -07:00
Lovell Fuller
7a88c55355 Add optional optimize_coding param to JPEG output methods to compute optimal Huffman coding tables, defaults to FALSE. 2013-10-01 22:48:02 +01:00
John Cupitt
45a9e417f4 start vips_conv() 2013-10-01 14:26:13 +01:00
John Cupitt
461d619cde ... another vipsthumbnail fix
and it now warns about use of the old "sequential" flag
2013-10-01 13:31:42 +01:00
John Cupitt
35e8e63829 small tiff write fix
from recent reworking
2013-10-01 12:16:24 +01:00
John Cupitt
dfe2ddf6c5 oops anotehr vipsthumbnail fix
since "strategy" is now named "access"
2013-10-01 11:23:42 +01:00
John Cupitt
f23387ea67 oops fix compile break 2013-09-30 15:26:44 +01:00
John Cupitt
440b800e0e add a new unbuffered seq mode
things like

	vips copy huge.png x.v

now run with only a small line cache
2013-09-29 11:04:11 +01:00
John Cupitt
e5ba019942 start adding unbuffered sequential mode 2013-09-27 14:47:04 +01:00
John Cupitt
6706fef52b fix onebit scanline read 2013-09-27 14:01:49 +01:00
John Cupitt
608170f00e alloc larger tiles for tiff read 2013-09-26 21:50:06 +01:00
John Cupitt
d28fe365a6 todo update 2013-09-26 13:12:04 +01:00
John Cupitt
4e02907898 sanity check for tiled tiffs too 2013-09-26 12:17:28 +01:00
John Cupitt
425060a1d0 fix tiff load for plane-separate images
need an extra case in geometry sanity check
2013-09-26 11:58:46 +01:00
John Cupitt
d435a5c14d todo update 2013-09-25 18:25:11 +01:00
John Cupitt
111a82c06e possible fix for tiff write assert fail 2013-09-25 12:57:36 +01:00
John Cupitt
6641d70652 debugging notes 2013-09-25 09:49:12 +01:00