Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

EmailCountdown

> 编程语言
Open source

Countdown image for email

186 stars0 likes0 views
WebsiteGitHub

About

Countdown image for email

EmailCountdown

What does this do?

Creates a countdown image counting down to a specific time/date for use in email campaigns.

How does it work?

This generates an image based on the following variables:

php
  $image = imagecreatefrompng('images/countdown.png');
  $font = array(
    'size'=>23, // Font size, in pts usually.
    'angle'=>0, // Angle of the text
    'x-offset'=>7, // The larger the number the further the distance from the left hand side, 0 to align to the left.
    'y-offset'=>30, // The vertical alignment, trial and error between 20 and 60.
    'file'=>'./GillSans.ttc', // Font path
    'color'=>imagecolorallocate($image, 55, 160, 130), // RGB Colour of the text
  );

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言