Commit Graph

3004 Commits

Author SHA1 Message Date
John Cupitt
ccead97c05 set Type on memory strip
we need to set Type on memory strips so we can convert to the output
format correctly, thanks philipgiuliani

see https://github.com/jcupitt/libvips/issues/120
2014-05-08 14:24:22 +01:00
John Cupitt
f6f7d4eeed oops, don't treat RGB16 as sRGB in colourspace
we still had code to treat RGB16 inputs as sRGB even though we now have
a special set of RGB16 paths

vips copy 16bitRGB.tif x.jpg

now works
2014-05-08 14:13:40 +01:00
John Cupitt
ff71a69827 Merge branch 'dzsave-gsf' 2014-05-08 12:15:55 +01:00
John Cupitt
0f1ba2c0b1 Merge branch 'dzsave-gsf'
Conflicts:
	libvips/include/vips/vips.h
2014-05-06 22:03:13 +01:00
John Cupitt
1a3c62851e move some junk to deprecated/ 2014-05-06 22:01:20 +01:00
John Cupitt
c8d6aac98d safer vips_operation_new()
fixes "$ vips vips" segv
2014-05-06 18:49:20 +01:00
John Cupitt
5478a9bb81 update dzsave docs 2014-05-06 14:38:24 +01:00
John Cupitt
249c87906a TODO notes 2014-05-06 14:30:28 +01:00
John Cupitt
30808f70a5 sort out dzsave paths, auto-enable zip
rationalised output paths for dzsave

enable zip automatically if output name ends in .zip
2014-05-06 14:28:41 +01:00
John Cupitt
44f8b0d8ac better gcc attr() detect 2014-05-06 09:55:41 +01:00
John Cupitt
b586f31bf0 better gcc detect 2014-05-06 09:54:09 +01:00
John Cupitt
1384f9d4e0 Merge branch 'master' into dzsave-gsf
Conflicts:
	ChangeLog
2014-05-04 17:32:42 +01:00
John Cupitt
42931c86ca oops, put "%%" squash back in vips_system()
still need this afetr all
2014-05-03 19:58:27 +01:00
John Cupitt
c81a12ee00 vips_system() now uses g_spawn_command_line_sync()
helps stop stray command windows appearing on Windows, better error msg
too
2014-05-03 18:04:25 +01:00
John Cupitt
7819fde047 don't cache vips_system() 2014-05-02 20:23:29 +01:00
John Cupitt
b1b3c6e9de support 1/2/4 bit palette tiff images with alpha 2014-04-30 14:39:50 +01:00
John Cupitt
ba2f764435 sync 2014-04-30 14:14:29 +01:00
John Cupitt
88162ce3b6 Merge branch 'dzsave-gsf' of github.com:jcupitt/libvips into dzsave-gsf 2014-04-30 12:07:05 +01:00
John Cupitt
02a685f1e5 oops fix non-zip output 2014-04-29 09:24:31 +01:00
John Cupitt
e21c6f236e Merge branch 'master' into dzsave-gsf 2014-04-28 16:34:45 +01:00
John Cupitt
5a8c9fb4ef Merge branch 'master' into dzsave-gsf 2014-04-28 14:35:18 +01:00
John Cupitt
5ec80bf163 fix an orc bug 2014-04-28 14:02:35 +01:00
John Cupitt
8f6e959133 include oops 2014-04-28 12:59:19 +01:00
John Cupitt
ee88271d06 use VIPS_ prefix for env vars
stuff
2014-04-26 19:59:20 +01:00
John Cupitt
034df70866 sync 2014-04-26 16:53:29 +01:00
John Cupitt
2fd551efc1 sync 2014-04-26 11:30:00 +01:00
John Cupitt
b806659fd5 fix up filename options
all done in vips_foreign_load() / vips_foreign_save() now

added vips__filename_split8()
2014-04-26 11:21:04 +01:00
John Cupitt
fd495d3617 cleaned up foreign.c
need to actually interpret the filename, oops

$ vips copy wtc.jpg x.jpg[Q=100]
$ ls -l x.jpg\[Q\=100\]
-rw-rw-r-- 1 john john 15133033 Apr 25 14:50 x.jpg[Q=100]
$ vips copy wtc.jpg x.jpg[Q=1]
$ ls -l x.jpg\[Q\=1\]
-rw-rw-r-- 1 john john 15133033 Apr 25 14:50 x.jpg[Q=1]
2014-04-25 14:50:58 +01:00
John Cupitt
3dc708d2b6 add @container option to dzsave 2014-04-25 10:26:23 +01:00
John Cupitt
89db89b9ba use vips_foreign_save_buffer()
so dzsave now knows about save options
2014-04-24 21:58:08 +01:00
John Cupitt
6ab49a9af3 Merge remote-tracking branch 'origin/master' into dzsave-gsf
Conflicts:
	ChangeLog
2014-04-24 18:35:33 +01:00
John Cupitt
95971fb77a can pass options to vips_foreign_save_buffer()
embedded in @suffix
2014-04-24 18:29:20 +01:00
John Cupitt
19e50fc058 sync 2014-04-24 14:52:14 +01:00
John Cupitt
c03d9440cb added vips_object_set_from_string() 2014-04-23 12:57:49 +01:00
John Cupitt
5baf0dfdcd small fixes for buffer save 2014-04-23 09:26:44 +01:00
John Cupitt
a01c0dfe20 small fixes 2014-04-22 22:05:20 +01:00
John Cupitt
61891865bf add vips_foreign_save_buffer() 2014-04-22 19:42:13 +01:00
John Cupitt
1640f18bb7 docs update 2014-04-22 19:20:24 +01:00
John Cupitt
d0f50febbb added vips_foreign_load_buffer() 2014-04-22 16:27:43 +01:00
John Cupitt
aeb3cf3fa3 Merge remote-tracking branch 'origin/tiffload-buffer'
Conflicts:
	ChangeLog
2014-04-22 13:25:25 +01:00
John Cupitt
567487cb33 tiff load from buffer done 2014-04-22 13:22:58 +01:00
John Cupitt
3f11403346 add .vips as an alternative vips suffix
helps imagemagick, see

http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=25445&p=110491#p110491
2014-04-22 13:22:58 +01:00
John Cupitt
eef84f8f64 use float div for sigma calc in gaussblur
thanks aferrero2707
2014-04-22 13:20:40 +01:00
John Cupitt
39f3204537 fix for new ubuntu 2014-04-22 13:20:39 +01:00
John Cupitt
070c9bd5a7 add load from buffer 2014-04-22 10:43:13 +01:00
John Cupitt
e48aee7f47 add .vips as an alternative vips suffix
helps imagemagick, see

http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=25445&p=110491#p110491
2014-04-22 09:32:50 +01:00
John Cupitt
03ad54361a use float div for sigma calc in gaussblur
thanks aferrero2707
2014-04-21 19:24:14 +01:00
John Cupitt
35cea5dbf8 fix for new ubuntu 2014-04-20 10:16:34 +01:00
John Cupitt
6144aecccb start adding tiff load from buffer
see

https://github.com/jcupitt/libvips/issues/25
2014-04-19 16:14:54 +01:00
John Cupitt
325f3b9451 dzsave will write a zip file
but see the TODO in dzsave.c

- no way to pick a tile format, always jpeg
- no way to pick a container format, always zip
- needs testing
- examine memuse, how well do we work for large zips
- can we make a zip over 4gb?
2014-04-19 15:15:25 +01:00