Giter Club home page Giter Club logo

dtstamp's Introduction

About

Version: 1.0.2

DTStamp is a .NET 5 CLI utility for adding a date/time stamp to images in a single folder. Supports JPG (or JPEG) images only. Timestamps are based on the Date Time Original EXIF field.

This application is delivered as a single-file .NET 5 application. The dtstamp.ttf font file is required for the application to run and can be used to customized with the font of your choice (see Configuration below).

Usage Instructions

There are two ways to use DTStamp:

Option 1: place executable in images folder

  1. Copy & paste the following files into your images folder:
    • dtstamp.exe
    • dtstamp.ttf
  2. Run dtstamp.exe
  3. Timestamped images will be available in a new folder named "output" inside the source folder

Option 2: provide path to images folder

  1. Run dtstamp.exe from any location with the following parameter: -path <path_to_your_image_folder>
    • Example: dtstamp.exe -path 'C:\data\images'
  2. Timestamped images will be available in a new folder named "output" inside the source folder

Configuration

Parameters

Available parameters when running dtstamp.exe:

  • -path: absolute path to the image source folder; defaults to current directory of executable if not provided
  • -size: font size (pt) of date & time stamp on images
  • -quality : jpeg encoding quality (0 - 100)

Example of parameter usage:

dtstamp.exe -path 'c:\images' -size 128 -quality 55

Custom fonts

The font file dtstamp.ttf represents the font used for timestamps on images. You can replace this with a font of your choice by naming a True Type Font file dtstamp.ttf and placing next to the executable (dtstamp.exe).

Building

To publish as a single-file application using the .NET 5 CLI:

dotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained false

License

MIT license. See LICENSE file for additional detail.

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.