Merge branch 'master' into add-tiff-orientation
This commit is contained in:
commit
93d0d15f88
@ -8,6 +8,7 @@ before_install:
|
|||||||
- sudo apt-get install swig libmagick++-dev bc
|
- sudo apt-get install swig libmagick++-dev bc
|
||||||
- sudo apt-get install libcfitsio3-dev libgsl0-dev libmatio-dev
|
- sudo apt-get install libcfitsio3-dev libgsl0-dev libmatio-dev
|
||||||
- sudo apt-get install liborc-0.4-dev liblcms2-dev libpoppler-glib-dev
|
- sudo apt-get install liborc-0.4-dev liblcms2-dev libpoppler-glib-dev
|
||||||
|
- sudo apt-get install librsvg2-dev libgif-dev
|
||||||
before_script:
|
before_script:
|
||||||
- ./bootstrap.sh
|
- ./bootstrap.sh
|
||||||
- ./configure
|
- ./configure
|
||||||
|
11
TODO
11
TODO
@ -11,6 +11,17 @@
|
|||||||
|
|
||||||
- see https://github.com/jcupitt/libvips/issues/243
|
- see https://github.com/jcupitt/libvips/issues/243
|
||||||
|
|
||||||
|
- try
|
||||||
|
|
||||||
|
http://www.camerafv5.com/files/photos/raw1/rope.dng
|
||||||
|
$ vips colourspace rope.dng 3.tif[compression=jpeg,Q=90,tile,tile-width=512,tile-height=512] srgb
|
||||||
|
|
||||||
|
tries to save a 16-bit image?
|
||||||
|
|
||||||
|
hangs 50% of the time, the other 50 it fails with a 16-bit error
|
||||||
|
|
||||||
|
- save a 16-bit image to tiff with jpg compression ... should it autoconvert?
|
||||||
|
|
||||||
- tiff write does not support [strip]
|
- tiff write does not support [strip]
|
||||||
|
|
||||||
- add more webp tests to py suite
|
- add more webp tests to py suite
|
||||||
|
@ -42,7 +42,7 @@ fi
|
|||||||
gtkdocize --copy --docdir doc --flavour no-tmpl || exit 1
|
gtkdocize --copy --docdir doc --flavour no-tmpl || exit 1
|
||||||
|
|
||||||
# some systems need libtoolize, some glibtoolize ... how annoying
|
# some systems need libtoolize, some glibtoolize ... how annoying
|
||||||
echo -n "testing for glibtoolize ... "
|
printf "testing for glibtoolize ... "
|
||||||
if glibtoolize --version >/dev/null 2>&1; then
|
if glibtoolize --version >/dev/null 2>&1; then
|
||||||
LIBTOOLIZE=glibtoolize
|
LIBTOOLIZE=glibtoolize
|
||||||
echo using glibtoolize
|
echo using glibtoolize
|
||||||
|
@ -605,12 +605,12 @@ AC_ARG_WITH([rsvg],
|
|||||||
AS_HELP_STRING([--without-rsvg], [build without rsvg (default: test)]))
|
AS_HELP_STRING([--without-rsvg], [build without rsvg (default: test)]))
|
||||||
|
|
||||||
if test x"$with_rsvg" != x"no"; then
|
if test x"$with_rsvg" != x"no"; then
|
||||||
PKG_CHECK_MODULES(RSVG, [librsvg-2.0 >= 2.40 cairo >= 1.2],
|
PKG_CHECK_MODULES(RSVG, [librsvg-2.0 >= 2.34 cairo >= 1.2],
|
||||||
[AC_DEFINE(HAVE_RSVG,1,[define if you have librsvg-2.0 >= 2.40.0 and cairo >= 1.2 installed.])
|
[AC_DEFINE(HAVE_RSVG,1,[define if you have librsvg-2.0 >= 2.34.0 and cairo >= 1.2 installed.])
|
||||||
with_rsvg=yes
|
with_rsvg=yes
|
||||||
PACKAGES_USED="$PACKAGES_USED librsvg-2.0 cairo"
|
PACKAGES_USED="$PACKAGES_USED librsvg-2.0 cairo"
|
||||||
],
|
],
|
||||||
[AC_MSG_WARN([librsvg-2.0 >= 2.40.0 or cairo >= 1.2 not found; disabling SVG load via rsvg])
|
[AC_MSG_WARN([librsvg-2.0 >= 2.34.0 or cairo >= 1.2 not found; disabling SVG load via rsvg])
|
||||||
with_rsvg=no
|
with_rsvg=no
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@ -1034,7 +1034,7 @@ file import with matio: $with_matio
|
|||||||
PDF import with poppler-glib: $with_poppler
|
PDF import with poppler-glib: $with_poppler
|
||||||
(requires poppler-glib 0.16.0 or later)
|
(requires poppler-glib 0.16.0 or later)
|
||||||
SVG import with librsvg-2.0: $with_rsvg
|
SVG import with librsvg-2.0: $with_rsvg
|
||||||
(requires librsvg-2.0 2.40.0 or later)
|
(requires librsvg-2.0 2.34.0 or later)
|
||||||
file import with cfitsio: $with_cfitsio
|
file import with cfitsio: $with_cfitsio
|
||||||
file import/export with libwebp: $with_libwebp
|
file import/export with libwebp: $with_libwebp
|
||||||
(requires libwebp-0.1.3 or later)
|
(requires libwebp-0.1.3 or later)
|
||||||
|
0
test/images/blankpage.pdf
Executable file → Normal file
0
test/images/blankpage.pdf
Executable file → Normal file
3
test/images/blankpage.svg
Normal file
3
test/images/blankpage.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 595 842">
|
||||||
|
<path stroke="#fff" fill="#fff" d="M0 0h595v842H0z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 137 B |
BIN
test/images/trans-x.png
Normal file
BIN
test/images/trans-x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 436 B |
@ -11,6 +11,14 @@
|
|||||||
poppler=$test_images/blankpage.pdf
|
poppler=$test_images/blankpage.pdf
|
||||||
poppler_ref=$test_images/blankpage.png
|
poppler_ref=$test_images/blankpage.png
|
||||||
|
|
||||||
|
# rsvg / svgload reference image
|
||||||
|
rsvg=$test_images/blankpage.svg
|
||||||
|
rsvg_ref=$test_images/blankpage.png
|
||||||
|
|
||||||
|
# giflib / gifload reference image
|
||||||
|
giflib=$test_images/trans-x.gif
|
||||||
|
giflib_ref=$test_images/trans-x.png
|
||||||
|
|
||||||
# the matlab image and reference image
|
# the matlab image and reference image
|
||||||
matlab=$test_images/sample.mat
|
matlab=$test_images/sample.mat
|
||||||
matlab_ref=$test_images/sample.png
|
matlab_ref=$test_images/sample.png
|
||||||
@ -222,6 +230,14 @@ if test_supported pdfload; then
|
|||||||
test_loader $poppler_ref $poppler pdfload
|
test_loader $poppler_ref $poppler pdfload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test_supported svgload; then
|
||||||
|
test_loader $rsvg_ref $rsvg svgload
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test_supported gifload; then
|
||||||
|
test_loader $giflib_ref $giflib gifload
|
||||||
|
fi
|
||||||
|
|
||||||
if test_supported matload; then
|
if test_supported matload; then
|
||||||
test_loader $matlab_ref $matlab matlab
|
test_loader $matlab_ref $matlab matlab
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user