{"id":21678436,"url":"https://github.com/petervanderdoes/imagine","last_synced_at":"2025-03-20T09:50:11.448Z","repository":{"id":28064064,"uuid":"31560935","full_name":"petervanderdoes/imagine","owner":"petervanderdoes","description":" PHP 5.6+ Object Oriented image manipulation library. Fork from avalanche123/Imagine","archived":false,"fork":false,"pushed_at":"2016-07-14T13:27:22.000Z","size":11768,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-01-25T10:41:13.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petervanderdoes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-02T20:17:22.000Z","updated_at":"2016-03-23T03:38:43.000Z","dependencies_parsed_at":"2022-09-12T16:05:44.820Z","dependency_job_id":null,"html_url":"https://github.com/petervanderdoes/imagine","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fimagine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fimagine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fimagine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fimagine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petervanderdoes","download_url":"https://codeload.github.com/petervanderdoes/imagine/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591502,"owners_count":20477708,"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":[],"created_at":"2024-11-25T14:34:14.414Z","updated_at":"2025-03-20T09:50:11.412Z","avatar_url":"https://github.com/petervanderdoes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Imagine\n[![Build Status](https://travis-ci.org/petervanderdoes/imagine.svg?branch=develop)](https://travis-ci.org/petervanderdoes/imagine)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/petervanderdoes/imagine/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/petervanderdoes/imagine/?branch=develop)\n\nImage manipulation library for PHP 5.6+ inspired by Python's PIL and other image\nlibraries.\n\n## Requirements\n\nThe Imagine library has the following requirements:\n\n - PHP 5.6+\n\nDepending on the chosen Image implementation, you may need one of the following:\n\n - GD2\n - Imagick\n - Gmagick\n\n### Installation using composer\nAdd the following to composer.json\n```json\n  \"repositories\": [\n    {\n      \"type\": \"vcs\",\n      \"url\": \"https://github.com/petervanderdoes/imagine\"\n    }\n  ],\n  \"require\": {\n    \"imagine/imagine\": \"dev-master\"\n  }\n```\n## Basic Principles\n\nThe main purpose of Imagine is to provide all the necessary functionality to bring all native low level image processing libraries in PHP to the same simple and intuitive OO API.\n\nSeveral things are necessary to accomplish that:\n\n* Image manipulation tools, such as resize, crop, etc.\n* Drawing API - to create basic shapes and advanced charts, write text on the image\n* Masking functionality - ability to apply black\u0026white or grayscale images as masks, leading to semi-transparency or absolute transparency of the image the mask is being applied to\n\nThe above tools should be the basic foundation for a more powerful set of tools that are called ``Filters`` in Imagine.\n\nSome of the ideas for upcoming filters:\n\n* Charting and graphing filters - pie and bar charts, linear graphs with annotations\n* Reflection - apple style\n* Rounded corners - web 2.0\n\n## Documentation\n\n - [Hosted by Read The Docs](http://imagine.readthedocs.org/)\n\n## Presentations\n\n - [Introduction to Imagine](http://www.slideshare.net/avalanche123/introduction-toimagine)\n - [How to Take Over the World with Lithium](http://speakerdeck.com/u/nateabele/p/how-to-take-over-the-world-with-lithium?slide=33)\n\n## Articles ##\n\n - [Image Processing with Imagine](http://www.phparch.com/2011/03/image-processing-with-imagine)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fimagine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetervanderdoes%2Fimagine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fimagine/lists"}