GithubHelp home page GithubHelp logo

samsorrahman / certificate_generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saadfareed/certificate_generator

0.0 0.0 0.0 1.2 MB

This will automatically write text on a given certificate template and generate its pdf file

Home Page: https://github.com/saadfareed/Certificate_generator

Python 100.00%

certificate_generator's Introduction

Certificate Generator Input Template:

How you make this code feasible for your Template?


1:copy your template of certificate in the same directory where you find Template.jpeg.


2:Make sure you name it Template.jpeg if you don't then you have to change im = Image.open(r'Template.jpg') to im = Image.open(r'name of your template with extension')


3:if you want to change font you have to first download font Download Font from here!


4: Which font do you change if you want to change font used for attendees name you should change fon = ImageFont.truetype("arial.ttf", 60) to fon = ImageFont.truetype("font you want to use", size of font)


5: And if you want to change font used for Signatures you should change fox = ImageFont.truetype("PWSignaturetwo.ttf", 50) to fox = ImageFont.truetype("font you want to use", size of font)


Next Steps are How you Run the code?

Dependencies Installation:

1;install python3 (I am using python 3.7.6)

2;pip install pandas

3:pip install os

4:pip install PIL


Run code:

python Certificate_Generator.py


Certificate Generator Output Result:

certificate_generator's People

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.