Commit Graph

4727 Commits

Author SHA1 Message Date
John Cupitt
060bdd2cf0 fix svgload resolution again
use rsvg_handle_set_dpi() rather than cairo_scale() to avoid int
truncation on dimensions

see https://github.com/jcupitt/libvips/issues/688
2017-07-08 16:03:56 +01:00
John Cupitt
f3393fb89b try to fix cli format test
add a threshold for svgload, librsvg seems to vary a bit between
platforms
2017-07-08 15:26:48 +01:00
John Cupitt
7408c6c9b2 fix sh part of test suite 2017-07-08 15:09:35 +01:00
John Cupitt
dad4e5b709 fix svgload test 2017-07-08 12:43:03 +01:00
John Cupitt
64fe910fc5 fix DPI mixup
librsvg defaulted to 90 DPI, but libvips to 72 DPI -- add a correction
factor

thanks Fosk!

see https://github.com/jcupitt/libvips/issues/688
2017-07-08 12:31:36 +01:00
John Cupitt
351dd67b62 trim 2017-06-13 09:52:37 +01:00
John Cupitt
4d846534b8 transform cmyk->rgb automatically
if:

- we are writing a cmyk image
- there is an embedded profile
- the saver does not support cmyk

see https://github.com/jcupitt/libvips/issues/676
2017-06-12 18:19:20 +01:00
John Cupitt
7bcf0bb93f don't cache thumbnail
thanks tomasc! see

jcupitt/ruby-vips#109
2017-05-29 10:19:21 +01:00
John Cupitt
6a189d068b mark vipsprofile as python2
Some distros have python3 as the default, so make vipsprofile explicitly
python2, thanks ioquatix.

See https://github.com/jcupitt/libvips/issues/667
2017-05-28 06:33:58 +01:00
John Cupitt
7b64246af2 fix a couple of issues with huge profiles
The base64 encode limit was 1MB, but some huge profiles can get over
that, so it's now 10MB.

transform_save_string_blob() was incorrectly setting a refstring not a
blob as an error fallback, potentially leaving a dangling pointer.

Thanks Jaume!

See https://github.com/jcupitt/libvips/issues/666
2017-05-26 09:04:15 +01:00
John Cupitt
5df65ec6fd fix tiff read with page > 0
could break edge tiles under some circumstances
2017-05-19 16:07:36 +01:00
John Cupitt
2b0ebb0de2 fix test suite thresholds
changes in jpg encode/decode mean we must adjust test suite thresholds
2017-05-15 11:21:13 +01:00
John Cupitt
620e9ebf27 missing backslash in makefile 2017-05-15 10:48:09 +01:00
John Cupitt
942b0446a3 revise fail handling, again
clarify policy on file read errors and warnings:

* if the file format library reports a warning, we log it in vips, but
that's all
* if the file format library reports an error, we log it, but try to
continue
* if the file format library reports an error and fail is set, we log it
and fail

all loaders now implement this
2017-05-12 17:22:49 +01:00
John Cupitt
2b75a372d1 more truncated png improvements 2017-05-03 10:32:24 +01:00
John Cupitt
cc38097560 better handling of truncated PNG files
improve fail support, and bail out sooner

see https://github.com/jcupitt/libvips/issues/646
2017-04-26 10:25:52 +01:00
John Cupitt
f6ad8465b6 add Cite section 2017-04-24 17:34:13 +01:00
John Cupitt
f71aa79352 update docs 2017-04-23 22:42:06 +01:00
John Cupitt
f0cb008e23 fix php formatting
thanks @kleisauke !
2017-04-23 22:09:17 +01:00
John Cupitt
9434f1f86d more doc tweak 2017-04-23 19:29:02 +01:00
John Cupitt
8bf0a05948 doc polishing 2017-04-23 18:52:05 +01:00
John Cupitt
a067dc4140 oop credit fix 2017-04-23 09:57:55 +01:00
John Cupitt
4c502fcbf3 add more seq tests 2017-04-23 09:43:01 +01:00
John Cupitt
722314ed10 one printf too many 2017-04-23 08:38:06 +01:00
John Cupitt
7938903d22 don't size caches by image width
we were sizing buffers partly by image width, which could cause caches
to be too small if width changed down a pipeline

see https://github.com/jcupitt/libvips/issues/639
2017-04-23 08:31:16 +01:00
John Cupitt
da2b195408 put sequential trace back 2017-04-23 08:26:00 +01:00
John Cupitt
6a639723e0 bump revision
for source code changes in 8.5.3
2017-04-15 09:38:45 +01:00
John Cupitt
c79f64ab7d better nlines calc
better cache sizing for some image widths
2017-04-13 22:38:32 +01:00
John Cupitt
126fdd4f6f update for new goi in ubuntu 17.04 2017-04-13 16:26:15 +01:00
John Cupitt
61455823e6 fix compiler warning 2017-04-13 16:26:05 +01:00
John Cupitt
e01a90f7cf revise cache sizing
we had output buffers too large, input caches too small

see https://github.com/jcupitt/libvips/issues/639
2017-04-13 16:24:51 +01:00
John Cupitt
38b65478e5 bump version, doc tweaks
more sotons removed
2017-04-07 15:59:37 +01:00
John Cupitt
a5b04091ee Merge branch 'add-markdown-docs' into 8.5 2017-04-06 11:51:36 +01:00
John Cupitt
887eb249e4 revise region docs 2017-04-06 10:19:35 +01:00
John Cupitt
aae2c2716b gint -> int32 in disc format header description 2017-04-05 14:42:35 +01:00
John Cupitt
a0f420ea7e fix dicom example 2017-04-05 14:37:17 +01:00
John Cupitt
28693c060b more examples work 2017-04-05 08:41:10 +01:00
John Cupitt
d5858efd74 mostly done examples 2017-04-04 17:14:17 +01:00
John Cupitt
c2cb4c38fe missing ptoto for vips_tiffsave_buffer()
oop, thanks greut

see https://github.com/jcupitt/libvips/issues/632
2017-04-04 10:17:05 +01:00
John Cupitt
f7b01ed930 started examples page 2017-04-04 10:13:10 +01:00
John Cupitt
ab7bd3000b polish docs 2017-04-01 17:05:05 +01:00
John Cupitt
a78ef520e2 add how-it-opens-files page 2017-03-31 22:33:15 +01:00
John Cupitt
bc247770f4 fix small things 2017-03-31 20:15:33 +01:00
John Cupitt
b2b95ca045 finish up thumbnail docs 2017-03-31 18:11:39 +01:00
John Cupitt
ab16d9560f notes 2017-03-31 13:27:42 +01:00
John Cupitt
27e6c60967 add vipsthumbnail page 2017-03-31 13:26:25 +01:00
John Cupitt
30829ef003 add howitworks.md 2017-03-31 10:57:04 +01:00
John Cupitt
60e661614f woo working 2017-03-31 08:11:46 +01:00
John Cupitt
df2bf783fe Merge branch 'master' into add-markdown-docs 2017-03-30 17:59:30 +01:00
John Cupitt
d5a706e47e better behaviour for truncated PNG files
truncated PNG files failed with an error, even if --fail was not set ...
instead, just warn, and only error out if fail is on

see https://github.com/jcupitt/libvips/issues/629
2017-03-30 17:13:25 +01:00