Braiens Posted January 28, 2004 Report Share Posted January 28, 2004 Vai akds var palīdzet un pateikt kā ar php var samazināt bildi, cik es zinu man liekas ka kaut kā varēja.... Link to comment Share on other sites More sharing options...
Venom Posted January 28, 2004 Report Share Posted January 28, 2004 (edited) 1) ar phpinfo() pārliecināties, ka ir uzinstalēts GD 2) skatīt php manuāli ap funkcijām imagecreate, imageproportional, imageresize utt. ir pieejami gatavi skripti un klases, kas to dara. Edited January 28, 2004 by Venom Link to comment Share on other sites More sharing options...
рпр Posted January 28, 2004 Report Share Posted January 28, 2004 manus vaardus no mutes izraavi. cik zinu veel ir visadi grafiskie laibrariji kaa imagemagic vai etc, pats gan neesmu lietojis,bet runaa ka ir labaaki bekaa gd. Link to comment Share on other sites More sharing options...
Gacha Posted January 28, 2004 Report Share Posted January 28, 2004 Paskaties sho, tas ne tikai samazina bet arii sarindo Gallery Link to comment Share on other sites More sharing options...
Gacha Posted January 28, 2004 Report Share Posted January 28, 2004 A un veel. Shim scriptam nav nepiecieshams tas GD modulis. Link to comment Share on other sites More sharing options...
Venom Posted January 28, 2004 Report Share Posted January 28, 2004 A un veel. Shim scriptam nav nepiecieshams tas GD modulis. Gacha, cilvēks runāja par to, lai varētu bildi pašu samazināt: nevis uzlikt tai width="50%" height="50%", un lādēt to pašu 1024x960 pikseļu 200Kb-go failu, bet no izejfaila uztaisīt kaut kādu 100x100 pikseļu 5kb priekšapskates failiņu, uz kuras uzklikšķinot tad arī var nokačāt to 1024x960. Link to comment Share on other sites More sharing options...
Braiens Posted January 28, 2004 Author Report Share Posted January 28, 2004 Tieši tā :P Link to comment Share on other sites More sharing options...
Gacha Posted January 29, 2004 Report Share Posted January 29, 2004 Izklausaas intresanti, es nezinaaju, ka PHP ir uz ko taadu speejiigs! Biju tik dzirdeejis par to GD, ka tas njemas ar bildeem. Buus japapeta shii lieta :P Link to comment Share on other sites More sharing options...
Aleksejs Posted January 29, 2004 Report Share Posted January 29, 2004 Te piemērs http://paste.php.lv/722 tālāk pārveidot jūsu ziņā... Link to comment Share on other sites More sharing options...
OverBurner Posted February 1, 2004 Report Share Posted February 1, 2004 reku veel viens piemeers:http://paste.php.lv/727 Link to comment Share on other sites More sharing options...
jurisv Posted February 2, 2004 Report Share Posted February 2, 2004 Arī piemērs Link to comment Share on other sites More sharing options...
Kikko Posted February 3, 2004 Report Share Posted February 3, 2004 Kāpēc jūs visi grūžat to imagecopyresized()? :huh: Kas vainas imagecopyresampled()? Link to comment Share on other sites More sharing options...
Aleksejs Posted February 3, 2004 Report Share Posted February 3, 2004 Nekāda vaina, manuprāt. :P Ja nu vienīgi resampled varbūt izpildās ilgāk... Link to comment Share on other sites More sharing options...
Gacha Posted February 24, 2004 Report Share Posted February 24, 2004 Es izmantoju Alekseja doto piemēru, bet man tas scriptiņš to bildi uztaisa melnbaltu. Kapēc tā? Link to comment Share on other sites More sharing options...
Aleksejs Posted February 25, 2004 Report Share Posted February 25, 2004 Tāpēc, ka es 16. rindiņā esmu ierakstījis: $thumb = @ImageCreate($new_im_w,$new_im_h); bet vajadzēja $thumb = @ImageCreateTrueColor($new_im_w,$new_im_h); ;) Link to comment Share on other sites More sharing options...
Recommended Posts