Releases: WyriHaximus/php-tile-stitcher
Releases · WyriHaximus/php-tile-stitcher
2.0.0
2.0.0
- Total issues resolved: 0
- Total pull requests resolved: 32
- Total contributors: 3
Dependencies 📦
- 54: Drop intervention/image v3 thanks to @WyriHaximus
- 53: Update dependency wyrihaximus/test-utilities to ^12.1.0 thanks to @renovate-runner[bot]
- 52: Update dependency intervention/image to v4 thanks to @renovate-runner[bot]
- 51: Bump symfony/process from 7.4.0 to 8.0.5 thanks to @dependabot[bot]
- 50: Bump phpunit/phpunit from 12.5.4 to 12.5.8 thanks to @dependabot[bot]
- 49: Update dependency wyrihaximus/test-utilities to v12 thanks to @renovate-runner[bot]
- 48: Update dependency wyrihaximus/makefiles to ^0.10.3 thanks to @renovate-runner[bot]
- 47: Update dependency wyrihaximus/test-utilities to v10 thanks to @renovate-runner[bot]
- 45: Update dependency wyrihaximus/test-utilities to v10 - autoclosed thanks to @renovate-runner[bot]
- 44: Bump composer/composer from 2.9.2 to 2.9.3 thanks to @dependabot[bot]
- 43: Update dependency wyrihaximus/makefiles to ^0.7.16 thanks to @renovate-runner[bot]
- 42: Update dependency wyrihaximus/makefiles to ^0.7.15 thanks to @renovate-runner[bot]
- 41: Update dependency wyrihaximus/test-utilities to ^8.8.0 thanks to @renovate-runner[bot]
- 40: Update dependency wyrihaximus/makefiles to ^0.7.14 - autoclosed thanks to @renovate-runner[bot]
- 39: Update dependency wyrihaximus/makefiles to ^0.7.12 - autoclosed thanks to @renovate-runner[bot]
- 38: Update dependency wyrihaximus/makefiles to ^0.7.11 thanks to @renovate-runner[bot]
- 37: Update dependency wyrihaximus/test-utilities to ^8.7.0 thanks to @renovate-runner[bot]
- 36: Update dependency wyrihaximus/test-utilities to ^8.6.0 thanks to @renovate-runner[bot]
- 35: Update dependency wyrihaximus/makefiles to ^0.7.10 thanks to @renovate-runner[bot]
- 34: Update dependency wyrihaximus/makefiles to ^0.7.9 thanks to @renovate-runner[bot]
- 33: Update dependency wyrihaximus/makefiles to ^0.7.8 thanks to @renovate-runner[bot]
- 32: Update dependency wyrihaximus/test-utilities to ^8.5.0 thanks to @renovate-runner[bot]
- 31: Update dependency wyrihaximus/makefiles to ^0.7.6 - autoclosed thanks to @renovate-runner[bot]
- 30: Update dependency wyrihaximus/test-utilities to ^8.4.0 thanks to @renovate-runner[bot]
- 29: Update dependency wyrihaximus/test-utilities to ^8.3.0 thanks to @renovate-runner[bot]
- 28: Update dependency wyrihaximus/test-utilities to ^8.2.0 thanks to @renovate-runner[bot]
- 27: Update dependency wyrihaximus/makefiles to ^0.7.5 thanks to @renovate-runner[bot]
- 26: PHP 8.4 + QA updates thanks to @WyriHaximus
- 23: Update dependency wyrihaximus/makefiles to ^0.5.0 - autoclosed thanks to @renovate-runner[bot]
- 22: Update dependency wyrihaximus/test-utilities to ^7.5.2 - autoclosed thanks to @renovate-runner[bot]
- 21: Update dependency wyrihaximus/makefiles to ^0.5.0 - autoclosed thanks to @renovate-runner[bot]
Enhancement ✨
- 19: Drop To Do from readme thanks to @WyriHaximus
1.1.0
1.1.0
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Dependencies 📦
- 18: PHP 8.3+ + Next Gen QA thanks to @WyriHaximus
- 15: Bump symfony/process from 7.1.5 to 7.1.7 thanks to @dependabot[bot]
1.0.0
<?php
declare(strict_types=1);
use Intervention\Image\Drivers\Gd\Driver;
use Intervention\Image\ImageManager;
use WyriHaximus\TileStitcher\Coordinate;
use WyriHaximus\TileStitcher\Dimensions;
use WyriHaximus\TileStitcher\FileLoader;
use WyriHaximus\TileStitcher\Stitcher;
use WyriHaximus\TileStitcher\Tile;
$tiles = [
new Tile(
new Coordinate(69, 69),
new FileLoader('map/69_69.png'),
),
new Tile(
new Coordinate(70, 69),
new FileLoader('map/70_69.png'),
),
];
$stitcher = new Stitcher(
new ImageManager(
new Driver(),
),
);
$image = $stitcher->stitch(
'image/png',
Map::calculate(
new Dimensions(512, 512),
...$tiles,
),
);
file_put_contents('output/two_tile.png', $image);1.0.0
- Total issues resolved: 0
- Total pull requests resolved: 11
- Total contributors: 2
Bug 🐞,Dependencies 📦
- 13: Get Psalm to stop bitching about features that aren't supported by all PHP versions in range thanks to @WyriHaximus
Dependencies 📦,Feature 🏗
Dependencies 📦,Enhancement ✨
- 7: Simplify Map bounds calculation thanks to @WyriHaximus
- 5: Use intervention/image for image operations thanks to @WyriHaximus
Feature 🏗
- 14: Introduce tile locator thanks to @WyriHaximus
- 8: Switch to returning generate image as string thanks to @WyriHaximus
- 1: Initial version thanks to @WyriHaximus
Enhancement ✨
- 12: Require at least one tile thanks to @WyriHaximus
- 11: Automatically resize tiles to the desired tile size thanks to @WyriHaximus
- 6: [ImgBot] Optimize images thanks to @imgbot[bot]
- 4: [ImgBot] Optimize images thanks to @imgbot[bot]