]> granicus.if.org Git - graphviz/commitdiff
remove commented out 'tiff_size'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 11 Nov 2021 01:27:26 +0000 (17:27 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Nov 2021 01:01:22 +0000 (17:01 -0800)
lib/gvc/gvusershape.c

index b8f5dbde2563c9e619153756f75a69f1586c85b8..c8fe78a1e16ec9e4ae008a87b58e0f743e431234 100644 (file)
@@ -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;