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
4e01d63195
Add hasProfile attribute to metadata response
...
At the very least will be useful investigating #125
2014-11-24 17:24:29 +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
177a4f574c
Minimum version of libvips now 7.40.0 #74
2014-11-17 12:08:05 +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
3e1be7a33a
Merge pull request #107 from papandreou/doNotUnrefUnparsableImages
...
Do not call g_object_unref when imageType comes out as UNKNOWN.
2014-10-23 09:23:37 +01:00
Andreas Lind
005c628352
Do not call g_object_unref when imageType comes out as UNKNOWN.
...
Avoids "(sharp:23220): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed" dumped to the console when an unsupported or invalid image is loaded.
2014-10-23 08:32:23 +02:00
Andreas Lind
1bd316de80
Pass errors as Error instances rather than strings.
2014-10-23 08:27:10 +02: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
Lovell Fuller
db6dc6431b
Add support for mirroring #62
2014-10-21 14:47:08 +01:00
Lovell Fuller
9f6cc33858
Memory leak mop-up of new feature spillage
2014-10-13 22:53:43 +01:00
Lovell Fuller
945d941c7b
Convert image to sRGB sooner for embed
2014-10-13 15:39:52 +01:00
Brandon Aaron
83b72a1ede
Add support for stand-alone, pre-resize, and post-resize extraction with a topOffset, leftOffset, width, and height.
2014-10-07 09:56:55 -04:00
Lovell Fuller
6190ca4307
Ensure conversion to sRGB occurs before background #99
2014-10-07 10:17:20 +01:00
Lovell Fuller
37cb4339e2
Import embedded colour profile, if present #99
2014-10-06 10:45:58 +01:00
Lovell Fuller
46f229e308
Use own Angle enum to wrap jcupitt/libvips@154796a
2014-10-06 10:22:45 +01:00
Lovell Fuller
fb0769a327
Improve image reference handling
2014-10-03 11:45:06 +01:00
Lovell Fuller
0cba506bc4
Allow embed with rgba background #86 #89
...
Small memory leak mop-up related to #94
2014-10-02 20:02:14 +01:00
Daniel Gasienica
6145231936
Add background
and flatten
APIs
2014-09-30 17:58:57 -07:00
Lovell Fuller
513b07ddcf
Add hasAlpha attribute to metadata API
...
Provides internal sharp_image_has_alpha method
Hopefully this helps with #91
2014-09-30 13:35:42 +01:00
Lovell Fuller
1c79d6fb5d
Add support for greyscale conversion #43
2014-09-16 11:22:26 +01:00
Lovell Fuller
3699e61c20
Improve support for extension-less output filenames
2014-09-07 08:59:11 +01:00
Lovell Fuller
2820218609
Add format property to output info
...
Output format may be derived from input format
2014-09-04 11:38:05 +01:00
Lovell Fuller
eb3e739f7b
Expose libvips thread pool size
2014-09-03 19:52:03 +01:00
Lovell Fuller
5728efd32b
Add support for gamma correction #43
2014-08-30 14:12:42 +01:00
Lovell Fuller
bac367b005
Notify V8 GC of libvips cache size #21
2014-08-26 23:28:58 +01:00
Lovell Fuller
0d89131f66
Prevent small memory leak with non-empty argv0 #21
2014-08-26 15:25:36 +01:00
Juliano Julio Costa
c5efb77bad
New withMetadata([boolean]) to keep metadata in the generated images.
2014-08-25 15:59:21 -04:00
Lovell Fuller
f2f3eb76e1
Add method for fast access to image metadata #32
2014-08-22 14:17:43 +01:00
Lovell Fuller
5fe945fca8
Add gravity support to crop #45
2014-08-21 11:01:25 +01:00
Lovell Fuller
8ef0851a49
Expose libvips' op-cache max items #76
2014-08-19 20:30:21 +01:00
Lovell Fuller
df3903532d
Initial Duplex Stream support
2014-08-07 14:00:34 +01:00