Leanest OpenSlide possible
Benjamin Gilbert
bgilbert at cs.cmu.edu
Wed Dec 11 15:20:52 EST 2019
On Fri, Dec 6, 2019 at 12:20 PM Jeff Mather <jmather at mathworks.com> wrote:
> I’ve just started looking into what might be involved to build something
> that links against OpenSlide. When I used homebrew to install OpenSlide on
> my Mac, I saw a lot of other libraries being fetched as well. Some made
> sense: libtiff, libjpeg, etc. Others puzzled me: cairo, freetype,
> little-cms, etc.
>
>
>
> If my goal is simply to read raster data and file metadata, what’s the
> leanest set of additional libraries that I need? Eventually I’ll be
> building OpenSlide from source, and I’d like to link and redistribute as
> few libraries as possible.
>
OpenSlide uses Cairo to render pixel data. I'd guess FreeType and Little
CMS are being pulled in as indirect dependencies of Cairo.
OpenSlide itself doesn't have any optional dependencies, but some of _its_
dependencies do. To get a rough sense of the minimal set (on Windows, at
least), see https://github.com/openslide/openslide-winbuild/.
--Benjamin Gilbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20191211/e595be7a/attachment.html>
More information about the openslide-users
mailing list