Photo Watermark Generator
Paste the following prompt into your AI chat to install this skill:
Please install @user_29b46897/watermark-photo-generator according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When photos need consistent overlays for time, location, and notes, manual editing often produces uneven results: font size may not scale with image width, long addresses can overflow, wrapped lines may misalign, and mask padding can vary. Photo Watermark Generator turns this into a fixed layout pipeline: after receiving a photo and watermark fields, it renders a reusable watermark image using OpenCV and Pillow.
How It Works
The default style uses a transparent background:
- The watermark appears in the bottom-left corner with a fixed 6px yellow vertical bar.
- Text is white, scaled to 4.2% of the photo width, helping different resolutions stay legible.
- The notes field is always rendered; text top aligns with the yellow bar.
- If a line exceeds the reference width, it wraps automatically. The reference line is 地点:XXXX省XXXX市XXXX区·XXXXXXX小区, and wrapped content indents to the first character after the label.
If the input says “add mask,” it switches to a semi-transparent black background with 18px rounded corners, 15px left/right padding, and 12px top/bottom padding.
Limits and Notes
This skill handles photo watermark layout rather than general OCR or mapping. Typical inputs include time, location, lat/lng, and notes; notes are always shown, while project is optional. Missing or malformed fields will affect the rendered text, and coordinates are treated as display strings rather than location-service inputs. It assumes a Python 3.6+ environment with opencv-python and Pillow.
Use Cases
- Real estate agents add time, community location, and notes to listing photos for consistent corner badges.
- Operations staff overlay time, location, lat/lng, and notes on inspection photos for traceable records.
- Editors apply uniform bottom-left white text to event photos, with long locations wrapping and indenting.
- When asked to add a mask, it places text and the yellow bar on a rounded semi-transparent panel with fixed padding.
Best For
- Real estate or event operators who need uniform time and location corner marks with automatic line wrapping.
- Ops staff who want inspection photos with lat/lng, notes, and consistent masked padding.
- Script developers using OpenCV and Pillow to render bottom-left white watermarks scaled to image width.
- Design operators who need yellow-bar and rounded-mask photo watermarks generated from fixed fields.
Related Skills
Converts image sequences, videos, or screen recordings into GIFs with Python, supporting timing, looping, optimization, and quick command-line use.
Call Mew image and design APIs in two stages to create an emotional background and compose a share-ready quote check-in poster.
Generate felt-craft pendant designs, part breakdowns, and structured analysis from a product image or Base64 input.
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.