Skip to content

cartesiancs-dev/text2heximage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

head

TextToHexImage

ํ…์ŠคํŠธ๋ฅผ 16์ง„์ˆ˜๋กœ ๋ณ€ํ™˜ํ•˜์—ฌ hex color ์ด๋ฏธ์ง€๋กœ ํ‘œํ˜„ํ•˜๋Š” ํŒŒ์ด์ฌ ํŒจํ‚ค์ง€ ์ž…๋‹ˆ๋‹ค. ์ƒ์„ฑ๋œ ์ด๋ฏธ์ง€๋ฅผ ํ…์ŠคํŠธ๋กœ ๋ณ€ํ™˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Installation

pip3 install Text2HexImage

Usage

from text2heximage import core

control = core.T2i(200, 200, 40)

randomid = control.generatePrimaryId()
randomid_hex = control.createHex(randomid)

control.encrypt(randomid_hex, './')
hex_color = control.decrypt('result.png')

Example

์•„๋ž˜ ๊ทธ๋ฆผ์€ ์˜ˆ์‹œ ์ž…๋‹ˆ๋‹ค.
ex_screenshot

About

๐Ÿ“ฆ A python package for converting texts into image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages