Giter Club home page Giter Club logo

textfontimage's Introduction

text-font-image

Community Node For InvokeAI

text font to text image node for InvokeAI, download a font to use (or if in font cache uses it from there), the text is always resized to the image size, but can control that with padding, optional 2nd line

  • simple node textfontimage.py (Simple centered 2 line's of Texted)
  • more advanced node advtextfontimage.py (gives you alot more control over text size and location)
  • extrude node made by lillekemiker (keeping upto date here)

Text Font to Image Node

Fields Description
text_input The text from which to generate an image
text_input_second_row The second row of text to add below the first text
second_row_font_size Font size for the second row of text (optional)
font_url URL address of the font file to download
local_font_path Local font file path (overrides font_url)
local_font Name of the local font file to use from the font_cache folder
image_width Width of the output image
image_height Height of the output image
padding Padding around the text in pixels
row_gap Gap between the two rows of text in pixels

Advanced Text Font to Image Node

Fields Description
text_input The text from which to generate an image
text_input_second_row The second row of text to add below the first text
font_url URL address of the font file to download
local_font_path Local font file path (overrides font_url)
local_font Name of the local font file to use from the font_cache folder
image_width Width of the output image
image_height Height of the output image
font_color_first Font color for the first row of text in HEX format
x_position_first X position of the first row of text
y_position_first Y position of the first row of text
rotation_first Rotation angle of the first row of text (in degrees)
font_size_first Font size for the first row of text
font_color_second Font color for the second row of text in HEX format
x_position_second X position of the second row of text
y_position_second Y position of the second row of text
rotation_second Rotation angle of the second row of text (in degrees)
font_size_second Font size for the second row of text
base_image An image to place the text onto

Example Workflow

image

Examples

using Results after using the @LilleKemiker extrude node and depth controlnet

710113a2-1915-43b2-ba9b-062c3338316a ef420c9c-b780-45b9-b2d3-608ee6516785 babd69c4-9d60-4a55-a834-5e8397f62610 9133eabb-bcda-4326-831e-1b641228b178 3f396f80-b448-4e40-a960-c7a68fae5623 93a89944-14e3-49fc-97c2-8593f22abd30 2f37c9fa-f677-45b6-aaec-c845994061d9 4f9a3fa8-9be9-4236-8a3e-fcec66decd2a e2fe744b-7988-4f8e-8fca-6a2ec0e51153 a1593f97-8735-4f05-b79e-1a48c956fc92

textfontimage's People

Contributors

mickr777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

textfontimage's Issues

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.