"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/Making-image-pyramids.xml" between
vips-8.10.6.tar.gz and vips-8.11.0.tar.gz

About: VIPS is a free image processing system (see also the GUI nip2).

Making-image-pyramids.xml  (vips-8.10.6):Making-image-pyramids.xml  (vips-8.11.0)
skipping to change at line 13 skipping to change at line 13
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<refentry id="Making-image-pyramids.md"> <refentry id="Making-image-pyramids.md">
<para> <para>
<refmeta> <refentrytitle>Image pyramids</refentrytitle> <manvolnum>3</manvolnu m> <refmiscinfo>libvips</refmiscinfo> </refmeta> <refmeta> <refentrytitle>Image pyramids</refentrytitle> <manvolnum>3</manvolnu m> <refmiscinfo>libvips</refmiscinfo> </refmeta>
</para> </para>
<para> <para>
<refnamediv> <refname>Pyramids</refname> <refpurpose>How to use libvips to mak e image pyramids</refpurpose> </refnamediv> <refnamediv> <refname>Pyramids</refname> <refpurpose>How to use libvips to mak e image pyramids</refpurpose> </refnamediv>
</para> </para>
<para> <para>
libvips includes <literal>vips_dzsave()</literal>, an operation that can build libvips includes <literal>vips_dzsave()</literal>, an operation that can build
image pyramids compatible with <link xlink:href="http://en.wikipedia.org/wiki/D image pyramids compatible with <ulink
eep_Zoom">DeepZoom</link>, Zoomify and <link xlink:href="https://developers.goog url="http://en.wikipedia.org/wiki/Deep_Zoom">DeepZoom</ulink>, Zoomify and <ul
le.com/maps/">Google Maps</link> image viewers. It’s fast and can generate pyram ink url="https://developers.google.com/maps">Google Maps</ulink> image viewers.
ids for large images using only a small amount of memory. It’s fast and can generate pyramids for large images using only a small amount o
f memory.
</para> </para>
<para> <para>
The TIFF writer, <literal>vips_tiffsave()</literal> can also build tiled pyram idal TIFF images, but that’s very simple to use. This page concentrates on the D eepZoom builder. The TIFF writer, <literal>vips_tiffsave()</literal> can also build tiled pyram idal TIFF images, but that’s very simple to use. This page concentrates on the D eepZoom builder.
</para> </para>
<para> <para>
Run dzsave with no arguments to see a summary: Run dzsave with no arguments to see a summary:
</para> </para>
<programlisting> <programlisting>
$ vips dzsave $ vips dzsave
save image to deepzoom file save image to deepzoom file
skipping to change at line 105 skipping to change at line 106
<para> <para>
This will create a directory called <literal>myzoom</literal> containing a f ile called <literal>ImageProperties.xml</literal> with the image metadata in, an d a series of directories called <literal>TileGroupn</literal>, each containing 256 image tiles. This will create a directory called <literal>myzoom</literal> containing a f ile called <literal>ImageProperties.xml</literal> with the image metadata in, an d a series of directories called <literal>TileGroupn</literal>, each containing 256 image tiles.
</para> </para>
<para> <para>
As with DeepZoom, you can use <literal>--suffix</literal> to set jpeg qualit y. As with DeepZoom, you can use <literal>--suffix</literal> to set jpeg qualit y.
</para> </para>
</refsect3> </refsect3>
<refsect3 xml:id="writing-google-maps-pyramids"> <refsect3 xml:id="writing-google-maps-pyramids">
<title>Writing <link xlink:href="https://developers.google.com/maps/">Google M aps</link> pyramids</title> <title>Writing <link xlink:href="https://developers.google.com/maps/">Google M aps</link> pyramids</title>
<para> <para>
Use <literal>--layout google</literal> to write Google maps-style pyramids. These are compatible with <link xlink:href="http://leafletjs.com/">leaflet</link >. For example: Use <literal>--layout google</literal> to write Google maps-style pyramids. These are compatible with <ulink url="http://leafletjs.com">Leaflet</ulink>. For example:
</para> </para>
<programlisting> <programlisting>
$ vips dzsave wtc.tif gmapdir --layout google $ vips dzsave wtc.tif gmapdir --layout google
</programlisting> </programlisting>
<para> <para>
Will create a directory called <literal>gmapdir</literal> containing <litera l>blank.png</literal>, the file to display for blank tiles, and a set of numbere d directories, one for each zoom level. The pyramid can be sparse (blank tiles a re not written). Will create a directory called <literal>gmapdir</literal> containing <litera l>blank.png</literal>, the file to display for blank tiles, and a set of numbere d directories, one for each zoom level. The pyramid can be sparse (blank tiles a re not written).
</para> </para>
<para> <para>
As with DeepZoom, you can use <literal>--suffix</literal> to set jpeg qualit y. As with DeepZoom, you can use <literal>--suffix</literal> to set jpeg qualit y.
</para> </para>
 End of changes. 2 change blocks. 
6 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)