glowbyte 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
glowbyte-0.1.0/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2018 The Python Packaging Authority
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.4
2
+ Name: glowbyte
3
+ Version: 0.1.0
4
+ Summary: A Python image composition engine with layers, filters, and blend modes.
5
+ Author-email: Elena Andrea Müller <andstudies.contact@gmail.com>
6
+ License: MIT
7
+ Project-URL: Repository, https://github.com/sfyds/glowbyte
8
+ Project-URL: Homepage, https://andstudies.com/tools/glowbyte/
9
+ Requires-Python: >=3.10
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: Pillow>=10.0
13
+ Requires-Dist: numpy>=1.24
14
+ Dynamic: license-file
15
+
16
+ # GlowByte
17
+
18
+ A Python image composition engine with layers, filters, and blend modes.
19
+
20
+ #### Video Demo: https://andstudies.com/tools/glowbyte/glowbyte.mp4
21
+
22
+ #### Description
23
+
24
+ glowbyte is a Python package for programmatic photo editing. Instead of opening Photoshop or GIMP, you write code — stack layers, apply filters, set blend modes and opacity, and export the result.
25
+
26
+ The idea is simple: a canvas holds layers, each layer holds an image, and each layer can have its own position, size, opacity, blend mode, and effects. When you export, glowbyte composites everything together from bottom to top and writes the final image.
27
+
28
+ This makes glowbyte useful for automated image generation, social media templates, batch processing, data-driven graphics, and anyone who'd rather write Python than drag sliders. The inspiration came from my work on [PyFrame](https://github.com/sfyds/pyframe), a video composition engine — glowbyte is the image foundation that PyFrame will eventually build on.
29
+
30
+ ## Features
31
+
32
+ - Layer-based composition system
33
+ - Image layers with position, size, and opacity
34
+ - Text layers with font, size, and color
35
+ - Solid color and gradient layers
36
+ - Blend modes (multiply, screen, overlay, soft light, etc.)
37
+ - Non-destructive filters (blur, sharpen, brightness, contrast, saturation, hue shift)
38
+ - Chroma key / green screen removal
39
+ - Resize, crop, and transform operations
40
+ - PNG and JPEG export
41
+
42
+ ## Installation
43
+
44
+ ```
45
+ pip install glowbyte
46
+ ```
47
+
48
+ Or install from source:
49
+
50
+ ```
51
+ git clone https://github.com/sfyds/glowbyte.git
52
+ cd glowbyte
53
+ pip install -e .
54
+ ```
55
+
56
+ ## Usage
57
+
58
+ ```python
59
+ from glowbyte import Canvas, Layer
60
+
61
+ # create a canvas
62
+ canvas = Canvas(1920, 1080)
63
+
64
+ # add a background
65
+ bg = Layer.from_file("background.png")
66
+ canvas.add_layer(bg)
67
+
68
+ # add a photo with reduced opacity and a blend mode
69
+ photo = Layer.from_file("portrait.png", opacity=0.8, blend_mode="multiply")
70
+ photo.move(100, 50)
71
+ canvas.add_layer(photo)
72
+
73
+ # apply filters
74
+ photo.filter.brightness(1.2)
75
+ photo.filter.contrast(1.1)
76
+ photo.filter.blur(radius=2)
77
+
78
+ # add text
79
+ title = Layer.text("hello world", font_size=72, color="#ffffff")
80
+ title.move(200, 400)
81
+ canvas.add_layer(title)
82
+
83
+ # export
84
+ canvas.export("result.png")
85
+ ```
86
+
87
+ ## Project Structure
88
+
89
+ ```
90
+ glowbyte/
91
+ glowbyte/
92
+ __init__.py
93
+ canvas.py
94
+ layer.py
95
+ filters.py
96
+ blend.py
97
+ text.py
98
+ renderer.py
99
+ export.py
100
+ examples/
101
+ basic_composite.py
102
+ text_overlay.py
103
+ blend_modes.py
104
+ batch_edit.py
105
+ tests/
106
+ test_canvas.py
107
+ test_layer.py
108
+ test_filters.py
109
+ test_blend.py
110
+ assets/
111
+ example_background.png
112
+ pyproject.toml
113
+ README.md
114
+ LICENSE
115
+ ```
116
+
117
+ ## TODO
118
+
119
+ ### Core
120
+ - [ ] Layer groups
121
+ - [ ] Layer masks
122
+ - [ ] Crop and trim
123
+ - [ ] Rotation and scaling transforms
124
+ - [ ] Undo/redo history
125
+
126
+ ### Effects
127
+ - [ ] Drop shadow
128
+ - [ ] Stroke/outline
129
+ - [ ] Gradient maps
130
+ - [ ] Color overlay
131
+ - [ ] Noise generation
132
+
133
+ ### Usability
134
+ - [ ] JSON scene format (load/save compositions)
135
+ - [ ] Batch processing CLI
136
+ - [ ] Better error messages
137
+ - [ ] More example scripts
138
+
139
+ ### Long-Term
140
+ - [ ] Integration with PyFrame for video composition
141
+ - [ ] Plugin system for custom filters
142
+ - [ ] WebP and TIFF export
143
+ - [ ] Simple web preview interface
@@ -0,0 +1,128 @@
1
+ # GlowByte
2
+
3
+ A Python image composition engine with layers, filters, and blend modes.
4
+
5
+ #### Video Demo: https://andstudies.com/tools/glowbyte/glowbyte.mp4
6
+
7
+ #### Description
8
+
9
+ glowbyte is a Python package for programmatic photo editing. Instead of opening Photoshop or GIMP, you write code — stack layers, apply filters, set blend modes and opacity, and export the result.
10
+
11
+ The idea is simple: a canvas holds layers, each layer holds an image, and each layer can have its own position, size, opacity, blend mode, and effects. When you export, glowbyte composites everything together from bottom to top and writes the final image.
12
+
13
+ This makes glowbyte useful for automated image generation, social media templates, batch processing, data-driven graphics, and anyone who'd rather write Python than drag sliders. The inspiration came from my work on [PyFrame](https://github.com/sfyds/pyframe), a video composition engine — glowbyte is the image foundation that PyFrame will eventually build on.
14
+
15
+ ## Features
16
+
17
+ - Layer-based composition system
18
+ - Image layers with position, size, and opacity
19
+ - Text layers with font, size, and color
20
+ - Solid color and gradient layers
21
+ - Blend modes (multiply, screen, overlay, soft light, etc.)
22
+ - Non-destructive filters (blur, sharpen, brightness, contrast, saturation, hue shift)
23
+ - Chroma key / green screen removal
24
+ - Resize, crop, and transform operations
25
+ - PNG and JPEG export
26
+
27
+ ## Installation
28
+
29
+ ```
30
+ pip install glowbyte
31
+ ```
32
+
33
+ Or install from source:
34
+
35
+ ```
36
+ git clone https://github.com/sfyds/glowbyte.git
37
+ cd glowbyte
38
+ pip install -e .
39
+ ```
40
+
41
+ ## Usage
42
+
43
+ ```python
44
+ from glowbyte import Canvas, Layer
45
+
46
+ # create a canvas
47
+ canvas = Canvas(1920, 1080)
48
+
49
+ # add a background
50
+ bg = Layer.from_file("background.png")
51
+ canvas.add_layer(bg)
52
+
53
+ # add a photo with reduced opacity and a blend mode
54
+ photo = Layer.from_file("portrait.png", opacity=0.8, blend_mode="multiply")
55
+ photo.move(100, 50)
56
+ canvas.add_layer(photo)
57
+
58
+ # apply filters
59
+ photo.filter.brightness(1.2)
60
+ photo.filter.contrast(1.1)
61
+ photo.filter.blur(radius=2)
62
+
63
+ # add text
64
+ title = Layer.text("hello world", font_size=72, color="#ffffff")
65
+ title.move(200, 400)
66
+ canvas.add_layer(title)
67
+
68
+ # export
69
+ canvas.export("result.png")
70
+ ```
71
+
72
+ ## Project Structure
73
+
74
+ ```
75
+ glowbyte/
76
+ glowbyte/
77
+ __init__.py
78
+ canvas.py
79
+ layer.py
80
+ filters.py
81
+ blend.py
82
+ text.py
83
+ renderer.py
84
+ export.py
85
+ examples/
86
+ basic_composite.py
87
+ text_overlay.py
88
+ blend_modes.py
89
+ batch_edit.py
90
+ tests/
91
+ test_canvas.py
92
+ test_layer.py
93
+ test_filters.py
94
+ test_blend.py
95
+ assets/
96
+ example_background.png
97
+ pyproject.toml
98
+ README.md
99
+ LICENSE
100
+ ```
101
+
102
+ ## TODO
103
+
104
+ ### Core
105
+ - [ ] Layer groups
106
+ - [ ] Layer masks
107
+ - [ ] Crop and trim
108
+ - [ ] Rotation and scaling transforms
109
+ - [ ] Undo/redo history
110
+
111
+ ### Effects
112
+ - [ ] Drop shadow
113
+ - [ ] Stroke/outline
114
+ - [ ] Gradient maps
115
+ - [ ] Color overlay
116
+ - [ ] Noise generation
117
+
118
+ ### Usability
119
+ - [ ] JSON scene format (load/save compositions)
120
+ - [ ] Batch processing CLI
121
+ - [ ] Better error messages
122
+ - [ ] More example scripts
123
+
124
+ ### Long-Term
125
+ - [ ] Integration with PyFrame for video composition
126
+ - [ ] Plugin system for custom filters
127
+ - [ ] WebP and TIFF export
128
+ - [ ] Simple web preview interface
File without changes
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.4
2
+ Name: glowbyte
3
+ Version: 0.1.0
4
+ Summary: A Python image composition engine with layers, filters, and blend modes.
5
+ Author-email: Elena Andrea Müller <andstudies.contact@gmail.com>
6
+ License: MIT
7
+ Project-URL: Repository, https://github.com/sfyds/glowbyte
8
+ Project-URL: Homepage, https://andstudies.com/tools/glowbyte/
9
+ Requires-Python: >=3.10
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: Pillow>=10.0
13
+ Requires-Dist: numpy>=1.24
14
+ Dynamic: license-file
15
+
16
+ # GlowByte
17
+
18
+ A Python image composition engine with layers, filters, and blend modes.
19
+
20
+ #### Video Demo: https://andstudies.com/tools/glowbyte/glowbyte.mp4
21
+
22
+ #### Description
23
+
24
+ glowbyte is a Python package for programmatic photo editing. Instead of opening Photoshop or GIMP, you write code — stack layers, apply filters, set blend modes and opacity, and export the result.
25
+
26
+ The idea is simple: a canvas holds layers, each layer holds an image, and each layer can have its own position, size, opacity, blend mode, and effects. When you export, glowbyte composites everything together from bottom to top and writes the final image.
27
+
28
+ This makes glowbyte useful for automated image generation, social media templates, batch processing, data-driven graphics, and anyone who'd rather write Python than drag sliders. The inspiration came from my work on [PyFrame](https://github.com/sfyds/pyframe), a video composition engine — glowbyte is the image foundation that PyFrame will eventually build on.
29
+
30
+ ## Features
31
+
32
+ - Layer-based composition system
33
+ - Image layers with position, size, and opacity
34
+ - Text layers with font, size, and color
35
+ - Solid color and gradient layers
36
+ - Blend modes (multiply, screen, overlay, soft light, etc.)
37
+ - Non-destructive filters (blur, sharpen, brightness, contrast, saturation, hue shift)
38
+ - Chroma key / green screen removal
39
+ - Resize, crop, and transform operations
40
+ - PNG and JPEG export
41
+
42
+ ## Installation
43
+
44
+ ```
45
+ pip install glowbyte
46
+ ```
47
+
48
+ Or install from source:
49
+
50
+ ```
51
+ git clone https://github.com/sfyds/glowbyte.git
52
+ cd glowbyte
53
+ pip install -e .
54
+ ```
55
+
56
+ ## Usage
57
+
58
+ ```python
59
+ from glowbyte import Canvas, Layer
60
+
61
+ # create a canvas
62
+ canvas = Canvas(1920, 1080)
63
+
64
+ # add a background
65
+ bg = Layer.from_file("background.png")
66
+ canvas.add_layer(bg)
67
+
68
+ # add a photo with reduced opacity and a blend mode
69
+ photo = Layer.from_file("portrait.png", opacity=0.8, blend_mode="multiply")
70
+ photo.move(100, 50)
71
+ canvas.add_layer(photo)
72
+
73
+ # apply filters
74
+ photo.filter.brightness(1.2)
75
+ photo.filter.contrast(1.1)
76
+ photo.filter.blur(radius=2)
77
+
78
+ # add text
79
+ title = Layer.text("hello world", font_size=72, color="#ffffff")
80
+ title.move(200, 400)
81
+ canvas.add_layer(title)
82
+
83
+ # export
84
+ canvas.export("result.png")
85
+ ```
86
+
87
+ ## Project Structure
88
+
89
+ ```
90
+ glowbyte/
91
+ glowbyte/
92
+ __init__.py
93
+ canvas.py
94
+ layer.py
95
+ filters.py
96
+ blend.py
97
+ text.py
98
+ renderer.py
99
+ export.py
100
+ examples/
101
+ basic_composite.py
102
+ text_overlay.py
103
+ blend_modes.py
104
+ batch_edit.py
105
+ tests/
106
+ test_canvas.py
107
+ test_layer.py
108
+ test_filters.py
109
+ test_blend.py
110
+ assets/
111
+ example_background.png
112
+ pyproject.toml
113
+ README.md
114
+ LICENSE
115
+ ```
116
+
117
+ ## TODO
118
+
119
+ ### Core
120
+ - [ ] Layer groups
121
+ - [ ] Layer masks
122
+ - [ ] Crop and trim
123
+ - [ ] Rotation and scaling transforms
124
+ - [ ] Undo/redo history
125
+
126
+ ### Effects
127
+ - [ ] Drop shadow
128
+ - [ ] Stroke/outline
129
+ - [ ] Gradient maps
130
+ - [ ] Color overlay
131
+ - [ ] Noise generation
132
+
133
+ ### Usability
134
+ - [ ] JSON scene format (load/save compositions)
135
+ - [ ] Batch processing CLI
136
+ - [ ] Better error messages
137
+ - [ ] More example scripts
138
+
139
+ ### Long-Term
140
+ - [ ] Integration with PyFrame for video composition
141
+ - [ ] Plugin system for custom filters
142
+ - [ ] WebP and TIFF export
143
+ - [ ] Simple web preview interface
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ glowbyte/__init__.py
5
+ glowbyte.egg-info/PKG-INFO
6
+ glowbyte.egg-info/SOURCES.txt
7
+ glowbyte.egg-info/dependency_links.txt
8
+ glowbyte.egg-info/requires.txt
9
+ glowbyte.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ Pillow>=10.0
2
+ numpy>=1.24
@@ -0,0 +1 @@
1
+ glowbyte
@@ -0,0 +1,25 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "glowbyte"
7
+ version = "0.1.0"
8
+ description = "A Python image composition engine with layers, filters, and blend modes."
9
+ readme = "README.md"
10
+ license = {text = "MIT"}
11
+ requires-python = ">=3.10"
12
+ authors = [
13
+ {name = "Elena Andrea Müller", email = "andstudies.contact@gmail.com"}
14
+ ]
15
+ dependencies = [
16
+ "Pillow>=10.0",
17
+ "numpy>=1.24",
18
+ ]
19
+
20
+ [project.urls]
21
+ Repository = "https://github.com/sfyds/glowbyte"
22
+ Homepage = "https://andstudies.com/tools/glowbyte/"
23
+
24
+ [tool.setuptools.packages.find]
25
+ include = ["glowbyte*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+