Commit Graph

1924 Commits

Author SHA1 Message Date
John Cupitt 400a40ea28 oops vipsthumbnail memleak 2012-06-19 14:24:24 +01:00
John Cupitt 2f897315ad fix a crash with corrupted jpg files
three was a double-free crash with a scrambled jpg file, thanks Grigoriy
2012-06-19 08:52:06 +01:00
John Cupitt b0edbc0aa9 relocate a proto 2012-06-18 18:50:12 +01:00
John Cupitt f5134a2afd make vipsthumbnail use a sequential cache
it wasn't setting the sequential option in the line cache
2012-06-18 17:37:40 +01:00
John Cupitt fd98d100a9 use vips_flatten() in save
alpha is automatically flattened out if the save operation does not
support it
2012-06-18 17:26:50 +01:00
John Cupitt 70b14c2f1d add vips_flatten()
... background arg not quite working
2012-06-18 14:49:39 +01:00
John Cupitt 7061f0f00b put the shrink line cache back
so we can use THINSTRIP for the vips_shrink() operation
2012-06-18 09:19:31 +01:00
John Cupitt 2b432723f4 don't save RGBA as JPG CMYK 2012-06-18 09:08:02 +01:00
John Cupitt df572e092b use the new geneal seq mode
vipsthumbnail was using the prototype seq: mode stuff, make it use the
final seq system
2012-06-18 08:44:45 +01:00
John Cupitt f07fb25ab5 fix write RGBA as JPG
it was saving RGBA as CMYK JPG, with comical results (thanks Tobias)
2012-06-17 22:16:20 +01:00
John Cupitt fdd3b0a387 remove im_rightshift_size()
there's a deprecated wrapper now
2012-06-15 18:21:25 +01:00
John Cupitt c12bf31c12 oops proto 2012-06-15 14:21:33 +01:00
John Cupitt 0a74a34096 remove logging, fix shrink hint
vipsthumbnail works again now
2012-06-15 09:28:57 +01:00
John Cupitt c3ae8dafc0 remove the old im_shrink()
too much debugging still on though argh
2012-06-14 14:50:37 +01:00
John Cupitt 021ba9a01c sync 2012-06-14 09:31:05 +01:00
John Cupitt a2c37d10f0 sync 2012-06-13 09:45:32 +01:00
John Cupitt b3d5f90c78 update the :seq stuff in vipsthumbnail
vipsthumbnail was not enabling sequential mode for tiff and jpg formats
2012-06-13 09:40:33 +01:00
John Cupitt e286737042 vips_shrink done 2012-06-13 09:31:05 +01:00
John Cupitt e9504c28f1 start moving im_shrink() to a class 2012-06-12 14:52:49 +01:00
John Cupitt ff8ec789a0 oops fix compile break 2012-06-10 17:54:58 +01:00
John Cupitt 0e9b2e3168 Merge remote-tracking branch 'origin/7.28' 2012-06-09 10:37:30 +01:00
John Cupitt 7a79b1fb6b remove G_DEFINE_BOXED_TYPE() use
was glib-2.26+ only argh, thanks Jake
2012-06-09 10:31:01 +01:00
John Cupitt 2dde7ce256 Merge remote-tracking branch 'origin/7.28'
Conflicts:
	libvips/foreign/vips2tiff.c
	po/vips7.pot
2012-06-08 19:37:03 +01:00
John Cupitt 75a68100bd fix a crash in the tiff reader
some tiffs have HUGE values for RowsPerStrip ... clip these down to
avoid confusing later bits of vips

also, a better error msg for non-contig images
2012-06-07 13:54:05 +01:00
John Cupitt 1ee48e4cd6 add nocache flag, use for sequential file ops
stop it caching sequential file read (eg. sequential tiff read), since
you can only read sequentially once
2012-06-06 19:33:11 +01:00
John Cupitt b6f902560f add doc comments for vips_concurrency_*() 2012-06-03 13:01:21 +01:00
John Cupitt fc3d4192d7 tiff loader always offers thinstrip
the tiff loader now always offers thinstrip ... later stages can then
pick any demand style they like (thanks Diuming)
2012-06-03 11:44:03 +01:00
John Cupitt f65f9088f6 make jpeg pyr write work with tiff4
there was a problem with sizing tiles in chrominance subsample mode
2012-06-02 17:42:42 +01:00
John Cupitt d98f5a28fc we broke binary compat, bump library version
the extra object fields for the new argument mapping system broke binary
compat, bump ABI version
2012-06-01 17:45:50 +01:00
John Cupitt 3de5ec9078 Merge remote-tracking branch 'origin/7.28'
Conflicts:
	libvips/iofuncs/object.c
2012-06-01 14:22:10 +01:00
John Cupitt 2cf57c123d much faster vips_argument_map()
improve the way we handle looping over args, gets us back to 7.26 speed
for example workspaces
2012-06-01 14:20:20 +01:00
John Cupitt 2eb91cabac synv 2012-05-31 17:46:25 +01:00
John Cupitt b652a8b23d Merge branch 'master' of github.com:jcupitt/libvips 2012-05-31 14:50:31 +01:00
John Cupitt 3f76648a11 more vips_argument_map() fixups 2012-05-31 14:50:05 +01:00
John Cupitt a0b3573b59 speed up vips_argument_map() 2012-05-31 13:56:58 +01:00
John Cupitt 31eaeb5ad9 Merge remote-tracking branch 'origin/7.28' 2012-05-25 08:59:36 +01:00
John Cupitt faa2f820c6 use TIFF_CFLAGS
the new pkg-config tiff4 tester outputs TOFF_CFLAGS ... use it (thanks
Jay)
2012-05-25 08:58:40 +01:00
John Cupitt f19a9d9d6b Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
2012-05-17 14:08:57 +01:00
John Cupitt 5cbb049ec2 version bump 2012-05-17 11:16:46 +01:00
John Cupitt d5bd8d0de0 improve resolution unit handling in tiff save
the deprecated tiff saver used to use pixels/mm in resolution
specification, rather than the user's suggested unit
2012-05-17 11:13:38 +01:00
John Cupitt 9b12e73ffa spelling error 2012-05-17 09:55:19 +01:00
John Cupitt c394f54952 sync 2012-05-16 14:51:22 +01:00
John Cupitt bb1dcb97ee Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
2012-05-06 12:28:02 +01:00
John Cupitt 2bb7902ace add libtiff-4 test 2012-05-06 11:55:59 +01:00
John Cupitt f3dd9da50a Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
2012-04-19 21:39:25 +01:00
John Cupitt 2352ac1220 fix blend mode for ifthenelse
and a small blend speedup
2012-04-19 21:38:04 +01:00
John Cupitt 8e019730ba Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
	po/vips7.pot
2012-04-17 21:22:35 +01:00
John Cupitt abe43f3068 up max buf size
allows larger defs in nip2
2012-04-17 21:16:05 +01:00
John Cupitt 04c7f97cf4 prepare for release 2012-04-17 11:28:40 +01:00
John Cupitt 0b6058851f Merge pull request #13 from bgilbert/openslide-stable-fixes
Improve OpenSlide argument parsing for 7.28 stable branch
2012-04-12 04:24:36 -07:00