Skip to content

Instantly share code, notes, and snippets.

@tinbotu
Created August 14, 2012 14:43
Show Gist options
  • Save tinbotu/3349911 to your computer and use it in GitHub Desktop.
Save tinbotu/3349911 to your computer and use it in GitHub Desktop.
fixing Gyazoed image scale with Macbook Pro Retina grows twice
--- /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