gui_image_studio.embed_images_from_folder

gui_image_studio.embed_images_from_folder(folder_path, output_file='embedded_images.py', compression_quality=85, framework='tkinter', usage='general', include_examples=True)[source]

Complete pipeline: process folder and generate embedded code file.

Parameters:
  • folder_path (str | Path) – Path to folder containing images

  • output_file (str | Path) – Output Python file path

  • compression_quality (int) – Image compression quality (1-100)

  • framework (str) – Target framework (“tkinter” or “customtkinter”)

  • usage (str) – Usage type (“icons”, “buttons”, “backgrounds”, “general”)

  • include_examples (bool) – Whether to include usage examples

Raises:
Return type:

None