CleasbyCode / imgprmt

Store and share an AI image prompt/description as a basic web page, embedded within a tweetable JPG image file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imgprmt

Store / embed an AI image prompt within a JPG image.

This creates a separate JPG + HTML polyglot image file.

Demo Videos: Command Line / Web / Twitter

Demo Image
Image credit: Orcton (@OrctonAI)

View the embedded prompt as a basic web page by renaming the .jpg file extension to .htm

Demo Image
Image/prompt credit: Orcton (@OrctonAI)

The embedded image can be shared on a number of social media sites, such as Twitter, Mastodon,
Flickr, etc.

These platforms retain the embedded prompt, so that it's available to anyone who downloads your image.
In many cases, the embedded prompt is also preserved when someone edits the image.

(You can try imgprmt from this site if you don't want to download & compile the source code.)

Usage (Windows Command Line - Insert Prompt in JPG Image)

PS G:\imgprmpt\demo> .\imgprmt.exe

Usage: imgprmt <jpg-image>  
       imgprmt --info

PS G:\imgprmpt\demo> .\imgprmt Woman.jpg

Enter a Web link (Image source, Social media page, etc.)

URL: https://twitter.com/OrctonAI/status/1767377042029338722

Type or paste in your prompt as one long sentence. Add <br> tags for new lines, if required.

Image Description: A portrait of an enchanting young woman with long, wavy red hair standing in front of a field of colorful flowers at sunset.
 She has piercing blue eyes and is wearing a floral blouse. The sky above her features dark storm clouds, adding to the dramatic effect.
 Her expression is serene yet captivating as she gazes directly into the camera lens.
 The portrait is painted in the style of an artist known for dramatic lighting and expressive subjects. --ar 16:9 --stylize 125

Created output file: "imgprmt_5326.jpg 187573 Bytes"

Usage (Web - Insert Prompt in JPG Image)

Demo Image

My other programs you may find useful:-

About

Store and share an AI image prompt/description as a basic web page, embedded within a tweetable JPG image file.

License:MIT License


Languages

Language:C++ 100.0%