John Cupitt
e4996d8dce
don't set shrink too low
2014-08-04 21:25:19 +01:00
John Cupitt
f1df91eebb
vipsthumbnail defaults to bicubic + noshapen
...
if bicubic is available
2014-08-04 09:55:18 +01:00
John Cupitt
ebec31fe4a
more careful p->t conversion
...
When we convert an image from "p" to "t" in vips_image_wio_input(), zap
start/gen/stop callbacks. This makes vips_region_prepare_to() read from
the "t" rather than trying to gen pixels again.
2014-08-03 17:59:25 +01:00
John Cupitt
8c82ffb865
fix interlaced thumbnails
...
we need to cache the thumbnail before we write it in case the writer
needs to make several passes
see https://github.com/jcupitt/libvips/issues/140
2014-06-30 12:07:00 +01:00
John Cupitt
a6ec270adf
better shrink selection in vipsthumbnail
...
see:
https://github.com/jcupitt/libvips/issues/126
https://github.com/lovell/sharp/issues/41#issuecomment-44429413
thanks @ttback
2014-06-09 14:44:06 +01:00
John Cupitt
d426abdcd8
stage1 seems to work
2014-06-07 16:47:53 +01:00
John Cupitt
58239a4583
vipsthumbnail fix
...
fix to vipsthumbnail ... --crop could fail for very non-square images,
thanks Alessandro
2014-03-18 17:41:39 +00:00
John Cupitt
a2b760c523
handle other exif orientation tag values
...
though not the mirroring ones
2014-03-10 13:25:02 +00:00
John Cupitt
66d0e28dc2
remove the embedded thumbnail reader
...
remove the embedded thumbnail reader, embedded thumbnails are too unlike
the main image wrt. rotation / colour / etc.
2014-03-07 16:57:20 +00:00
John Cupitt
40a15b3aa0
move orientation tag from vipsthumbnail output
2014-03-06 23:24:46 +00:00
John Cupitt
fce4f2d1ef
more vipsthumbnail --rotate work
...
now needs some changes to jpegsave
2014-03-06 22:41:56 +00:00
John Cupitt
ffed43dffe
add basic auto-rotate support to vipsthumbnail
2014-03-06 19:39:18 +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
bf2acf2621
fix --sharpen=none
...
thanks ferryfax
2014-02-13 08:42:59 +00:00
Lovell Fuller
9acaafc897
Ensure -interpolate flag is used with affine transformation
2014-01-20 22:20:35 +00:00
John Cupitt
bbf899eb35
add --crop to vipsthumbnail
2013-12-18 14:23:39 +00:00
John Cupitt
ad723ade5a
move --strip into save base class
...
was in jpegsave, now in save
need to add support to png writer, maybe vips as well, tiff could not
attach ICC profiles I guess
2013-11-13 09:00:47 +00:00
John Cupitt
a7b9783036
move vipsthumbnail to vips_conv()
2013-11-12 20:51:16 +00:00
John Cupitt
53e86e71f4
fix up XYZ PCS and vipsthumbnail
...
fix import and export scaling, get vipsthumbnail to use it in --linear
mode
2013-11-12 17:18:41 +00:00
John Cupitt
8dfe4611d2
add a --linear option to vipsthumbnail
...
thanks to Nicolas for the prodding
2013-11-12 09:53:41 +00:00
John Cupitt
6351bad027
Merge remote-tracking branch 'origin/7.36'
2013-11-09 16:03:24 +00:00
John Cupitt
3380f15da5
fix --delete option to vipsthumbnail
...
oops, ! missing
2013-11-09 13:10:11 +00:00
John Cupitt
8d270d49c4
allow non-square bounding boxes in vipsthumbnail
...
thanks seth
2013-10-23 09:37:45 +01:00
John Cupitt
461d619cde
... another vipsthumbnail fix
...
and it now warns about use of the old "sequential" flag
2013-10-01 13:31:42 +01:00
John Cupitt
dfe2ddf6c5
oops anotehr vipsthumbnail fix
...
since "strategy" is now named "access"
2013-10-01 11:23:42 +01:00
John Cupitt
f23387ea67
oops fix compile break
2013-09-30 15:26:44 +01:00
John Cupitt
aa935133d0
vipsthumbnail uses new vips_info()
2013-08-07 09:57:18 +01:00
John Cupitt
d5cac2a0fe
cache should be threaded
2013-07-31 22:00:52 +01:00
John Cupitt
101c60cf42
add a "const" to get_string
2013-07-13 13:02:06 +01:00
John Cupitt
aadd7c1ee5
vipsthumbnail rewrite
2013-07-10 11:05:45 +01:00
John Cupitt
7eb3513d46
vipsthumbnail sharpen defaults to mild
...
and add a "none" option
2013-05-06 14:01:29 +01:00
John Cupitt
f80bf594ce
sharpen param to vipsthumbnail
2013-05-03 13:56:38 +01:00
John Cupitt
ae27de5140
more granular cache for tiny speed up
2013-03-01 10:29:01 +00:00
John Cupitt
8269a79801
vipsthumbnail sizes cache better
...
the vipsthumbnail cache could be too small on many-cpu machines, size it
more intelligently
2013-03-01 09:44:19 +00:00
John Cupitt
767bfc3b7f
allow absolute file names in vipsthumbnail -o
...
thanks fuho
2012-11-13 20:09:30 +00:00
John Cupitt
0c87863222
argh still deadlocks on example.rb
2012-09-04 14:56:22 +01:00
John Cupitt
7df7bb85bb
add --vips-version cmdline arg
...
print version of libvips that a program is running against
2012-07-20 13:34:05 +01:00
John Cupitt
cd7a769058
leak
2012-06-21 14:11:39 +01:00
John Cupitt
213b44894e
Merge remote-tracking branch 'origin/7.28'
...
Conflicts:
libvips/iofuncs/cache.c
2012-06-21 13:32:47 +01:00
John Cupitt
4aa24358d8
Merge remote-tracking branch 'origin/7.28'
...
Conflicts:
ChangeLog
configure.in
tools/vipsthumbnail.c
2012-06-19 17:24:43 +01:00
John Cupitt
bc60c7c886
oops variable left-over
2012-06-19 16:43:09 +01:00
John Cupitt
c7059af753
oop jpeg thumbnail
2012-06-19 14:48:32 +01:00
John Cupitt
400a40ea28
oops vipsthumbnail memleak
2012-06-19 14:24:24 +01:00
John Cupitt
f5134a2afd
make vipsthumbnail use a sequential cache
...
it wasn't setting the sequential option in the line cache
2012-06-18 17:37:40 +01:00
John Cupitt
7061f0f00b
put the shrink line cache back
...
so we can use THINSTRIP for the vips_shrink() operation
2012-06-18 09:19:31 +01:00
John Cupitt
df572e092b
use the new geneal seq mode
...
vipsthumbnail was using the prototype seq: mode stuff, make it use the
final seq system
2012-06-18 08:44:45 +01:00
John Cupitt
b3d5f90c78
update the :seq stuff in vipsthumbnail
...
vipsthumbnail was not enabling sequential mode for tiff and jpg formats
2012-06-13 09:40:33 +01:00
John Cupitt
ed2f979497
vipsthumbnail shrinks to a scanline cache
...
so it works well with the new :seq mode for png
2012-02-08 14:05:58 +00:00
John Cupitt
e0f31e3b4a
vipsthumbnail knows about :seq mode for png
...
also im_open() knows about old-style embedded filename options
2012-02-08 13:33:19 +00:00
John Cupitt
13e354e869
add vips_shutdown()
...
vips_shutdown() flushes caches, closes plugins and does a leak check
2011-09-24 10:17:32 +01:00
John Cupitt
a9045c9ec3
oops vipsthumbnail needed updating
2011-05-30 11:41:02 +01:00
John Cupitt
e0d4ed89ff
reorganise tools/ dir
...
The subdir in tools are no lonmger necessary. Also, remove ther old bin
links feature, not very useful anymore.
2011-04-06 12:06:32 +01:00