Git Product home page Git Product logo

quran.com-images's Introduction

# بسم الله الرحمن الرحيم
# 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

quran.com-images's People

Contributors

sharabash avatar ahmedre avatar

Watchers

Ahmed Marouf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.