Skip to main content

A library for those who want to convert their older images into digitised format (with metadata), and beautify them using borders and other options.

Project description

Memories

PyPi Downloads License

Description

Memories is an easy to use package that helps to seperate clustered images from files and helps add metadata to files. The documentation is in progress and will be present in the "docs" directory of the project in the future. For the time being the following steps should be an adequate description of all functions present.

Installation

$ pip install memories

How to Use:

There are 6 functions at the time being:

  • memories.dividedCrop: Takes 3 inputs, the path to the image, the path where the outful folder should be and the number of images present in the input file. It performs the task of dividing a single image into multiple smaller ones.
  • addDate: Taken input as the image path and the datetime to be added. it will add date when the image was originally taken.
  • bulkAddDate: Same as addDate, except it will add date to all images in a folder. The inputs are the folder path and datetime.
  • saveAsPDF: Converts a list of images (one or more) into a PDF
  • saveAsPNG: Converts a single image into PNG format
  • saveAsJPG: Converts a single image into JPG format

Example

import memories

memories.dividedCrop("./image.png", "./", 4)
memories.addDate("./image-1.jpg", "27/04/2021 12:00:03")
memories.bulkAddDate("./", "27/04/2021 12:00:03")
memories.saveAsPDF(["./source_folder/image1.png", "./random/another_source_folder/image2.jpg"], "./save_folder/file.pdf")
memories.saveAsPNG("./source_folder/image1.jpg", "./output_folder")
memories.saveAsJPG("./source_folder/image1.png", "./output_folder")

Features

Current features that are present are:

  1. Crop out basic implementation
  2. Add Date and time metadata
  3. Save as PDF, PNG, JPG

Future features can also be found at https://github.com/veedata/album-manager/projects/1:

  1. Border
  2. Collage
  3. Image Age identifyer
  4. Documentation

License

This software is released under the MIT license, see LICENSE.txt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memories-0.3.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file memories-0.3.tar.gz.

File metadata

  • Download URL: memories-0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for memories-0.3.tar.gz
Algorithm Hash digest
SHA256 9a2575e3dabab4e9c3a7ef1afb090dbe71237e431b1df3739e6250774f94e2b9
MD5 5385547c068281cf8c9596c10c29e7ac
BLAKE2b-256 6b05c16869bfa42f5a1e277323027960ee0a55f7803a778d3d08eb4c37e7b162

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page