From: Matthew Fernandez Date: Thu, 11 Nov 2021 01:27:26 +0000 (-0800) Subject: remove commented out 'tiff_size' X-Git-Tag: 2.50.0~30^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9892a267c85cfaa3abb90e3b7bd89549ea7037bf;p=graphviz remove commented out 'tiff_size' --- diff --git a/lib/gvc/gvusershape.c b/lib/gvc/gvusershape.c index b8f5dbde2..c8fe78a1e 100644 --- a/lib/gvc/gvusershape.c +++ b/lib/gvc/gvusershape.c @@ -284,22 +284,6 @@ static void ico_size (usershape_t *us) } } - -// FIXME - how to get the size of a tiff image? -#if 0 -static void tiff_size (usershape_t *us) -{ - unsigned int w, h; - - us->dpi = 0; - fseek(us->f, 6, SEEK_SET); - if (get_int_msb_first(us->f, 1, &w) && get_int_msb_first(us->f, 1, &h)) { - us->w = w; - us->h = h; - } -} -#endif - static void webp_size (usershape_t *us) { unsigned int w, h;