Releases: Katze-Schwarz/CrossStitchApp
Critical fixes for color accuracy and Cyrillic path support
Color Processing Fixes:
Complete overhaul of color space handling (RGB/BGR).
Removed all RGB/BGR conversions – entire pipeline now uses RGB only.
Colors in preview, output images, and PDF now match the original.
Cyrillic Path Support:
Image loading via Pillow instead of OpenCV.
Output saving with Pillow (correct Unicode path handling).
Clustering Improvements:
Fixed DMC color matching (direct RGB processing).
Better transparency handling (auto-conversion to RGB).
Visual Enhancements:
Larger symbols on pattern (font thickness +2).
Higher contrast grid (dark gray, line thickness +2).
Smart text color selection (black/white) for readability.
PDF Corrections:
Legend colors now match the pattern.
Fixed image aspect ratio distortion in PDF.
Added page titles ("Cross Stitch Pattern", "Color Legend").
Stability:
Division-by-zero protection for size calculations.
Improved image loading error handling.
Cross App v1.0.1
Added support for multilingual image path names.
This update enables the system to correctly handle and process image file paths that include non-English (e.g., Cyrillic, Chinese, etc.) characters. This improves compatibility across different locales and file naming conventions.
Cross App v1.0.0
Cross Stitch Pattern Generator - User Guide
Overview
This application converts any image into a cross stitch pattern with DMC color codes. It provides an intuitive interface for adjusting pattern parameters and generates both visual patterns and PDF instructions.
Features
Convert images to cross stitch patterns
Customizable pattern size (width and height)
Automatic color palette selection
Custom color palette support
Pattern preview functionality
PDF export with color legend
Light purple-themed UI with dark text for readability
How to Use
- Loading an Image
Click the "Select Image" button
Choose an image file (JPG, JPEG, PNG, or BMP format)
The selected file name will appear below the button
- Setting Pattern Parameters
Width: Set the desired width of your pattern in stitches (50-500)
Height: Automatically calculated to maintain aspect ratio
Colors: Select the number of colors to use (1-100)
Auto Pick: Click to get a recommended color count based on your image
- Color Palette Options
DMC: Use standard DMC thread colors (default)
Custom: Create your own palette
Enter DMC color codes in the input field
Click "+" to add colors to your custom palette
Select colors in the list and click "-" to remove them
Use "Clear" to reset your palette
"Save" and "Load" buttons let you store and retrieve custom palettes
- Generating Patterns
Preview: Click to see a preview of your pattern
Generate Pattern: Creates the final pattern and opens a save dialog
Select a directory to save your files
The app will create:
cross_stitch_pattern.png - Visual pattern with symbols
cross_stitch_pattern.pdf - Printable PDF with pattern and color legend
- Understanding the Output
The pattern shows symbols representing different colors
The PDF includes:
Full pattern with grid and symbols
Color legend showing:
Symbol used for each color
DMC color code
Color name
Number of stitches needed
Tips
For best results, use images with clear color contrasts
Start with the "Auto Pick" feature to get optimal color count
Larger patterns will take longer to generate
The preview shows the pattern at a reduced size - the final output will be higher resolution