From 2e057b1470c139aac6ede056d469384478d31be5 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Fri, 23 Dec 2016 14:58:05 +0100 Subject: SLS: output source filename/size also for raw files --- src/odr-padenc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp index a42d62d..93aaeb6 100644 --- a/src/odr-padenc.cpp +++ b/src/odr-padenc.cpp @@ -1272,6 +1272,11 @@ int encodeFile(int output_fd, const std::string& fname, int fidx, bool raw_slide blobsize = ftell(pFile); rewind(pFile); + if (verbose) { + fprintf(stderr, "ODR-PadEnc image: '%s' (id=%d). Raw file: %zu Bytes\n", + fname.c_str(), fidx, blobsize); + } + if (blobsize > MAXSLIDESIZE) { fprintf(stderr, "ODR-PadEnc Warning: blob in raw-slide '%s' too large\n", fname.c_str()); -- cgit v1.2.3