Commit Graph

2742 Commits

Author SHA1 Message Date
John Cupitt ffed43dffe add basic auto-rotate support to vipsthumbnail 2014-03-06 19:39:18 +00:00
John Cupitt 7ed644789c Merge branch 'master' of github.com:jcupitt/libvips 2014-03-06 16:04:05 +00:00
John Cupitt 28b6602683 Merge remote-tracking branch 'origin/7.38'
Conflicts:
	ChangeLog
	configure.ac
2014-03-06 16:03:33 +00:00
John Cupitt 62307d18ef fix to vips_grey() --uchar 2014-03-06 13:56:12 +00:00
John Cupitt 1cf0768f94 clean up the vipsthumbnail fix
nicer way to copy the metadata
2014-03-05 11:41:16 +00:00
John Cupitt 4be4f9f0ff vipsthumbnail copies metadata to embedded thumb
when working from the embedded thumbnail, vipsthumbnail now copies the
metadata from the main image onto the thumbnail

see

https://github.com/jcupitt/libvips/issues/109

thanks ottob
2014-03-04 14:36:49 +00:00
John Cupitt 499b977043 back out the complex linear stuff
needs cooking for a while longer in a branch
2014-03-04 14:32:43 +00:00
John Cupitt 7460f6ee20 note ottob bug 2014-02-28 13:29:52 +00:00
John Cupitt 9e8798d541 sync 2014-02-25 18:56:16 +00:00
John Cupitt 1e698b403d Merge remote-tracking branch 'origin/7.38' 2014-02-25 18:55:30 +00:00
John Cupitt 4f22878215 backport the webp load from buffer fix 2014-02-25 16:21:44 +00:00
John Cupitt 86031879a0 notes 2014-02-25 13:25:37 +00:00
John Cupitt bc2bfd489b Merge remote-tracking branch 'origin/7.38' 2014-02-25 13:21:41 +00:00
John Cupitt e32354bf4b Merge remote-tracking branch 'origin/7.38' 2014-02-25 13:20:53 +00:00
John Cupitt 594af28c8e remove support for seq mode read for extract etc.
see comment in sequential

We used to not stall if the read position was zero, ie. if the first
request was for a line some way down the image, and assume this was
extract or somesuch. But this could sometimes break on busy, many-core
systems.

Think of a better way to support eg.  extract safely in sequential mode.
2014-02-25 12:28:36 +00:00
John Cupitt 4d85011a51 disable sequential skipahead
this was causing some problems on very-many-core systems

still need to update operation flags and disable seq mode for
insert/extract/etc.
2014-02-25 11:12:41 +00:00
John Cupitt 0ef0328396 oops 2014-02-24 21:58:07 +00:00
John Cupitt af8cecde1a Merge branch '7.38'
Conflicts:
	ChangeLog
	configure.ac
	libvips/foreign/jpeg2vips.c
2014-02-24 21:56:42 +00:00
John Cupitt 35d15b07a2 Merge pull request #107 from lovell/master
Use static buffer for fake JPEG EOI marker as src->buf might not be allocated
2014-02-24 21:42:46 +00:00
John Cupitt d843521f77 jpeg load from buffer shouldn't modify buffer
fill_input_buffer() could write to the input buffer

see: https://github.com/jcupitt/libvips/pull/107

thanks Lovell
2014-02-24 17:10:07 +00:00
John Cupitt dd835bdac9 fix webp load from buffer
was broken horribly, see

fa8b7e66ca
2014-02-24 09:46:52 +00:00
John Cupitt 1002d4da52 vips__vector_to_ink() has an imag parameter 2014-02-22 16:26:42 +00:00
John Cupitt a562f46e69 VipsLinear allows complex constants 2014-02-22 16:08:46 +00:00
Lovell Fuller 854eab527a Use static buffer for fake JPEG EOI marker as src->buf might not be allocated
Discovered whilst investigating lovell/sharp#6
2014-02-22 12:45:18 +00:00
John Cupitt 3bceb5286b better usage message
more sensible output for "vips max" or "vips getpoint"
2014-02-20 19:52:36 +00:00
John Cupitt b80b503474 Merge branch 'draw'
Conflicts:
	ChangeLog
2014-02-20 14:32:16 +00:00
John Cupitt c758c7f379 notes 2014-02-20 14:31:23 +00:00
John Cupitt c3def93361 ban size == 0 for max/min 2014-02-19 17:13:12 +00:00
John Cupitt 1414958b00 oops put drawink_scanline back 2014-02-18 16:23:16 +00:00
John Cupitt 36c6654374 improve direct path for flood 2014-02-17 19:42:58 +00:00
John Cupitt c5a48effa2 flood direct path fixed
but still too slow
2014-02-14 13:55:55 +00:00
John Cupitt 76b2fa9732 Merge remote-tracking branch 'origin/7.38'
Conflicts:
	ChangeLog
	configure.ac
2014-02-14 10:30:12 +00:00
John Cupitt 3277e26e65 add a direct path to flood for labelregions 2014-02-14 10:29:09 +00:00
John Cupitt 1380f59e89 add an operation name -> gtype lookup hash 2014-02-14 09:41:19 +00:00
John Cupitt ba75a0c0ad Merge remote-tracking branch 'origin/7.38' into draw
Conflicts:
	ChangeLog
	configure.ac
2014-02-13 16:10:52 +00:00
John Cupitt e4f0b4b469 version bump 2014-02-13 14:28:43 +00:00
John Cupitt d201245a99 more locking for properties
need more locking on property create / lookup on very-threaded systems
2014-02-13 14:27:02 +00:00
John Cupitt bf2acf2621 fix --sharpen=none
thanks ferryfax
2014-02-13 08:42:59 +00:00
John Cupitt eaa8bbe729 fix up labelregions 2014-02-12 10:33:31 +00:00
John Cupitt 3c1815ea67 fix vector_to_ink
was failing if called on an im under construction
2014-02-11 19:27:25 +00:00
John Cupitt 025e56c894 im_label_regions() is a class 2014-02-11 14:55:31 +00:00
John Cupitt 487e6ed95e break ink out to a draw subclass 2014-02-11 13:57:28 +00:00
John Cupitt f4e970fb72 im_draw_smudge() done 2014-02-11 13:28:13 +00:00
John Cupitt 25fbe71c74 do im_read_point() / im_draw_point() 2014-02-10 21:54:54 +00:00
John Cupitt 4c732ce369 im_draw_point() -> vips8 2014-02-10 13:00:04 +00:00
John Cupitt 6b54181707 rename draw funcs
more consistent now
2014-02-10 11:59:05 +00:00
John Cupitt 33551fbf4c im_draw_rect() is a class 2014-02-10 11:07:00 +00:00
John Cupitt 495a6c7af1 im_draw_image() is a class 2014-02-09 19:38:53 +00:00
John Cupitt 268fe3c38c add line_user ... helps vips7 compat
so we now have a working im_draw_line_user() wrapper for the nip2
paintbox
2014-02-09 11:00:45 +00:00
John Cupitt e809f9d169 stats operations are sequential 2014-02-08 14:14:53 +00:00