Created
May 10, 2018 18:54
-
-
Save mr-islam/67de74c60adb9d10057d9b83d19b5563 to your computer and use it in GitHub Desktop.
splits pdf of Qurān to jpegs — will be used in upcoming project
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 | |
x = 0 | |
while x < 604: | |
print (str(x)+'doing') | |
os.system("convert -density 150 ar_Mushaf_AlMadinah_new_TruePDF.pdf["+str(x)+"] -verbose output/"+str(x)+".png") | |
x += 1 | |
print ('alhamduliLlah') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment