Sorry, I wasn't paying attention (it was too late at night).
I changed ...
and...$img_mirror->flip( dir => "v" ); ## "h"
To get the reflection that I was looking for.#make a unified image #~__ my $img_uni = Imager->new(xsize=>$pos_width * 2,ysize=>$global_a +scent,channels=>4); #~__ $img_uni->paste(left=>$pos_width,top=>0,img=>$img1); #~__ $img_uni->paste(left=>0,top=>0,img=>$img_mirror); my $img_uni = Imager->new(xsize=>$pos_width ,ysize=>$global_ascent * +2,channels=>4); $img_uni->paste(left=>0,top=>$global_ascent,img=>$img_mirror); $img_uni->paste(left=>0,top=>0,img=>$img1);
Is it possible to overwrite the generated image with another one?
That is a Graphic Design technique to obtain sort of 3D characters that are easy to read on any background:
Then, in the mirror image it should be done in the opposite way: offset y up instead of down and offset x left instead of right.
(done with http://figlet.de)A \ \ / | _ _| __ \ <-|-> \ \ \ / __ \ _ \ __| _ \ _` | __ `__ \ | / V \ \ \ / | | | __/ | __/ ( | | | | | _| \_/\_/ _| |_|\___|_| \___| \__,_|_| _| _| ___| _) /"\/"\ "| |"|/"""|"| /"""| /""`"|"| "| "| """| ") A / / / \ | | | ""\ | ""\ ( | | | | | "| <-|-> / / / \ "" / " / ""| " / ", | "" ,"" / | \ v / / \ | " "| "" /
Anyway, thank you for the snipet.-
| { | \ | ( | ' | v | ' | ) | / | } | ||||||||||||||||||||||||||||||
| ( | \ | _ | / | ) | _ | _ | _ | _ | ` | ( | ) | ' | _ | _ | _ | _ | ||||||||||||||||||||||
| ( | = | ( | ^ | Y | ^ | ) | = | ( | _ | _ | ^ | ^ | ^ | ^ | ||||||||||||||||||||||||
| _ | _ | _ | _ | \ | _ | ( | m | _ | _ | _ | m | ) | _ | _ | _ | _ | _ | _ | _ | _ | _ | ) | c | h | i | a | n | o | , | a | l | b | e | r | t | o |
In reply to Re^3: Mirrored text with Imager
by chanio
in thread Mirrored text with Imager
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |