Skip to content

Instantly share code, notes, and snippets.

View raleksandar's full-sized avatar
👨‍💻

Aleksandar Ružičić raleksandar

👨‍💻
View GitHub Profile
@raleksandar
raleksandar / deretinize.cmd
Created December 12, 2015 19:05
Simple batch script to convert all *@2x.(png,gif,jpe?g) files in current directory to corresponding *.(png,gif,jpe?g)
@echo off
rem deretinize.cmd
rem Resizes all "retina" images in current directory to their respective "non-retina" versions
rem ImageMagick's convert.exe utility is used to perform image processing
rem Image linearization is performed before resampling in order to correctly handle gamma
rem For more details see http://www.4p8.com/eric.brasseur/gamma.html
set conv=convert.exe

Keybase proof

I hereby claim:

  • I am raleksandar on github.
  • I am aleksandar (https://keybase.io/aleksandar) on keybase.
  • I have a public key whose fingerprint is 1074 F902 8493 9F73 B94A 0C39 2985 242F BB 80 54B6

To claim this, I am signing this object: