{"id":27913,"library":"large-image-source-test","title":"large-image-source-test","description":"A fractal test tilesource for large_image. Provides a synthetic image source that generates fractal-like tiles for testing purposes. Part of the large_image ecosystem. Version 1.34.1, release cadence follows large_image releases (approximately monthly).","status":"active","version":"1.34.1","language":"python","source_language":"en","source_url":"https://github.com/girder/large_image","tags":["large_image","test","fractal","tilesource"],"install":[{"cmd":"pip install large-image-source-test","lang":"bash","label":"standard install"}],"dependencies":[],"imports":[{"note":"Direct import from source module.","symbol":"TestTileSource","correct":"from large_image_source_test import TestTileSource"}],"quickstart":{"code":"from large_image_source_test import TestTileSource\n\nsource = TestTileSource(tileWidth=256, tileHeight=256)\ntile = source.getTile(0, 0, 0)\nprint('Tile shape:', tile.shape)","lang":"python","description":"Create a test tilesource and fetch the top-left tile at zoom 0."},"warnings":[{"fix":"Use large-image-source-* for actual image formats.","message":"The test source generates fractal images, not real microscopy or satellite imagery. It is for testing only.","severity":"gotcha","affected_versions":"all"},{"fix":"For a full-featured test, consider large-image-source-rgb8.","message":"This source may not support all features of tilesources (e.g., metadata, region extraction). Check your feature compatibility.","severity":"deprecated","affected_versions":">=1.32"},{"fix":"Use large-image-source-tiff or large-image-source-openslide for file-based sources.","message":"The source does not require any image files; it generates tiles on the fly. Do not expect it to read from disk.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Install with 'pip install large-image-source-test' and import as 'large_image_source_test' (underscores not hyphens).","cause":"The package is not installed or the import name is wrong.","error":"ModuleNotFoundError: No module named 'large_image_source_test'"},{"fix":"Check the module contents with 'dir(large_image_source_test)' and use the correct class name (e.g., 'from large_image_source_test import TestTileSource').","cause":"The class may have been renamed or not exposed in the module's top-level.","error":"AttributeError: module 'large_image_source_test' has no attribute 'TestTileSource'"},{"fix":"Use keyword arguments as per documentation: e.g., TestTileSource(tileWidth=256) – check the source for exact parameter names.","cause":"Constructor parameters may differ from version to version; 'tileWidth' might be 'tile_width'.","error":"TypeError: __init__() got an unexpected keyword argument 'tileWidth'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}