(EN) The purpose of this repo is to give example how to convert input or text into image. In this case, membership card. (ID) Tujuan dari repo ini adalah memberikan contoh bagaimana cara konversi input atau teks menjadi sebuah gambar. Studi kasus kartu member atau kartu anggota.
- PHP 7 or latest. Because it contain Null Coalescing Operator. If you can change it to ternary, then this requirement is optional.
- GD Library
(EN)
- Clone this repo
- Run
php -S localhost:8000
- Fill the form and then submit
- Finally, the input become an image.
(ID)
- Clone repo.
- Jalankan
php -S localhost:8000
di terminal/cmd. - Masukkan input
- Setelah itu semua isian akan menjadi gambar.
There are functions that are the main functions
This repo use Bebas Front
- You can use this technique to add watermark on your image too.
- Cara ini juga bisa digunakan untuk menambahkan watermark ke dalam gambar.