Skip to content

Instantly share code, notes, and snippets.

@embed
Created August 14, 2009 14:56
Show Gist options
  • Save embed/167872 to your computer and use it in GitHub Desktop.
Save embed/167872 to your computer and use it in GitHub Desktop.
Resmi ortadan ikiye bölme
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