Created
August 14, 2009 14:56
-
-
Save embed/167872 to your computer and use it in GitHub Desktop.
Resmi ortadan ikiye bölme
This file contains 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
import os | |
for nr in range(1,18): | |
command ="convert %d.bmp -gravity West -crop 50%%x100%% left_%02d.bmp"%(nr,nr) | |
print command | |
os.system(command) | |
command ="convert %d.bmp -gravity East -crop 50%%x100%% right_%02d.bmp"%(nr,nr) | |
os.system(command) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment