BSD Ports

graphics/libertiff 0.0.0.20250111 MidnightBSD

C++11 simple, header-only, TIFF reader

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
graphics

Description

Libertiff is a C++11 simple, header-only, TIFF reader. It is MIT licensed.

Handles both ClassicTIFF and BigTIFF, little-endian or big-endian ordered.

The library does not offer codec facilities (and probably won't). It is mostly aimed at browsing through the linked chain of Image File Directory (IFD) and their tags.

"Offline" tag values are not loaded at IFD opening time, but only upon request, which helps handling files with tags with an arbitrarily large number of values.

The library is thread-safe (that is the instances that it returns can be used from multiple threads), if passed FileReader instances are themselves thread-safe.

The library does not throw exceptions (but underlying std library might throw exceptions in case of out-of-memory situations)

Optional features:

  • define LIBERTIFF_C_FILE_READER before including libertiff.hpp, so that the libertiff::CFileReader class is available

In the other systems

The newest version among them is 0.0.0.20250612, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDgraphics/libertiff0.0.0.20250111no data-[email protected]-
FreeBSDgraphics/libertiff0.0.0.20250612 newestnone known-[email protected]-
HardenedBSDgraphics/libertiff0.0.0.20250612 newestno data-[email protected]-
GhostBSDgraphics/libertiff0.0.0.20250612 newestno data-[email protected]-

Install

Binary package:

mport install libertiff

From mports:

cd /usr/mports/graphics/libertiff && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libertiff>0:graphics/libertiff

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1
Required by 1

Configuration

No options to configure.

USES
cmake:testing compiler:c++11-lang
Service scripts
none

Files

distinfo 1
FileSizeSHA256
libertiff-libertiff-0.0.0.20250111-7fc74e7_GH0.tar.gz19972a1953a2541414e8a26f793b4f963bb9581ade23e193ee437c973eba907be4c5d