Blackout Posted July 7, 2008 Report Share Posted July 7, 2008 Sveiki! Nevaru saprast kamā kļūda.. Fatal error: Call to undefined function imagecreatefromjpeg() in D:\wwwfiles\scripts\upload.php on line 29 Pārmēģināju visvisādus iespējamos variantus, imagecreatefromjpeg() funkcija negrib strādāt.. Nesaprotu, kamā ir vaina? Rekur kodiņš Palīdziet man lūdzu.. Link to comment Share on other sites More sharing options...
martins256 Posted July 7, 2008 Report Share Posted July 7, 2008 gd2 ieslēgts ? Link to comment Share on other sites More sharing options...
Blackout Posted July 7, 2008 Author Report Share Posted July 7, 2008 Hmm, laikam ļoti stūlbs jautājums, bet kas tas ir? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted July 7, 2008 Report Share Posted July 7, 2008 PHP biblioteka darbam ar grafiku ... ieslegt / atslegt tapat kaa parejas PHP bibliotekas ..... --- paskaties ar phpinfo().. varesi redzet vai ir ieslegta vai nav Link to comment Share on other sites More sharing options...
Blackout Posted July 7, 2008 Author Report Share Posted July 7, 2008 (edited) Darīts! bet tagad raksta.. Warning: imagejpeg() [function.imagejpeg]: Unable to open 'images/b/a.jpeg' for writing: No such file or directory in D:\wwwfiles\scripts\upload.php on line 48 Itkā uz 47 līnijas nokopēju bildi, bet nestrādā! Updated: Tiku galā, biju tik stūlbs, ka aizmirsu pārdēvēt mapīti kurā glabājas bildes.. Tad vēlviens jautājums.. Kā izdarīt tā, lai attēlu kvalitāte nezustu? Edited July 7, 2008 by Blackout Link to comment Share on other sites More sharing options...
martins256 Posted July 7, 2008 Report Share Posted July 7, 2008 tagad dod kodu, jo pēc šitā būtu grūti prognozēt. Link to comment Share on other sites More sharing options...
Blackout Posted July 7, 2008 Author Report Share Posted July 7, 2008 Kods bija rakstīts pirmajā manā postā http://paste.php.lv/7603?lang=php Link to comment Share on other sites More sharing options...
martins256 Posted July 7, 2008 Report Share Posted July 7, 2008 "images/b/" šitās mapes ir izveidotas ? Link to comment Share on other sites More sharing options...
Blackout Posted July 7, 2008 Author Report Share Posted July 7, 2008 es jau ar to tiku galā! ;) Mani tagad kvalitāte uztrauc.. :) Link to comment Share on other sites More sharing options...
andrisp Posted July 7, 2008 Report Share Posted July 7, 2008 Izmanto http://lv2.php.net/manual/en/function.imag...tetruecolor.php Link to comment Share on other sites More sharing options...
Blackout Posted July 7, 2008 Author Report Share Posted July 7, 2008 visu dariju kā aprakstīts.. $dimg = imagecreatetruecolor($newwidth, $newheight); Bet tikuntā kvalitāte ir slikta. Link to comment Share on other sites More sharing options...
martins256 Posted July 7, 2008 Report Share Posted July 7, 2008 imagecopyresampled()!! DejaVu Link to comment Share on other sites More sharing options...
marcis Posted July 7, 2008 Report Share Posted July 7, 2008 imagejpeg() norādi kvalitāti 100 Link to comment Share on other sites More sharing options...
Recommended Posts