andre Posted February 26, 2004 Report Share Posted February 26, 2004 Kaa bildei pa virsu uzlikt mazaaku bildi ??? Link to comment Share on other sites More sharing options...
рпр Posted February 26, 2004 Report Share Posted February 26, 2004 uzinstalee php ar gd atbalstu un aidaa http://lv.php.net/manual/en/ref.image.php Link to comment Share on other sites More sharing options...
Aleksejs Posted February 26, 2004 Report Share Posted February 26, 2004 Ar to pašu ImageCopyResized, vai resampled vai kādu citu no ImageCopy... Link to comment Share on other sites More sharing options...
Kikko Posted February 28, 2004 Report Share Posted February 28, 2004 imagecopymerge(), manuprāt. Link to comment Share on other sites More sharing options...
Klez Posted February 28, 2004 Report Share Posted February 28, 2004 kur un kaa to bildi vajag likt? uzliek vienu kaa BG un otru kraamee virsuu :) Link to comment Share on other sites More sharing options...
Aleksejs Posted February 28, 2004 Report Share Posted February 28, 2004 atver abas bildes ar imgecreatefrom... Pieņemsim, ka fona bilde ir $imbg, un tā bilde, kas maziņa jādabū virsū $imgfg. Pieņemsim, ka $imbg ir 300x300px un $imgfg ir 100x100px. Pieņemsim, ka vēlies uzlikt $imgfg augšējo kreiso stūri koordinātās (100,100) samazinātu uz 50x50px Tad tev jāraksta: ImageCopyResized($imgbg,$imgfg,100,100,0,0,50,50,100,100); Link to comment Share on other sites More sharing options...
Recommended Posts