{"id":13420297,"url":"https://github.com/marforic/imagemagick_lib_iphone","last_synced_at":"2026-03-11T16:03:31.325Z","repository":{"id":66836174,"uuid":"509899","full_name":"marforic/imagemagick_lib_iphone","owner":"marforic","description":"Scripts and instructions to compile ImageMagick as a static library to use in any iOS project","archived":false,"fork":false,"pushed_at":"2017-02-27T16:41:10.000Z","size":45105,"stargazers_count":311,"open_issues_count":10,"forks_count":71,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-07-31T22:54:30.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/marforic.png","metadata":{"files":{"readme":"README.textile","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-02-09T18:28:20.000Z","updated_at":"2024-05-17T16:39:11.000Z","dependencies_parsed_at":"2023-02-23T19:46:01.488Z","dependency_job_id":null,"html_url":"https://github.com/marforic/imagemagick_lib_iphone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marforic/imagemagick_lib_iphone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marforic%2Fimagemagick_lib_iphone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marforic%2Fimagemagick_lib_iphone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marforic%2Fimagemagick_lib_iphone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marforic%2Fimagemagick_lib_iphone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marforic","download_url":"https://codeload.github.com/marforic/imagemagick_lib_iphone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marforic%2Fimagemagick_lib_iphone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27786667,"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","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"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":"2024-07-30T22:01:30.690Z","updated_at":"2025-12-17T21:03:43.489Z","avatar_url":"https://github.com/marforic.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings","etc","C"],"sub_categories":[],"readme":"\u003ch2\u003eCompiled downloads\u003c/h2\u003e\n\nYou can grab the latest compiled ImageMagick directly from their \u003ca\nhref=\"ftp://ftp.imagemagick.org/pub/ImageMagick/iOS/\"\u003eftp\u003c/a\u003e or any mirror.\n\nThere are always 2 packages for the compiled ImageMagick:\n* iOSMagick-VERSION-libs.zip\n* iOSMagick-VERSION.zip\n\nThe first one includes headers and compiled libraries that have been used to\ncompile ImageMagick. Most users would need this one.\n\n\u003ch2\u003eCompiling ImageMagick and IMDelegates\u003c/h2\u003e\n\nThe directory structure has to be:\n\n\u003cpre\u003e\n./build/ImageMagick-VERSION/       \u003c- ImageMagick top directory\n./build/IMDelegates/               \u003c- Some delegates: jpeg + png + tiff\n./build/IMDelegates/jpeg-9a/       \u003c- jpeg lib\n./build/IMDelegates/libpng-1.6.10  \u003c- png lib\n./build/IMDelegates/tiff-4.0.3     \u003c- tiff lib\n\u003c/pre\u003e\n\nIf you don't have this directory structure you can either create it or try\nchange around the script. You can find the delegate libraries on the \u003ca\nhref=\"ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/\"\u003eImageMagick ftp\u003c/a\u003e\nor on the respective websites.\n\nThe main script to run is:\n\u003cpre\u003e./all.sh VERSION|clean\u003c/pre\u003e where VERSION is the version of ImageMagick\nyou want to compile (e.g., 6.8.8-9), if 'clean' is passed, the script will\nclean all the log files and the directories it created.\n\nUpon successful compilation a folder called \"IMPORT_ME\" will be created from\nwhere you start the script: you can import it into your XCode project.\n\nThe rest of the scripts are invoked by all.sh and offer the following:\n\u003cpre\u003e./env.sh\u003c/pre\u003e sets up environment variables used by the other scripts.\nThis is most probably the script you want to modify to suit your needs (e.g.,\nset up which architectures will be compiles, verbosity level, ...)\n\u003cpre\u003e./flags.sh\u003c/pre\u003e saves, sets up and restores compiler-related values\n\u003cpre\u003e./utils.sh\u003c/pre\u003e offers some functions used in the other scripts\n\u003cpre\u003e./compile_*.sh\u003c/pre\u003e are the scripts used to compile the respective component\n\n\u003ch2\u003eXCode project settings\u003c/h2\u003e\n\nAfter including everything into XCode please also make sure to have these settings (Build tab of the project information):\n\n* Other Linker Flags: -lMagickCore -lMagickWand -lz -lbz2 -ljpeg -lpng\n* Header Search Paths: $(SRCROOT) - make it Recursive\n* Library Search Paths: $(SRCROOT) - make it Recursive\n\nOn the lower left click on the small-wheel and select: Add User-Defined Setting\n* Key: OTHER_CFLAGS\n* Value: -Dmacintosh=1\n\nIn Link Binary with Libraries under Build Phases, you may also need to add:\n* libxml2.dylib\n\n\u003ch2\u003eSample project\u003c/h2\u003e\n\nA more or less updated project is found in the IM_Test subfolder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarforic%2Fimagemagick_lib_iphone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarforic%2Fimagemagick_lib_iphone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarforic%2Fimagemagick_lib_iphone/lists"}