Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
splits pdf of Qurān to jpegs — will be used in upcoming project
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
You can’t perform that action at this time.