{"id":15487363,"url":"https://github.com/dblock/artiledimageview","last_synced_at":"2025-09-20T04:32:26.009Z","repository":{"id":15054596,"uuid":"17780738","full_name":"dblock/ARTiledImageView","owner":"dblock","description":"Display, pan and deep zoom with tiled images on iOS.","archived":false,"fork":false,"pushed_at":"2018-06-27T17:36:41.000Z","size":11852,"stargazers_count":234,"open_issues_count":7,"forks_count":34,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-06-27T04:49:28.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/dblock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-15T17:12:44.000Z","updated_at":"2025-06-16T03:56:33.000Z","dependencies_parsed_at":"2022-08-27T21:51:14.882Z","dependency_job_id":null,"html_url":"https://github.com/dblock/ARTiledImageView","commit_stats":null,"previous_names":["dblock/artiledimage"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dblock/ARTiledImageView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARTiledImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARTiledImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARTiledImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARTiledImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/ARTiledImageView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2FARTiledImageView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276046899,"owners_count":25575876,"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-09-20T02:00:10.207Z","response_time":63,"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-10-02T06:25:49.175Z","updated_at":"2025-09-20T04:32:25.017Z","avatar_url":"https://github.com/dblock.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ARTiledImageView\n\n[![Build Status](https://travis-ci.org/dblock/ARTiledImageView.png?branch=master)](https://travis-ci.org/dblock/ARTiledImageView)\n[![Version](http://cocoapod-badges.herokuapp.com/v/ARTiledImageView/badge.png)](http://cocoadocs.org/docsets/ARTiledImageView)\n[![Platform](http://cocoapod-badges.herokuapp.com/p/ARTiledImageView/badge.png)](http://cocoadocs.org/docsets/ARTiledImageView)\n\n## Demo\n\n![animated](Screenshots/goya3.gif)\n\n[Francisco De Goya Y Lucientes, Señora Sabasa Garcia, ca. 1806/1811](https://artsy.net/artwork/francisco-jose-de-goya-y-lucientes-senora-sabasa-garcia), courtesy of the National Gallery of Art, Washington D.C., via [Artsy](https://artsy.net).\n\n## Usage\n\n``` objc\nARWebTiledImageDataSource *ds = [[ARWebTiledImageDataSource alloc] init];\n// height of the full zoomed in image\nds.maxTiledHeight = 2933;\n// width of the full zommed in image\nds.maxTiledWidth = 2383;\n// width of the full zommed in image\nds.minTileLevel = 10;\n// maximum tile level\nds.maxTileLevel = 15;\n// side of a square tile\nds.tileSize = 512;\n// tile format\nds.tileFormat = @\"jpg\";\n// location of tiles, organized in subfolders, one per level\nds.tileBaseURL = [NSURL URLWithString:@\"https://raw.github.com/dblock/ARTiledImageView/master/Demo/Tiles/SenoraSabasaGarcia/tiles\"];\n// make sure to retain the datasource\n_dataSource = ds;\n\nARTiledImageScrollView *sv = [[ARTiledImageScrollView alloc] initWithFrame:self.view.bounds];\n// set datasource\nsv.dataSource = ds;\n// default background color\nsv.backgroundColor = [UIColor grayColor];\n// default stretched placeholder image\nsv.backgroundImageURL = [NSURL URLWithString:@\"https://raw.github.com/dblock/ARTiledImageView/master/Demo/Tiles/SenoraSabasaGarcia/large.jpg\"];\n// display tile borders, for debugging\nsv.displayTileBorders = NO;\n\n// add as a subview to another view\n[self.view addSubview:sv];\n```\n\n## Tiles and Data Sources\n\nA typical organization for deep zoom map tiles consists of a folder for each zoom level and individual JPG files for each tile. You can see an example of such files [here](Tiles/SenoraSabasaGarcia/tiles). ARTiledImageView comes with a local [ARLocalTiledImageDataSource](Classes/ARLocalTiledImageDataSource.h), which retrieves tile files from local storage, and a remote [ARWebTiledImageDataSource](Classes/ARWebTiledImageDataSource.h) data source, which retrieves map tiles from a remote URL and stores them in *Library/Caches* (NSCachesDirectory).\n\nYou can generate tiles using [dzt](https://github.com/dblock/dzt) or any other tool listed with the [OpenSeadragon](http://openseadragon.github.io/examples/creating-zooming-images) project.\n\n## Installation\n\nARTiledImageView is available through [CocoaPods](http://cocoapods.org), to install it simply add the following line to your Podfile:\n\n    pod \"ARTiledImageView\"\n\n## Testing\n\nTry it out with CocoaPods also,\n\n    pod try \"ARTiledImageView\"\n\n## Credits\n\nARTiledImageView was originally written by [@orta](https://github.com/orta), with contributions from [@speednoisemovement](https://github.com/speednoisemovement) and [@dblock](https://github.com/dblock). Some of the implementation in [ARTiledImageScrollView](Classes/ARTiledImageScrollView.m) comes from [NAMapKit](https://github.com/neilang/NAMapKit).\n\n## Copyright \u0026 License\n\nARTiledImageView is (c) [Artsy Inc.](http://artsy.net), available under the MIT license.\n\nSee the [LICENSE](LICENSE) file for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fartiledimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Fartiledimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fartiledimageview/lists"}