Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Removed sRGB color profiles from all PNG files and added ImageMagick …
Browse files Browse the repository at this point in the history
…script to do this
  • Loading branch information
plul committed Oct 7, 2014
1 parent 66447a8 commit b652f86
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 0 deletions.
Binary file modified images/btn_borderimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/btndown_borderimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/dropdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/favicon2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions images/imagemagick script (for Windows).bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
convert -strip btndown_borderimage.png btndown_borderimage.png
convert -strip btn_borderimage.png btn_borderimage.png
convert -strip dropdown.png dropdown.png
convert -strip favicon2.png favicon2.png
convert -strip qmark.png qmark.png
convert -strip qmarkdown.png qmarkdown.png
convert -strip trans_btndown_borderimage.png trans_btndown_borderimage.png
convert -strip trans_btndown_borderimage_left.png trans_btndown_borderimage_left.png
convert -strip trans_btndown_borderimage_left2.png trans_btndown_borderimage_left2.png
convert -strip trans_btndown_borderimage_right.png trans_btndown_borderimage_right.png
convert -strip trans_btndown_borderimage_right2.png trans_btndown_borderimage_right2.png
convert -strip trans_btn_borderimage.png trans_btn_borderimage.png
convert -strip trans_btn_borderimage_left.png trans_btn_borderimage_left.png
convert -strip trans_btn_borderimage_left2.png trans_btn_borderimage_left2.png
convert -strip trans_btn_borderimage_right.png trans_btn_borderimage_right.png
convert -strip trans_btn_borderimage_right2.png trans_btn_borderimage_right2.png
convert -strip triangle.png triangle.png
13 changes: 13 additions & 0 deletions images/imagemagick script README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Removes sRGB color profiles from PNG image files. This removes the warning Kivy throws out:

"libpng warning: iCCP: known incorrect sRGB profile"

This needs to be done on any PNG file created with Photoshop especially, since Photoshop uses a color profile which causes an error with libpng.

Note: Filenames are added manually to the script.



References:
https://wiki.archlinux.org/index.php/Libpng_errors
https://github.com/Storj/driveshare-gui/issues/21#issuecomment-58206821
Binary file modified images/qmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/qmarkdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btn_borderimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btn_borderimage_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btn_borderimage_left2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btn_borderimage_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btn_borderimage_right2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btndown_borderimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btndown_borderimage_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btndown_borderimage_left2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btndown_borderimage_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/trans_btndown_borderimage_right2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/triangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b652f86

Please sign in to comment.