bobsters Posted February 18, 2010 Report Share Posted February 18, 2010 Vai ir iespējama tāda lieta ka es izvelku no datubāzes bildi un tad pārveidot viņu ar image funckcijām iekš PHP. Piemēram uzlikt ūdenszīmi vai kaut kādu tekstu. Es visādi izmēģinājos bet neviens imagecreatefrom() funkcija nedarbojas uz bildi kura ir izvilkta no datubāzes! Quote Link to comment Share on other sites More sharing options...
daGrevis Posted February 18, 2010 Report Share Posted February 18, 2010 Zinu, ka SQL datubāzē ir iespējams glabāt bildes, bet man tas neliekas gudri... Quote Link to comment Share on other sites More sharing options...
bobsters Posted February 18, 2010 Author Report Share Posted February 18, 2010 (edited) nu bet tā r gaumes lieta vai tad ne? :) Edited February 18, 2010 by bobsters Quote Link to comment Share on other sites More sharing options...
codez Posted February 18, 2010 Report Share Posted February 18, 2010 imagecreatefromstring mēģināji? Quote Link to comment Share on other sites More sharing options...
bobsters Posted February 18, 2010 Author Report Share Posted February 18, 2010 (edited) ups! man kluda! kartejo reizi steidzoties ieviesu drukas kludu un mekleju vainu :( Edited February 18, 2010 by bobsters Quote Link to comment Share on other sites More sharing options...
2easy Posted February 18, 2010 Report Share Posted February 18, 2010 bildes labāk glabāt failos (tā ir performances lieta, nevis gaumes lieta) inets ir pilns ar "php watermark" piemēriem. uzprasi G-beibei ;) Quote Link to comment Share on other sites More sharing options...
bobsters Posted February 18, 2010 Author Report Share Posted February 18, 2010 watermark jau maku uzlikt tik nemaceju bildi izvilkt no datubazes ar imagecreate() funkciju :( bet tagad viss ir kartiba un viss iet ka nākas Quote Link to comment Share on other sites More sharing options...
2easy Posted February 18, 2010 Report Share Posted February 18, 2010 kā tad tu darīji? uztaisīji temp failu no kura ielasīt bildes datus? Quote Link to comment Share on other sites More sharing options...
briedis Posted February 18, 2010 Report Share Posted February 18, 2010 kā tad tu darīji? uztaisīji temp failu no kura ielasīt bildes datus? Kam tur temp failu, ja tikko codez minēja imagecreatefromstring? Quote Link to comment Share on other sites More sharing options...
bobsters Posted February 18, 2010 Author Report Share Posted February 18, 2010 ja ar imagecreatefromstring() nolasiju bildi un tad uzvietotoju otru bildi ka udenszimi ar imagecopymerge() un viss aida strada smuki un patikami :) P.S. laikam tomer bus japadoma par bilzu glabasanu failos Quote Link to comment Share on other sites More sharing options...
2easy Posted February 18, 2010 Report Share Posted February 18, 2010 Kam tur temp failu, ja tikko codez minēja imagecreatefromstring? laikam me dreaming ^^ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.