{"id":51043523,"url":"https://github.com/qoretechnologies/module-imagemagick","last_synced_at":"2026-06-22T12:01:38.773Z","repository":{"id":338479331,"uuid":"1158013799","full_name":"qoretechnologies/module-imagemagick","owner":"qoretechnologies","description":"Qore ImageMagick module for image processing and manipulation","archived":false,"fork":false,"pushed_at":"2026-06-05T18:14:39.000Z","size":322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2026-06-05T20:08:53.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"QuakeC","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qoretechnologies.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-14T16:58:00.000Z","updated_at":"2026-06-05T18:14:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qoretechnologies/module-imagemagick","commit_stats":null,"previous_names":["qoretechnologies/module-imagemagick"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qoretechnologies/module-imagemagick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-imagemagick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-imagemagick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-imagemagick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-imagemagick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qoretechnologies","download_url":"https://codeload.github.com/qoretechnologies/module-imagemagick/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-imagemagick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34647750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-22T12:01:37.867Z","updated_at":"2026-06-22T12:01:38.768Z","avatar_url":"https://github.com/qoretechnologies.png","language":"QuakeC","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qore imagemagick Module\n\n## Introduction\n\nThe `imagemagick` module provides comprehensive image processing and manipulation capabilities\nfor Qore by wrapping the ImageMagick MagickWand C API, including:\n\n- Loading and saving images in 200+ formats (PNG, JPEG, GIF, TIFF, WebP, etc.)\n- Resize, crop, rotate, flip, and other geometric transformations\n- Color adjustment (brightness, contrast, gamma, levels, modulate)\n- Effects (blur, sharpen, charcoal, sepia, oil paint, edge detection, emboss)\n- Vector drawing (shapes, text, paths) via MagickDrawing\n- Image compositing with multiple blend modes\n- Metadata access (EXIF, ICC profiles, properties)\n- Format conversion with quality control\n- Data provider module for integration with Qore's data provider framework\n\n## Requirements\n\n- Qore 2.0+\n- CMake 3.5+\n- C++11 compiler\n- ImageMagick 7.0+ with MagickWand development libraries\n\n## Building\n\n```bash\nmkdir build\ncd build\ncmake ..\nmake\nmake install\n```\n\n## Quick Start\n\n```qore\n#!/usr/bin/qore\n\n%modern\n%requires imagemagick\n\n# Load and resize an image\nMagickImage img(\"photo.jpg\");\nimg.resize(800, 600, \"Lanczos\");\nimg.writeFile(\"photo_resized.jpg\");\n\n# Format conversion\nMagickImage img2(\"document.png\");\nbinary jpeg_data = img2.toData(\"JPEG\");\n\n# Apply effects\nMagickImage img3(\"photo.jpg\");\nimg3.charcoal(1.0, 0.5);\nimg3.writeFile(\"charcoal.jpg\");\n\n# Draw shapes and text\nMagickDrawing dw();\ndw.setFillColor(\"blue\");\ndw.rectangle(10.0, 10.0, 100.0, 100.0);\ndw.setFontSize(24.0);\ndw.annotation(50.0, 150.0, \"Hello!\");\n\nMagickImage canvas(300, 300, \"white\");\ncanvas.draw(dw);\ncanvas.writeFile(\"drawing.png\");\n\n# Get image info\nMagickImage img4(\"photo.jpg\");\nhash\u003cImageInfo\u003e info = img4.getInfo();\nprintf(\"Size: %dx%d, Format: %s\\n\", info.width, info.height, info.format);\n```\n\n## Data Provider\n\nThe module includes `ImageMagickDataProvider` for use with Qore's data provider framework:\n\n```qore\n%modern\n%requires ImageMagickDataProvider\n\n# Resize an image\nAbstractDataProvider dp = DataProvider::getFactoryObjectFromStringEx(\"imagemagick{}/image/resize\");\nhash\u003cauto\u003e result = dp.doRequest({\n    \"input_path\": \"photo.jpg\",\n    \"width\": 800,\n    \"height\": 600,\n});\n\n# Get image info\nAbstractDataProvider info = DataProvider::getFactoryObjectFromStringEx(\"imagemagick{}/info/get\");\nhash\u003cauto\u003e metadata = info.doRequest({\n    \"input_path\": \"photo.jpg\",\n});\nprintf(\"Format: %s, Size: %dx%d\\n\", metadata.format, metadata.width, metadata.height);\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n## Copyright\n\nCopyright 2026 Qore Technologies, s.r.o.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoretechnologies%2Fmodule-imagemagick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqoretechnologies%2Fmodule-imagemagick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoretechnologies%2Fmodule-imagemagick/lists"}