Put simpleParallax and modify logo.php to merge
@@ -4,26 +4,53 @@ $alea=rand(0,100);
|
||||
|
||||
$logo='topisto_vert_tr.png';
|
||||
|
||||
if ($alea > 5)
|
||||
$block_image = @imagecreatefrompng($logo);
|
||||
|
||||
$width = imagesx($block_image);
|
||||
$height = imagesy($block_image);
|
||||
|
||||
// create the destination/output image.
|
||||
$img=imagecreatetruecolor( $width, $height );
|
||||
|
||||
// enable alpha blending on the destination image.
|
||||
imagealphablending($img, true);
|
||||
|
||||
// Allocate a transparent color and fill the new image with it.
|
||||
// Without this the image will have a black background instead of being transparent.
|
||||
$transparent = imagecolorallocatealpha( $img, 255, 255, 255, 127 );
|
||||
imagefill( $img, 0, 0, $transparent );
|
||||
|
||||
// copy the thumbnail into the output image.
|
||||
imagecopyresampled($img,$block_image, 0, 0, 0, 0, $width, $height, $width, $height );
|
||||
|
||||
imagedestroy($block_image);
|
||||
|
||||
if ($alea < 1000)
|
||||
{
|
||||
$files = glob('logo/medium/*/topisto_vert.png');
|
||||
$files = glob('logo/tr/topisto_*.png');
|
||||
usort($files, function($a, $b) {
|
||||
return filemtime($a) > filemtime($b);
|
||||
});
|
||||
|
||||
shuffle($files);
|
||||
|
||||
$logo = $files[0];
|
||||
$superpose = @imagecreatefrompng($files[0]);
|
||||
|
||||
//imagecopymerge($img, $superpose, 0, 0, 0, 0, $width, $height, 50);
|
||||
imagecopyresampled($img,$superpose, 0, 0, 0, 0, $width, $height, imagesx($superpose), imagesy($superpose));
|
||||
|
||||
imagedestroy($superpose);
|
||||
}
|
||||
|
||||
$block_image = @imagecreatefrompng($logo);
|
||||
imagealphablending($img, false);
|
||||
imagesavealpha($img,true);
|
||||
|
||||
// ---
|
||||
// --- envoyer l'image au navigateur
|
||||
// ---
|
||||
header("Content-Type: image/png");
|
||||
imagepng($block_image);
|
||||
imagepng($img);
|
||||
|
||||
imagedestroy($block_image);
|
||||
imagedestroy($img);
|
||||
|
||||
?>
|
||||
|
||||
6
images/logo/tr/gmic.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
toto=$1
|
||||
gmic ../../topisto_vert_tr.png $@ -output topisto_tmp_$toto.png
|
||||
|
||||
convert topisto_tmp_$toto.png -fuzz 10% -transparent white topisto_$toto.png
|
||||
|
||||
rm -f topisto_tmp_$toto.png
|
||||
32
images/logo/tr/go.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
source gmic.sh endgrave fx_engrave 0.5,4,0,7.68,15.2,0,0,1,10,1,0,0,0,1,0 gui_merge_layers
|
||||
source gmic.sh bokeh fx_bokeh 3,8,0,30,8,4,0.3,0.2,210,210,80,160,0.7,30,20,20,1,2,170,130,20,110,0.15,0
|
||||
source gmic.sh 8bits fx_8bits 25,800,16,0
|
||||
source gmic.sh 8bits fx_8bits 25,800,16,0
|
||||
source gmic.sh
|
||||
source gmic.sh fire_edges 0.7,0.25,0.5,25,20
|
||||
source gmic.sh fire_edges fire_edges 0.7,0.25,0.5,25,20
|
||||
source gmic.sh diffusiontensors fx_diffusiontensors 10,5,3,1,0.15,1,0,3,0
|
||||
source gmic.sh feltpen fx_feltpen 300,50,1,0.1,20,5,0
|
||||
source gmic.sh gtutor_fpaint 0.5,0.5,0,0,45,0.5,0.5,0.5,0
|
||||
source gmic.sh fx_graphic_novelfxl 0,2,6,5,20,0,0.62,14,0,1,0.5,0.78,1.92,0,0,0,1,1,1,0.5,0.8,1.28
|
||||
source gmic.sh fx_illustration_look 100,0,0,0,0
|
||||
source gmic.sh fx_lylejk_painting 10,2,4,10,0
|
||||
source gmic.sh fx_painting 5,2.5,1.5,50,1,0
|
||||
source gmic.sh fx_posterize 150,30,1,6,0,0,1,0
|
||||
source gmic.sh fx_quadtree 2,1024,1.05,0,2.33,0.68,0.39,1,0
|
||||
source gmic.sh fx_vector_painting 9.37,0
|
||||
source gmic.sh boxfitting
|
||||
source gmic.sh boxfitting ,
|
||||
source gmic.sh cartoon 3,80,15
|
||||
source gmic.sh cubism ,
|
||||
source gmic.sh halftone ,
|
||||
source gmic.sh blur 2 light_relief 0.3,4,0.1,0
|
||||
source gmic.sh +sketchbw 1 reverse blur[-1] 3 blend[-2,-1] overlay
|
||||
source gmic.sh mosaic ,
|
||||
source gmic.sh linify 40
|
||||
source gmic.sh polygonize 300,1%,0.1%,3%,3%
|
||||
source gmic.sh poster_hope ,
|
||||
source gmic.sh rodilius 12,10,300,10 normalize_local 10,6
|
||||
source gmic.sh stained_glass 20%,0.1
|
||||
source gmic.sh fx_shapes 1,16,10,2,5,106.8,2,0,0,1,0
|
||||
source gmic.sh fx_shapeism 2,7,0.38,0,1,5,32,8,3,1,5,0.5,1,0,0,0,255
|
||||
BIN
images/logo/tr/topisto_8bits.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
images/logo/tr/topisto_blur.png
Normal file
|
After Width: | Height: | Size: 263 KiB |
BIN
images/logo/tr/topisto_bokeh.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
images/logo/tr/topisto_boxfitting.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
images/logo/tr/topisto_cartoon.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/logo/tr/topisto_cubism.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
images/logo/tr/topisto_diffusiontensors.png
Normal file
|
After Width: | Height: | Size: 184 KiB |
BIN
images/logo/tr/topisto_dreamsmooth.png
Normal file
|
After Width: | Height: | Size: 261 KiB |
BIN
images/logo/tr/topisto_endgrave.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
images/logo/tr/topisto_feltpen.png
Normal file
|
After Width: | Height: | Size: 182 KiB |
BIN
images/logo/tr/topisto_fx_graphic_novelfxl.png
Normal file
|
After Width: | Height: | Size: 204 KiB |
BIN
images/logo/tr/topisto_fx_illustration_look.png
Normal file
|
After Width: | Height: | Size: 231 KiB |
BIN
images/logo/tr/topisto_fx_lylejk_painting.png
Normal file
|
After Width: | Height: | Size: 440 KiB |
BIN
images/logo/tr/topisto_fx_painting.png
Normal file
|
After Width: | Height: | Size: 225 KiB |
BIN
images/logo/tr/topisto_fx_posterize.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
images/logo/tr/topisto_fx_quadtree.png
Normal file
|
After Width: | Height: | Size: 159 KiB |
BIN
images/logo/tr/topisto_fx_shapeism.png
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
images/logo/tr/topisto_fx_shapes.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
images/logo/tr/topisto_fx_vector_painting.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
images/logo/tr/topisto_gtutor_fpaint.png
Normal file
|
After Width: | Height: | Size: 411 KiB |
BIN
images/logo/tr/topisto_halftone.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
images/logo/tr/topisto_linify.png
Normal file
|
After Width: | Height: | Size: 458 KiB |
BIN
images/logo/tr/topisto_mosaic.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
images/logo/tr/topisto_polygonize.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
images/logo/tr/topisto_poster_hope.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
images/logo/tr/topisto_rodilius.png
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
images/logo/tr/topisto_sketchbw.png
Normal file
|
After Width: | Height: | Size: 278 KiB |
BIN
images/logo/tr/topisto_stained_glass.png
Normal file
|
After Width: | Height: | Size: 137 KiB |