1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Code style: Fix

This commit is contained in:
Jakub Vrana
2025-04-08 21:16:09 +02:00
parent 8bce359fae
commit 88099b7dd7
11 changed files with 41 additions and 24 deletions

View File

@@ -1,18 +1,20 @@
#!/usr/bin/env php
<?php
foreach (array(
'create' => array(1106, 412),
'dark' => array(816, 750),
'database' => array(896, 666),
'db' => array(1258, 752),
'dump' => array(784, 450),
'edit' => array(1006, 336),
'login' => array(628, 326),
'select' => array(924, 810),
'schema' => array(690, 406),
'sql' => array(870, 788),
'table' => array(816, 750),
) as $filename => list($w, $h)) {
foreach (
array(
'create' => array(1106, 412),
'dark' => array(816, 750),
'database' => array(896, 666),
'db' => array(1258, 752),
'dump' => array(784, 450),
'edit' => array(1006, 336),
'login' => array(628, 326),
'select' => array(924, 810),
'schema' => array(690, 406),
'sql' => array(870, 788),
'table' => array(816, 750),
) as $filename => list($w, $h)
) {
$im = imagecreatefrompng("screenshots/$filename.png");
$im2 = imagecreatetruecolor($w, $h);
imagecopy($im2, $im, 0, 0, 0, 0, $w, $h);