From a559939800003c560de16d2f38d01219547b2339 Mon Sep 17 00:00:00 2001 From: triskj0 <108220065+triskj0@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:59:48 +0100 Subject: [PATCH] fix: Correct two tags --- src/csv/jpg_exif_tags.csv | 2 +- src/jpg_operations.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/csv/jpg_exif_tags.csv b/src/csv/jpg_exif_tags.csv index f3ab877..f094ef1 100644 --- a/src/csv/jpg_exif_tags.csv +++ b/src/csv/jpg_exif_tags.csv @@ -19,7 +19,7 @@ 0115;samples per pixel 0116;rows per strip 0117;strip byte counts -011a;x Resolution +011a;x resolution 011b;y resolution 011c;planar configuration 011d;page name diff --git a/src/jpg_operations.c b/src/jpg_operations.c index ab7fa5d..df72a21 100644 --- a/src/jpg_operations.c +++ b/src/jpg_operations.c @@ -771,7 +771,7 @@ static void _print_presence_of_other_segments(FILE *image_file) printf(" - quantisation table (0x%X)\n", segment_markers[0]); } else if (current == segment_markers[1]) { - printf(" - start of baseline DCT frame (0x%X)\n", segment_markers[0]); + printf(" - start of baseline DCT frame (0x%X)\n", segment_markers[1]); } else if (current == segment_markers[2]) { printf(" - huffman table (0x%X)\n", segment_markers[2]);