Commit Graph

4213 Commits

Author SHA1 Message Date
John Cupitt f58190bccd tag non-int rgb tiff as scrgb
Photoshop uses 0 - 1 and no gamma for float RGB, so we tag float /
complex RGB tiffs as scRGB

thanks Murat
2016-04-11 12:37:48 +01:00
John Cupitt 511a0a7da5 better rounding in reducev orc path 2016-04-10 17:52:51 +01:00
John Cupitt f1635b873d README formatting 2016-04-07 09:45:03 +01:00
John Cupitt 9842ce7902 README formatting 2016-04-07 09:44:31 +01:00
John Cupitt 83fe16054c update file format list in README 2016-04-07 09:42:24 +01:00
John Cupitt d4382c3032 Merge branch 'master' of github.com:jcupitt/libvips 2016-04-07 09:38:22 +01:00
John Cupitt 6ae2787b13 clarify git builds in README
see https://github.com/jcupitt/libvips/issues/414
2016-04-07 09:37:16 +01:00
John Cupitt c36d7f1d14 tweak draw docs again
see https://github.com/jcupitt/libvips/issues/411
2016-04-06 15:11:44 +01:00
John Cupitt 9578d7f637 Merge branch 'master' of github.com:jcupitt/libvips 2016-04-06 10:28:10 +01:00
John Cupitt bf1c8707c7 better draw docs
add a caching discussion to the start of draw

see https://github.com/jcupitt/libvips/issues/411
2016-04-06 10:26:53 +01:00
John Cupitt 5f7cc1d659 Merge pull request #412 from charmander/master
Remove = in #define
2016-04-06 10:10:10 +01:00
Charmander e4f0fbc759 Remove = in #define 2016-04-05 14:00:00 +00:00
John Cupitt 8aa4566c87 update notes 2016-04-02 20:24:54 +01:00
John Cupitt 8fb146029c more tuning of vipsthumbnail
leave at least a factor of two after shrink-on-load

helps hide aliasing
2016-04-02 20:09:30 +01:00
John Cupitt bc320f1090 much better int mask creation
removes some banding from the orc path for reducev
2016-04-02 18:46:10 +01:00
John Cupitt 5f24468dba tiny code cleanup, note a bug 2016-04-02 11:25:27 +01:00
John Cupitt f3835ef0bf webpsave_buffer no longer ignores @lossless
the @lossless arg to webpsave buffer was never wired up to anything,
thanks aaron42net.

see

https://github.com/jcupitt/libvips/issues/410
2016-03-31 21:48:40 +01:00
John Cupitt 65be59e3dc grammar in a comment 2016-03-31 11:08:00 +01:00
John Cupitt 90536d2268 try openslide before jpeg
MRXS images are also JPEG images, so we need to have openslide before
libjpeg in the file test order.

See https://github.com/jcupitt/libvips/issues/406
2016-03-29 17:26:22 +01:00
John Cupitt a4b5608e3b tiny win32 fixes 2016-03-29 10:13:09 +01:00
John Cupitt 618af96723 vips_system() out-format can take options
you can now put options like [scale=2] at the end of out_format ...
these are stripped before running the command, but use to load the
output image back into libvips again
2016-03-28 10:50:39 +01:00
John Cupitt 1a5f4a56fc fix realpath on win32
oops, extra decl was shadowing result
2016-03-27 13:57:59 +01:00
John Cupitt d5b6a2ec3e fix win32 build issues 2016-03-26 11:09:46 +00:00
John Cupitt 3115310bb7 fix no-orc builds 2016-03-26 10:45:31 +00:00
John Cupitt 95a74cbf28 tiny help polishing 2016-03-25 16:35:28 +00:00
John Cupitt ddd7ab7459 doc fixups 2016-03-25 10:56:59 +00:00
John Cupitt 1a25c7a083 better rounding in vipsthumbnail 2016-03-25 10:42:21 +00:00
John Cupitt 2996947b0d start fixing up test_thumbnail
since --interpolator no longer does anything
2016-03-25 06:11:01 +00:00
John Cupitt da43a4041f move cpp overloads outside class
so they are true functions and we can take their address

see https://github.com/jcupitt/libvips/issues/409
2016-03-25 06:09:07 +00:00
John Cupitt 2ab14a3590 better rounding in vector reducev
add before downshift to round to nearest on 16->8 fixed-point conversion
2016-03-25 06:07:58 +00:00
John Cupitt 8a74609172 Merge branch '8.2' 2016-03-24 17:52:18 +00:00
John Cupitt 0f298b0e4d docs note 2016-03-24 17:47:24 +00:00
John Cupitt 213f9e23b4 count colour pixels
more overcomputation testing
2016-03-24 17:41:05 +00:00
John Cupitt f6d7463185 sync 2016-03-24 16:10:58 +00:00
John Cupitt ec5cdf4fff Merge branch '8.2' 2016-03-24 16:09:44 +00:00
John Cupitt b4737525cf sync 2016-03-24 16:08:36 +00:00
John Cupitt 72ea91fecc fix nohalo, vsqbs interpolators
we were getting occasional memory access problems in nohalo and vsqbs
interpolators ... the previous fix was not enough

version bump
2016-03-24 16:06:31 +00:00
John Cupitt 36e0b60ffa put the resize cache back again
stops overcomputation on vips_shrink()
2016-03-22 14:35:44 +00:00
John Cupitt 3c98ba78a0 small experiment 2016-03-22 14:19:32 +00:00
John Cupitt e8b5cb6c23 add VIPS_COUNT_PIXELS, overcomputation tracking
added VIPS_COUNT_PIXELS(), use like this:

	static int vips_shrinkh_gen( VipsRegion *or, ... )
	{
        	VIPS_COUNT_PIXELS( or, "vips_shrinkh_gen" );
	}

and on image close, if more than 100% of the pixels have been
calculated, you get a warning

only if you enable debugging, since this hurts perf slightly
2016-03-22 12:26:45 +00:00
John Cupitt 4f8aca3a93 sync 2016-03-21 16:40:55 +00:00
John Cupitt c2035eb0f0 similarity uses reduce more often 2016-03-21 14:18:01 +00:00
John Cupitt 385f8a167f notes 2016-03-21 11:36:15 +00:00
John Cupitt 063706f300 notes 2016-03-21 11:11:27 +00:00
John Cupitt ba3ae9e671 finished!
fix up preciscion and signedness issues, simpler inner loop
2016-03-21 11:08:38 +00:00
John Cupitt 57cba39607 switch to 2.6 bits
almost working
2016-03-20 22:29:25 +00:00
John Cupitt 74984f1049 off by one error
didn't always write the output
2016-03-19 10:37:02 +00:00
John Cupitt 05156edd15 add orc path for reducev
works, but still not quite right, see some banding
2016-03-18 17:41:51 +00:00
John Cupitt c20eb9dca0 remove old unrolled case for reduce
not used any more
2016-03-15 17:34:31 +00:00
John Cupitt 46a18118c6 works! 2016-03-15 16:46:18 +00:00