Skip to content

hbellahc/quran.com-images

 
 

Repository files navigation

# بسم الله الرحمن الرحيم
# In the name of Allah, Most Gracious, Most Merciful

# Quran Image Generator
#  Using primary source fonts originating from the King Fahed Complex in Saudi Arabia...
#  <em>As seen on Quran.com</em>

# Authors/Contributors
#  Ahmed El-Helw
#  Nour Sharabash
#  Bassem Shama

# The code is copyleft GPL (read: free) but the actual fonts and pages (in the 'data'
# directory) belong to the King Fahed Complex in Saudia Arabia
# Their URL: http://www.qurancomplex.com

Usage
	./generate.quran.ayah.pl -width 162 -em 1.62 -batch
or,
	./generate.quran.ayah.pl -width 262 -em 1.38 -sura 2 -ayah 255
etc...

Example output (entire page)
	http://images.quran.com/page/293/width/1000

Example output (ayat)
	http://images.quran.com/output/width_480/em_0.9/2_255.png
	http://images.quran.com/output/width_480/em_0.9/2_282.png
	http://images.quran.com/output/width_480/em_1.0/2_255.png
	http://images.quran.com/output/width_480/em_1.0/2_282.png
	http://images.quran.com/output/width_480/em_1.4/2_255.png
	http://images.quran.com/output/width_480/em_1.4/2_282.png

	http://images.quran.com/output/width_640/em_1.0/2_255.png
	http://images.quran.com/output/width_640/em_1.0/2_282.png
	http://images.quran.com/output/width_640/em_1.2/2_255.png
	http://images.quran.com/output/width_640/em_1.2/2_282.png
	http://images.quran.com/output/width_640/em_1.6/2_255.png
	http://images.quran.com/output/width_640/em_1.6/2_282.png

	http://images.quran.com/output/width_1024/em_2.4/2_255.png
	http://images.quran.com/output/width_1024/em_2.4/2_282.png

	http://images.quran.com/output/width_1280/em_3.6/2_255.png
	http://images.quran.com/output/width_1280/em_3.6/2_282.png

Required modules
	GD
	GD::Text::Align
	DBI
	DBD::SQLite2

TODO
	Refactor and improve generate.ayah.pl

About

images using fonts from King Fahed Complex / qurancomplex.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 91.6%
  • PHP 8.4%