Created
August 14, 2012 14:43
-
-
Save tinbotu/3349911 to your computer and use it in GitHub Desktop.
fixing Gyazoed image scale with Macbook Pro Retina grows twice
This file contains hidden or 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
--- /Applications/Gyazo.app/Contents/Resources/script~ 2012-08-14 07:50:01.000000000 +0900 | |
+++ /Applications/Gyazo.app/Contents/Resources/script 2012-08-14 23:31:39.000000000 +0900 | |
@@ -24,6 +24,7 @@ | |
else | |
system "screencapture -i \"#{tmpfile}\"" | |
if File.exist?(tmpfile) then | |
+ system "/usr/local/bin/mogrify -resize 50% -unsharp 1x1.2+0.2+0 \"#{tmpfile}\"" | |
system "sips -d profile --deleteColorManagementProperties \"#{tmpfile}\"" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment