{"id":23049877,"url":"https://github.com/vssekorin/clyaksa","last_synced_at":"2026-04-17T09:32:13.072Z","repository":{"id":62435364,"uuid":"152561636","full_name":"vssekorin/clyaksa","owner":"vssekorin","description":"Clojure library for pixel-art and simple work with images","archived":false,"fork":false,"pushed_at":"2019-01-18T08:36:07.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T05:03:26.325Z","etag":null,"topics":["clojure","jvm","pixel-art"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vssekorin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-11T08:58:15.000Z","updated_at":"2018-12-12T17:37:04.000Z","dependencies_parsed_at":"2022-11-01T21:00:50.578Z","dependency_job_id":null,"html_url":"https://github.com/vssekorin/clyaksa","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vssekorin/clyaksa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vssekorin%2Fclyaksa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vssekorin%2Fclyaksa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vssekorin%2Fclyaksa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vssekorin%2Fclyaksa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vssekorin","download_url":"https://codeload.github.com/vssekorin/clyaksa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vssekorin%2Fclyaksa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["clojure","jvm","pixel-art"],"created_at":"2024-12-15T23:17:37.862Z","updated_at":"2026-04-17T09:32:13.029Z","avatar_url":"https://github.com/vssekorin.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clyaksa\n\n[![Clojars Project](https://img.shields.io/clojars/v/com.vssekorin/clyaksa.svg)](https://clojars.org/com.vssekorin/clyaksa)\n\n### Create new image\n\n```clojure\n(new-image 1000 :rgb)           ;; 1000x1000 rgb image\n(new-image 600 800 :argb)       ;; 600x800 argb image\n```\n\nEnabled image types:\n\n- `:custom`\n- `:rgb`\n- `:argb`\n- `:argb-pre`\n- `:bgr`\n\n### Save/Load image\n\nSave:\n```clojure\n(save-image image \"image.jpg\")\n(save-image image \"image.jpg\" :jpg)\n```\n\nLoad:\n```clojure\n(load-image :file \"image.png\")              ;; load image from filesystem\n(load-image :url \"google.com/image.png\")    ;; load image by url\n\n(load-image \"image.png\")                    ;; image loaded from filesystem by default\n```\n\n### Image data\n\n```clojure\n(get-height image)          ;; get height of the image\n```\n```clojure\n(get-width image)           ;; get width of the image\n```\n\n### Drawing\n\nColor is int value.\n\nSet pixel:\n```clojure\n(set-pixel image 200 300 color)         ;; return changed image\n```\n\nGet pixel:\n```clojure\n(get-pixel image 55 55)                 ;; return color of pixel\n```\n\nSwap pixels in one image:\n```clojure\n(swap-pixel image x1 y1 x2 y2)          ;; return changed image\n```\n\nSwap pixels between two image:\n```clojure\n(swap-pixel image1 image2 x1 y1 x2 y2)  ;; return array of changed images: [image1 image2]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvssekorin%2Fclyaksa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvssekorin%2Fclyaksa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvssekorin%2Fclyaksa/lists"}