From a826a0adcdecb7c968924b5a443861d57487fcac Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Mon, 12 Oct 2020 14:57:53 +0200 Subject: [PATCH] improved examples in docu mainpage --- README.md | 91 +++++++++++++++++++++------------ doc/dox/mainpage.dox | 117 ++++++++++++++++++++++++++----------------- 2 files changed, 130 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index 59f0aa6..6bf5266 100644 --- a/README.md +++ b/README.md @@ -44,37 +44,56 @@ This example reads all frames from a TIFF file: if (!tiffr) { std::cout<<" ERROR reading (not existent, not accessible or no TIFF file)\n"; } else { - if (TinyTIFFReader_wasError(tiffr)) std::cout<<" ERROR:"<0 && height>0) std::cout<<" size of frame "<0 && height>0) std::cout<<" size of frame "<