Import 2017-06-07 23:51:09: master e4ebd3b2

Author Committer Branch Timestamp Parent
msmolens msmolens master 2015-09-22 11:31:31 master ab6b1c35
Changeset

BUG: Fix libpng warnings in console when loading images with Qt 4.8.7

This commit eliminates the following libpng warning seen when loading certain
PNG images using libpng 1.6.x, which is included in Qt 4.8.7:

libpng warning: iCCP: known incorrect sRGB profile

To fix the images I ran them through ImageMagick, which removes the incorrect
profiles, as suggested in [1]:

convert image.png image.png

libpng 1.6.17 describes the warning in png.c line 2308:

/* These profiles are known to have bad data that may cause
 * problems if they are used, therefore attempt to
 * discourage their use, skip the 'have_md5' warning below,
 * which is made irrelevant by this error.
 */

[1] http://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile

From: Max Smolens <max.smolens@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24571 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Applications/SlicerApp/Resources/Images/Slicer-Logo.png Diff File
mod - Applications/SlicerApp/Resources/Images/Slicer-ModulePanelLogo.png Diff File
mod - Applications/SlicerApp/Resources/Images/Slicer-SplashScreen.png Diff File
mod - Base/QTGUI/Resources/Icons/Extension.png Diff File
mod - Base/QTGUI/Resources/Icons/MousePickMode.png Diff File
mod - Base/QTGUI/Resources/Icons/MousePlaceMode.png Diff File
mod - Base/QTGUI/Resources/Icons/MouseRotateMode.png Diff File
mod - Base/QTGUI/Resources/Icons/MouseSinglePickMode.png Diff File
mod - Base/QTGUI/Resources/Icons/MouseSinglePlaceMode.png Diff File
mod - Base/QTGUI/Resources/Icons/Small/SlicerLock.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutConventionalWidescreenView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutFiveByTwoSliceView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutFourByThreeSliceView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutFourByTwoSliceView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutFourOverFourView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutFourUpQuantitativeView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutOneUpQuantitativeView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutSideBySideCompareView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutSideBySideView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutThreeByThreeSliceView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutThreeOverThreeView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutTriple3DView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LayoutTwoOverTwoView.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LinkOff.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/LinkOn.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SliceViewerBG.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SliceViewerFG.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SliceViewerLB.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SliceViewerOR.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicerAutomaticSliceSpacing.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicerManualSliceSpacing.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesAnnotation.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesFadeToBG.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesFadeToFG.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesFeaturesVisible.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesFitToWindow.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesSpatialUnit.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesToggleFgBg.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/SlicesWinLevThreshCol.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewCamera.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewCapture.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewCenter.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewFPS.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewFeaturesVisible.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewOrtho.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewPerspective.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewPitch.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewRock.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewRoll.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewSpin.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewStereo.png Diff File
mod - Libs/MRML/Widgets/Resources/Icons/ViewYaw.png Diff File
mod - Modules/CLI/ImageData/ITKLogo.png Diff File
mod - Modules/CLI/ImageData/ITKLogo16x16.png Diff File
mod - Modules/CLI/ImageData/MIT_NAMIC_Logo.png Diff File
mod - Modules/Loadable/Annotations/Resources/Icons/AnnotationLock.png Diff File
mod - Modules/Loadable/Annotations/Resources/Icons/AnnotationMouseMode.png Diff File
mod - Modules/Loadable/Annotations/Resources/Icons/UPenn_logo.png Diff File
mod - Modules/Loadable/Annotations/Resources/Icons/ViewCamera.png Diff File
mod - Modules/Loadable/Cameras/Resources/Icons/Cameras.png Diff File
mod - Modules/Loadable/Data/Resources/Icons/Data.png Diff File
mod - Modules/Loadable/Models/Resources/Icons/Small/SlicerAddModel.png Diff File
mod - Modules/Loadable/SceneViews/Resources/Icons/Camera.png Diff File
mod - Modules/Loadable/SceneViews/SubjectHierarchyPlugins/Resources/Icons/SceneView.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeCrossReference.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeCrosshair.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeDataProbe.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeHelp.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeLayers.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeLayout.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeLogo.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeMap.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeMouse.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeSceneSnapshots.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeScreenCapture.png Diff File
mod - Modules/Loadable/SlicerWelcome/Resources/Images/WelcomeVolumeRendering.png Diff File
mod - Modules/Loadable/SubjectHierarchy/Widgets/Resources/Icons/Chart.png Diff File
mod - Modules/Loadable/SubjectHierarchy/Widgets/Resources/Icons/Transform.png Diff File
mod - Modules/Loadable/Transforms/Resources/Icons/Transforms.png Diff File
mod - Modules/Loadable/Transforms/SubjectHierarchyPlugins/Resources/Icons/Transform.png Diff File
mod - Modules/Loadable/Transforms/Widgets/Resources/Icons/ContourIcon.png Diff File
mod - Modules/Loadable/Transforms/Widgets/Resources/Icons/GlyphIcon.png Diff File
mod - Modules/Loadable/Transforms/Widgets/Resources/Icons/GridIcon.png Diff File
mod - Modules/Loadable/VolumeRendering/Resources/Icons/VolumeRendering.png Diff File
mod - Modules/Scripted/EditorLib/Resources/Icons/FastMarchingEffect.png Diff File
mod - Modules/Scripted/EditorLib/Resources/Icons/WatershedFromMarkerEffect.png Diff File
mod - Resources/Logos/ITK.png Diff File