John Cupitt
d4ddfa5eb4
note recent magick changes in headers
2019-02-17 12:41:59 +00:00
John Cupitt
f41c1439c9
just one sink_disc() for magicksave
...
we used to cut the input image into tiles, then sink_disc() for each one
... instead, make a single sink_disc() and chop in _generate
simpler and faster
2019-02-17 12:28:13 +00:00
John Cupitt
30b5c49d0b
set dispose in magicksave
...
since we always give complete new frames
revise gifload slightly too
2019-02-16 17:37:23 +00:00
John Cupitt
ca60cc30aa
clean up
2019-02-16 15:54:11 +00:00
John Cupitt
044abe7986
fix some tilecache issues too
2019-02-16 15:32:45 +00:00
John Cupitt
d156e34ee4
cogs.gif doesn't load properly
...
we're not disposing at the correct point, I think
2019-02-15 17:56:49 +00:00
John Cupitt
38e0cbb12a
speed up tilecache
...
with a simple LRU queue of recent tiles
better cmap handling for gifload as well
2019-02-15 17:27:20 +00:00
John Cupitt
1f681df339
trim old gifload source
2019-02-14 16:35:54 +00:00
John Cupitt
09ed7a48d3
Merge branch 'revise-gifload'
2019-02-14 16:35:18 +00:00
John Cupitt
4ed0ce3e2e
remove old gif loader
2019-02-14 16:34:59 +00:00
John Cupitt
25f0f652d1
works!
2019-02-14 15:31:33 +00:00
John Cupitt
bfa1f22520
works!
...
tuned a bit too
2019-02-14 15:22:51 +00:00
John Cupitt
b02a50aaed
two small fixes
2019-02-14 10:13:17 +00:00
John Cupitt
617d910379
almost loading
2019-02-13 18:04:30 +00:00
John Cupitt
37613c196d
fix jpeg xmp read/write
...
it was not removing/reattaching the magic XMP URL
see https://github.com/libvips/libvips/issues/1229
2019-02-11 18:16:20 +00:00
John Cupitt
e12b44e790
fast header method works
...
need to rework _load next
2019-02-11 08:38:43 +00:00
John Cupitt
7037377f15
add _header scan of whole gif
2019-02-10 22:09:25 +00:00
John Cupitt
72f6f667c9
make C# binding clearer
2019-02-10 05:31:33 +00:00
John Cupitt
9fe013f72d
move file stuff into subclass, add rewind
2019-02-10 05:26:07 +00:00
John Cupitt
a454225ef7
split off the old loader as gifload2
2019-02-09 12:23:21 +00:00
John Cupitt
2968bee3fa
add n-pages metadata to gifload
...
gifload was not setting the n-pages metadata item.
n-pages is supposed to be the number of pages in the original file (not
the number of pages libvips loaded), but we don't always know this for
gif, since you have to decode the entire file to count the pages.
As a compromise, set it to the page number of the final page we read.
See https://github.com/lovell/sharp/issues/1566
2019-02-08 10:53:57 +00:00
John Cupitt
06d71f6df3
raise magicksave threshold
2019-02-07 18:51:57 +00:00
John Cupitt
931b661d2b
fix up and test with im6/im7/gm
...
seems to work! phew
2019-02-07 18:35:51 +00:00
John Cupitt
90fef08ee0
start adding xmp/icc/exif/etc. for IM
...
needs to work for im6, im7 and gm, and it's not quite there yet :(
2019-02-06 16:39:14 +00:00
John Cupitt
10b3000581
reorganise magicksave a little
2019-02-06 10:24:11 +00:00
John Cupitt
71664346c0
Merge pull request #1224 from DarthSim/feature/gm_magicksave
...
vips_magicksave for GraphicsMagick
2019-02-06 09:44:31 +00:00
DarthSim
cd1560c1cb
vips_magicksave for GraphicsMagick
2019-02-06 00:07:30 +06:00
John Cupitt
8d5af9fe8a
add xmp/ipct/icc etc. to magickload
...
ImageMagick supports binary metadata with `ResetImageProfileIterator()`
etc.
Implementing support gives us xmp / ipct / icc support, plus perhaps
some others.
2019-02-04 17:54:57 +00:00
John Cupitt
38bd4f1be4
break lines at 80 cols in gen-operators
...
plus tiny cleanups
2019-02-03 13:18:22 +00:00
John Cupitt
96cc19b5e9
Merge pull request #1220 from kleisauke/generate-cpp-pyvips
...
Use pyvips to generate the C++ binding
2019-02-03 12:46:03 +00:00
John Cupitt
f23d0fd754
note new option_string param in changelog
2019-02-03 12:27:58 +00:00
John Cupitt
06a1eae3b6
Merge pull request #1221 from kleisauke/thumbnail_buffer_options
...
vips_thumbnail_buffer: add optional option_string argument (#1147 )
2019-02-03 12:13:52 +00:00
kleisauke
f40062c495
s/open_args/option_string/g
2019-02-03 12:29:54 +01:00
kleisauke
241f52fb54
Fix compatibility with Makefile
...
+ all operations are now provided with a C++ style comment block.
2019-02-03 12:13:04 +01:00
kleisauke
05c459cc28
vips_thumbnail_buffer: add optional open_args argument ( #1147 )
2019-02-02 09:26:12 +01:00
kleisauke
de27688eea
Use pyvips to generate the C++ binding
2019-02-01 21:45:12 +01:00
John Cupitt
097bb815b7
pdfium load as well
2019-01-30 20:59:40 +00:00
John Cupitt
671b3e76f5
set page-height more often in pdfload
2019-01-30 20:58:47 +00:00
John Cupitt
308c85c004
add support for stored heif thumbnails
2019-01-30 16:19:11 +00:00
John Cupitt
6a75536619
add @thumbnail support to heifload
2019-01-30 15:20:10 +00:00
John Cupitt
50a955e357
add autorotate to heifload
...
and remove the ignore_transformations option
2019-01-30 13:17:36 +00:00
John Cupitt
622c08b562
set primary on heifsave
2019-01-30 11:37:01 +00:00
John Cupitt
2ab2a90e06
add heif tests
2019-01-30 11:13:14 +00:00
John Cupitt
4a461e2507
fix data return from heifsave_buffer
2019-01-30 04:18:49 +00:00
John Cupitt
62ba86cfd0
add heif buffer save
2019-01-29 17:21:13 +00:00
John Cupitt
a837b66cc1
add strip support to heicsave
2019-01-29 16:53:39 +00:00
John Cupitt
cae7838f86
heifsave seems to work
2019-01-29 16:40:34 +00:00
John Cupitt
a833764878
start heifsave
2019-01-29 10:27:00 +00:00
John Cupitt
07e5f30829
add heifload_buffer
2019-01-29 01:48:10 +00:00
John Cupitt
3d768ef635
split to a separate heif file class
2019-01-28 22:16:56 +00:00