Bernhard K. Weisshuhn
dce36e0074
Add normalize() for simple histogram stretching
...
Available as normalize() or normalise().
Normalization takes place in LAB place and thus should not change any
colors.
Existing alpha channels are preserved untouched by normalization.
2015-04-18 12:55:04 +02:00
Alaric Holloway
f72435c750
Support resize without preserving aspect ratio #118
2015-04-16 06:50:47 -07:00
Lovell Fuller
3810f642d3
Add small cache before convolution for seq access
2015-04-14 21:31:20 +01:00
Lovell Fuller
ce6813329b
Improve code portability ahead of Windows support
2015-04-05 21:57:53 +01:00
Lovell Fuller
81c710eaa3
Add EventEmitter for queue length changes
...
Remove unnecessary params from Error handler
2015-03-20 15:44:18 +00:00
Lovell Fuller
5781a23a4d
Combine new tile* API methods
...
Use v7.40.0+ libvips loader methods
Separate Openslide as input vs Deep Zoom as output
Split tile-based tests into new file
Added assertions for generated tile size
2015-03-12 15:39:27 +00:00
Victor Mateevitsi
2d1e6f2644
Added Deep Zoom support.
...
Added OpenSuse 13.1 and 13.2 support in preinstall.sh script.
Added OpenSlide support in preinstall script.
Added unit tests for Deep Zoom and OpenSlide.
2015-03-10 14:00:27 +00:00
Lovell Fuller
77bbbb9715
Improve min/max docs, thanks @LinusU
...
Add requirement for C++11 compiler
Init scaling factor to silence compiler warning
2015-02-27 13:49:16 +00:00
Linus Unnebäck
bcd82f4893
feature: min
2015-02-27 13:50:52 +01:00
Lovell Fuller
f89e9d726d
Add support for libvips v8.0.0
2015-02-16 13:27:22 +00:00
Lovell Fuller
1f7e80e581
Add chroma subsampling options for JPEG output
2015-02-13 09:41:42 +00:00
Lovell Fuller
fe34548bad
Remove optional AdjustAmountOfExternalAllocatedMemory #151
...
Isolate not available when deleting the buffer
2015-01-21 20:13:43 +00:00
Lovell Fuller
855945bef2
Delete input buffer on postclose #151
...
Notify V8 GC of memory (de)allocation
2015-01-21 10:34:03 +00:00
Lovell Fuller
8421e3aa5f
Add limitInputPixels option to reject input #115
2015-01-20 14:18:05 +00:00
Lovell Fuller
c93f79daa7
Guard against InitImage failure #150
...
Protects against truncated image headers
2015-01-20 10:38:44 +00:00
Lovell Fuller
c158d51f8b
Explicit cast to uint32 required for nan 1.5.x
...
See rvagg/nan#229
2015-01-16 22:31:46 +00:00
Lovell Fuller
b86674f91f
Add cpplint to test suite
2015-01-16 22:31:46 +00:00
Lovell Fuller
5dab3c8482
Allow rotate before pre-resize extraction #145
2015-01-16 22:30:57 +00:00
Lovell Fuller
a190ae6b08
Add raw, uncompressed image data output #136
2015-01-16 22:28:24 +00:00
Lovell Fuller
065ce6454b
Explicit cast of size_t to 32 bit integer
...
Ensures compilation with nan 1.5.0+
2015-01-15 15:16:01 +00:00
Lovell Fuller
d3225fa193
Add 'size' attribute to callback's info Object #138
2014-12-15 13:54:19 +00:00
Lovell Fuller
f026a835fd
Move unref of input Buffer to C++ #138
2014-12-14 10:31:25 +00:00
Lovell Fuller
34a9970bd9
Remove useless re-definition of image #139
2014-12-12 22:04:55 +00:00
Lovell Fuller
57203f841a
Copy input Buffer to avoid V8 heap compaction #138
2014-12-12 22:02:42 +00:00
Lovell Fuller
60f1fda7ee
Change interpretation to sRGB before transformation #133
2014-12-11 13:32:36 +00:00
Lovell Fuller
a56102a209
Ensure ICC transform of withMetadata output #133
2014-12-04 11:28:09 +00:00
Lovell Fuller
e1b5574c4a
Handle broken, embedded ICC profile #131
2014-12-03 10:23:35 +00:00
Lovell Fuller
0acf865654
Faster ICC profile transform via lcms #125
2014-11-25 22:52:24 +00:00
Lovell Fuller
f57a0e3b00
Ensure embedded profile, if any, is always used
...
Perform sRGB conversion at end of pipe only
withMetadata exports profile, should not convert
Convert one fixture to sRGB to help test
Discovered while investigating #125
2014-11-25 18:54:49 +00:00
Lovell Fuller
328cda82c5
Updates for 7.42 stable release of libvips
2014-11-24 12:19:44 +00:00
Lovell Fuller
118b17aa2f
Apply less blur before affine reduction #121
2014-11-24 11:52:48 +00:00
Lovell Fuller
b7c7fc22f3
Ensure correct Gaussian blur before affine #121
...
Use double sigma instead of int radius for blur
2014-11-20 13:59:39 +00:00
Lovell Fuller
ee513ac7a7
Less C, more C++ e.g. namespace, enum class
...
Improve image reference handling
2014-11-11 18:28:23 +00:00
Lovell Fuller
32d9bc204a
Add 'fast' blur and Gaussian blur feature #108
2014-11-10 22:38:13 +00:00
Lovell Fuller
86681100b7
Control level of sharpening via radius/flat/jagged #108
2014-11-10 16:20:04 +00:00
Lovell Fuller
47927ef47d
Shrink less, affine more, maintain performance #75
...
Affects interpolators with 4x4+ window size
e.g. Bicubic, LBB, Nohalo
Introduces blur before large affine
to improve large PNG reductions
2014-11-08 12:08:27 +00:00
Lovell Fuller
7537adf399
Add features from libvips 7.40+
...
Load TIFF from Buffer/Stream
Interlaced PNG output no longer needs tilecache
Option to disable PNG adaptive row filtering
2014-11-08 12:08:27 +00:00
Lovell Fuller
740838b47c
Prevent auto-rotate fail for libmagick formats #117
2014-11-08 12:07:47 +00:00
Lovell Fuller
f7c2a839ad
Add support for profile-less CMYK images #99
2014-11-06 11:30:19 +00:00
Lovell Fuller
333e8789f4
Include cmath, erroneously removed in 3a9a137f
2014-10-29 13:32:19 +00:00
Lovell Fuller
3a9a137f40
Modify C++ 11 to be MS-friendly #19
2014-10-29 13:16:16 +00:00
Lovell Fuller
97fc2a2a3a
Ensure resize error from C++ is wrapped
...
Thanks to @papandreou
2014-10-23 09:39:37 +01:00
Lovell Fuller
8bc1981891
Refactor C++ code
...
Split features into their own file
Style is becoming less C, more C++
2014-10-21 21:38:19 +01:00