Skip to content

twekberg/cen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO

Center

Center an image about a specific point adding space to the borders.

Basic Installation

Create a virtualenv:

virtualenv-3.7 cen-env
source cen-env/bin/activate

Running examples

Before running the examples:

Start mobaxterm
source cen-env/bin/activate
cd examples

Hello

Do the following:

python hello.py

A small window will pop up.

image_gif

Do the following:

python image_gif.py

A gif file will be displayed.

image_png

Do the following:

python image_png.py

A png file will be displayed.

Notes

Next is to add white space padding (already computed) to recenter the image.

google imagemagick add white space

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages