-
-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: 12235 Accomodate SystemPNG newer than ITK version.
Newer versions make the png and info structures private, requiring the use of access functions, and there is a API change as reported here http://public.kitware.com/Bug/view.php?id=12235 BUG: The call to png_set_sCAL was failing with 1.5.2 I do a version check to suppress this call for versions 1.4 & 1.5. Based on my understanding of the call, and the comments about it in the source code, it is pretty useless anyway. I tried to set the units to PNG_SCALE_METER and divide the spacing by 1000 (since ITK spacing is in MM) and the png library no longer raised an exception, but it complained about invalid units. Change-Id: I388e2a92cf51c7fb42887055a5e59ab152e8f523
- Loading branch information
Kent Williams
committed
Jun 10, 2011
1 parent
7fb3f39
commit 74b5e6e
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters