Commit Graph

4142 Commits

Author SHA1 Message Date
John Cupitt
f0521d4b5d all done!
a few more tests though
2016-05-27 16:53:25 +01:00
John Cupitt
094470c9c1 done, just a few things left
- tif->jpg copy seems to loose tag

- add tests
2016-05-27 09:48:08 +01:00
John Cupitt
5a9f2c787b compiles
needs testing etc.
2016-05-26 14:58:04 +01:00
John Cupitt
ac2ce4228b notes 2016-05-26 07:30:29 +01:00
John Cupitt
5f75e5363b radsave_base should be abstract
now we can set suffs on it, but pick the actual saver from the subclass
2016-05-24 11:19:02 +01:00
John Cupitt
50468a07a2 clean up foreign
various cosmetic changes:

- pngsave_buffer now uses Write, not WriteBuf, same change for
  radsave_buffer

- move C wrappers out to class defs from foreign.c

- use g_free() not vips_free() for buffer free from low-level savers

- fix var names in some comments

- various style changes for radiance.c
2016-05-24 10:57:02 +01:00
John Cupitt
0cdfc8396c Merge pull request #452 from Sterblue/master
Add unit test for radiance buffer save
2016-05-24 10:56:28 +01:00
Henri Chain
701f4aaf6e close right after write 2016-05-24 11:42:23 +02:00
Henri Chain
957c4cbb43 fix hdr-specific typo 2016-05-24 11:40:40 +02:00
Henri Chain
6c1aa2b63f add unit test for radiance buffer save 2016-05-24 11:15:54 +02:00
John Cupitt
0c28fc71d6 fix radsave
oop, suffix was being set ono the base class
2016-05-24 07:55:30 +01:00
John Cupitt
fa8a91ea72 Merge pull request #451 from Sterblue/master
Add buffer write support for HDR Radiance
2016-05-24 06:52:58 +01:00
Henri Chain
d2c4bbeda2 Move common RLE code to function 2016-05-23 18:21:13 +02:00
Henri Chain
922b237d9e Add changelog 2016-05-23 17:24:00 +02:00
Henri Chain
ffff989211 Merge branch 'master' of github.com:Sterblue/libvips 2016-05-23 16:53:01 +02:00
Henri Chain
98c7a766de remove debug stuff 2016-05-23 16:52:43 +02:00
Henri Chain
486a08d8a6 relive debug stuff 2016-05-23 16:49:47 +02:00
Henri Chain
5678f93257 Add buffer-write support for Radiance 2016-05-23 16:37:28 +02:00
John Cupitt
bcc93d2dbb docs note about restarting vips
add note that you can't stop and restart vips

see https://github.com/jcupitt/libvips/issues/450
2016-05-23 13:30:23 +01:00
John Cupitt
dbbd2850a1 better max_alpha default
it used to default to 255, now it sniff the interpretation and defaults to
65535 for RGB16 and GREY16

see https://github.com/jcupitt/libvips/issues/449
2016-05-23 12:18:39 +01:00
John Cupitt
445d419efb Merge branch 'master' of github.com:jcupitt/libvips 2016-05-21 19:00:12 +01:00
Henri Chain
14d7a97afc change write_new to make it independent from file I/O 2016-05-20 11:28:33 +02:00
Henri Chain
4c599ea272 fix typo 2016-05-20 11:27:41 +02:00
Henri Chain
23579d4928 delete obsolete line 2016-05-19 22:37:33 +02:00
Henri Chain
10a3782590 Add buffer write support for HDR Radiance 2016-05-19 22:32:17 +02:00
John Cupitt
fa79fcde35 more overcomp reporting 2016-05-19 14:40:16 +01:00
John Cupitt
493ac80890 intltool mystery solved
carefully removed 8 years ago, according to the logs
2016-05-18 19:54:27 +01:00
John Cupitt
c84f642d09 removed intltool again
and ignire more standard m4/ macros
2016-05-18 16:24:06 +01:00
John Cupitt
bf70a4d0bf oops droppped aclocal somehow 2016-05-18 14:27:57 +01:00
John Cupitt
9c9e97bd80 try to fix travis 2016-05-18 14:22:20 +01:00
John Cupitt
6e94df7214 set version before import pyvips8
stops some warnings
2016-05-18 13:41:41 +01:00
John Cupitt
10cfbc553f get rid of m4-safe
and don't copy the .m4 files recommended by glib-gettextize either
2016-05-18 13:41:31 +01:00
John Cupitt
95b9c2aeb6 argh 2016-05-18 10:54:40 +01:00
John Cupitt
cc349198a1 oops 2016-05-18 10:49:28 +01:00
John Cupitt
91aa288a44 break up acinclude.m4
it's now in a more maintainable set of .m4 files in m4-safe
2016-05-18 10:41:05 +01:00
John Cupitt
1add582047 Merge pull request #448 from felixbuenemann/fix-python-detection
Fix Python and GI path detection problems
2016-05-18 09:45:11 +01:00
John Cupitt
2b71756352 Merge branch '8.3' 2016-05-18 09:30:22 +01:00
John Cupitt
7ec63c4451 more vips image read fixing
thanks AFL!
2016-05-18 09:00:30 +01:00
John Cupitt
4285118880 more robust vips file read 2016-05-18 08:58:05 +01:00
Felix Bünemann
c5dfc1f840 Fix VIPS_LIBDIR being "NONE" without --prefix
If the --prefix switch is not given to configure, the prefix variable is
NONE, so we need to the the default value from ac_default_prefix first.
2016-05-18 04:28:59 +02:00
Felix Bünemann
dcbd8397a5 Warn if the gi module could not be loaded 2016-05-18 04:28:58 +02:00
Felix Bünemann
e24334beb2 Disable vips7 SWIG bindings for python3
because they cause a compile error (see issue #334).
2016-05-18 04:28:58 +02:00
Felix Bünemann
6956bcf8a4 Fix several problems with gi path warnings
* Do not warn when the prefix appears to be a homebrew cellar.
* Fix configure errors when python is not detected
* Fix configure errors when pygobject is installed in prefix but
  not present in the python `sys.path`.
* Use the actual overrides path, instead of the gi module path.
2016-05-18 04:28:58 +02:00
Felix Bünemann
f0a5ac5bbc Vendor python.m4 to fix wrong multiarch exec paths
The python.m4 that ships with automake hardcodes the library path for
platfrom dependent files to `lib`, which is wrong for multiarch systems.

Instead we import the `m4/python.m4` from pygobject, which does not have
this problem and also ensures we have the same behavior as pygobject
which we are depending on for pyvips8.

Due to this change some minor changes to how the `bootstrap.sh` script
clean up the `m4` folder where needed.

The python search order has been modified to prefer the default python
over python2 over python3.
2016-05-18 04:28:58 +02:00
John Cupitt
6a445ea9c8 more vips image read fixing
thanks AFL!
2016-05-17 21:58:52 +01:00
John Cupitt
af34f8f3ef more robust vips file read 2016-05-17 19:43:47 +01:00
John Cupitt
92a6ff19a1 add some more webp tests 2016-05-17 14:08:46 +01:00
John Cupitt
77c9616952 oh argh last change 2016-05-17 13:56:16 +01:00
John Cupitt
9057328208 reword config messages 2016-05-17 13:55:37 +01:00
John Cupitt
bbac46817c Merge branch 'master' of github.com:jcupitt/libvips 2016-05-17 13:44:58 +01:00