{"id":16676969,"url":"https://github.com/abcaeffchen/pictor","last_synced_at":"2025-06-13T22:36:49.544Z","repository":{"id":66243284,"uuid":"116874624","full_name":"AbcAeffchen/pictor","owner":"AbcAeffchen","description":"Generate pixel art as vector image.","archived":false,"fork":false,"pushed_at":"2018-11-19T19:45:16.000Z","size":43,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T21:40:39.597Z","etag":null,"topics":["pixel-art","python3","random-generation","svg","vector-graphics"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbcAeffchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-09T21:49:23.000Z","updated_at":"2024-05-30T13:37:02.000Z","dependencies_parsed_at":"2023-03-26T16:37:36.852Z","dependency_job_id":null,"html_url":"https://github.com/AbcAeffchen/pictor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbcAeffchen/pictor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbcAeffchen%2Fpictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbcAeffchen%2Fpictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbcAeffchen%2Fpictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbcAeffchen%2Fpictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbcAeffchen","download_url":"https://codeload.github.com/AbcAeffchen/pictor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbcAeffchen%2Fpictor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259731028,"owners_count":22902957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pixel-art","python3","random-generation","svg","vector-graphics"],"created_at":"2024-10-12T13:24:45.249Z","updated_at":"2025-06-13T22:36:49.518Z","avatar_url":"https://github.com/AbcAeffchen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pictor\nGenerate pixel art as vector image.\n\n![Alt text](/examples/example-0.svg \"example-0\")\n![Alt text](/examples/example-1.svg \"example-1\")\n![Alt text](/examples/example-2.svg \"example-1\")\n\n## Usage\n\n```\nusage: core.py [-h] [-c #RRGGBB] [--contrast min max] [-bg #RRGGBB]\n               [-b width #RRGGBB] [-d width height] [-n num] [-s int]\n               [-sp int] [-spp float] [-r int] [-rb] [-o path] [-v]\n               [--version]\n\nGenerate pixel art as vector image.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -c #RRGGBB, --color #RRGGBB\n                        The color value as #rrggbb.\n  --contrast min max    The contrast range of the pixels.\n  -bg #RRGGBB, --background #RRGGBB\n                        The background color value as #rgb.\n  -b width #RRGGBB, --border width #RRGGBB\n                        Width and color of the border between pixels.\n  -d width height, --dim width height\n                        dimension in pixels as width and height.\n  -n num, --num_shadings num\n                        The number of shades used in the image.\n  -s int, --scale int   The size of a pixel.\n  -sp int, --sub-pixels int\n                        The number of times a pixel can be split into 4 sub\n                        pixels\n  -spp float, --sub-pixels-probability float\n                        The probability a pixel or sub pixel is split into sub\n                        pixels.\n  -r int, --radius int  Pixel corner radius.\n  -rb, --rainbow        Use rainbow colors instead of a fixed color.\n  -o path, --out path   The path to the output file.\n  -v, --verbose         Print additional outputs\n  --version             show program's version number and exit\n```\n\n## Features\n\n- Random pixels of different shades of a single fixed color.\n- Random pixels of different shades of the full spectrum.\n- (planned) Colormap: Use a Bitmap image to get the color from.\n- (planned) Adjustable shade intensity.\n- (planned) Adjustable randomness.\n    - (planned) light to dark and other way around.\n    - (planned) light to dark to light and other way around.\n- Adjustable image size in terms of numbers of pixels per row and column.\n- Dynamic resolution: split some pixels into subpixels.\n    - Adjustable randomess for subpixels.\n    - (planned) Adjustable places (top, bottom, one or more coordinates in the image).\n    - (planned) Subpixels that leave the grid.\n- (planned) Pixels/Subpixels that leave the grid (random, adjustable)\n- Adjustable pixel boarders (color, thickness)\n- Adjustable image background color\n- Round Pixel corners\n- (planned) Small svg files without compression.\n- (planned) support gzipped output. (can directly displayed by chrome)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabcaeffchen%2Fpictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabcaeffchen%2Fpictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabcaeffchen%2Fpictor/lists"}