Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.
Ttingyu1123Public archive

About

文字與圖片的圖層編輯室

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GHBanner

Run and deploy your AI Studio app

This contains everything you need to run your app locally.

View your app in AI Studio: https://ai.studio/apps/drive/1NlkwF3p36iUSgViTDxTgLTMeAEHoLNNV

Run Locally

Prerequisites: Node.js (v18+)

  1. Install dependencies:

    npm install
  2. Setup Environment Variables:

    Set the GEMINI_API_KEY in .env.local to your Gemini API key:

    VITE_GEMINI_API_KEY=your_api_key_here
  3. Run the app:

    npm run dev

Deployment

This project is configured to deploy automatically to GitHub Pages using GitHub Actions.

  1. Go to repository Settings > Pages and ensure the source is set to gh-pages branch.

軟體操作說明 (User Guide)

歡迎使用 Sticker LayerLab!這是一款專為製作貼圖 (Line, Telegram, etc.) 設計的輕量級線上編輯器。以下是詳細的功能介紹與操作指南。

1. 畫布設定 (Canvas Settings)

當您未選取任何物件時,右側面板會顯示全域設定:

  • 尺寸預設值 (Presets):快速切換常用的貼圖尺寸 (例如:Line Sticker 370x320, HD 1920x1080)。
  • 自訂尺寸:也可直接輸入寬高數值。
  • 背景設定:
    • Show Grid:切換透明背景 (顯示格線) 或純色背景。
    • Base Color:選擇背景底色 (支援 Hex 色碼輸入)。
    • Shape:
      • Rect:標準矩形。
      • Rounded:圓角矩形 (適合圓潤風格)。
      • Circle:圓形裁切 (預覽時會遮罩,匯出時會依此形狀裁切)。

2. 圖層管理 (Layers)

  • 新增物件:透過上方工具列上傳圖片 (Upload Image) 或新增文字 (Add Text)。
  • 選取與編輯:點擊畫布上的物件即可選取,右側面板會自動切換至該物件的屬性設定。
  • 圖層列表:
    • 拖曳排序:可調整圖層的前後順序 (而在屬性面板中也有「上移/下移」按鈕)。
    • 重新命名:在圖層列表中雙擊圖層名稱,即可自訂名稱,方便管理。
    • 刪除/複製:選取圖層後,可按 Delete 鍵刪除,或使用面板上的 Duplicate 按鈕複製。

3. 文字編輯強大功能 (Typography)

選取文字圖層後,可調整豐富的樣式:

  • 字體與大小:支援上傳自訂字體 (.ttf, .otf, .woff)。
  • 顏色 (Colors):
    • 所有顏色選擇器皆支援 色盤選色 與 Hex 色碼輸入 (#FFFFFF)。
    • Fill:文字填充色。
    • Outline:第一層描邊 (粗細/顏色)。
    • Double Outline:第二層描邊 (雙重外框效果,適合動漫風格)。
    • Drop Shadow:投影效果 (顏色/模糊/偏移量)。

4. 物件操作 (Object Control)

  • 移動:直接拖曳物件。
  • 縮放:拖曳選取框的 四個角落 圓點即可等比例縮放。
  • 旋轉:拖曳上方中央的旋轉手柄。
  • 鏡像 (Mirror):在右側面板的 Arrange 區塊,點擊 Mirror 按鈕可水平翻轉物件 (支援文字與圖片)。
  • 畫布外編輯:即使物件移出畫布範圍,選取框依然可見,方便調整大型圖片。

5. 匯出 (Export)

  • 點擊右上角的 Export PNG 按鈕。
  • 系統會根據目前的畫布設定 (包含圓形/圓角裁切) 產生高品質 PNG 圖片並自動下載。

Happy Creating!

About

文字與圖片的圖層編輯室

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages