wudu Posted December 10, 2005 Report Share Posted December 10, 2005 pienjemsim, ka uz servera staav bilde. vajag to bildi nolasiit taa, itkaa vinja buutu augshupielaadeeta by lietotaajs, lai peec tam vareetu vinju visaadi editeet: getimagesize, imagecreatefromjpeg utt. droshi vien, ka nekas supersarezhgjiits nav, bet cik nu es izmeegjinaajos, pamekleejos - nekas man nesanaaca Link to comment Share on other sites More sharing options...
Vebers Posted December 10, 2005 Report Share Posted December 10, 2005 (edited) $bilde = 'image.png'; $bilde = imagecreatefromgif($bilde); //visu ko dari ar to bildi header("Content-type: image/gif"); imagedestroy($bilde); Edited December 10, 2005 by MakaTaNaw Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 10, 2005 Report Share Posted December 10, 2005 (edited) wudu --> kaada starpiiba? tu tachu vari darboties ar bildi taapat kaa ar jebkuru failu... un nav starpiibas vai jau ir uz servera vai glabaajas temp direktorija edit: getimagesize() vispaar straadaa apsaluuti bez probleemaam ;) galvenais lai taa buutu bilde ;) un f-jai ir pie '#$@!$' kur taa bilde atrodas ;) kaut vai antarktiidaa ;) Edited December 17, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
taai Posted December 17, 2005 Report Share Posted December 17, 2005 Nē, nu, es nespēju saprast kāpēc Tev vajag editēt bildi un kādā veidā...? Ok - faila nosaukumu gribi mainīt? Link to comment Share on other sites More sharing options...
wudu Posted December 17, 2005 Author Report Share Posted December 17, 2005 probleema tieshaam bija muljkjiiga (un aatri tika atrisinaata), bet par jautaajumu kaapeec vajag editeed bildi: ir visaadi gadiijumi - vajag samazinaat izmeerus vai uzlikt watermark utt Link to comment Share on other sites More sharing options...
Recommended Posts