-Ovom aplikacijom mozete konvertati Slike u TextDraw i stavljati ih na Server.
Vazno
1. Please note that the SA-MP server has a 2048 textdraw limit! This means you can only convert small images arround 45x45 pixels.
2. 1 pixel looks a lot bigger on the 640x480 scale so your image will be larger as its original ingame (depending on your ingame screen resolution ofcourse)!
3. The pixelcount on the details is INCLUDING transparant pixels, transparant pixels will not be made as textdraw though.
4. This program is running on 4 threads:
the main thread (GUI part)
UpdateStats (updates the progressbar/labels, and saves the file after the rendering is finished)
Processor1 thread (renders top part of image)
Processor2 thread (renders bottum part of image)
The reason for this is to improve the speed on multicore processors.-Mrzi me da prevodim a i nisam bas neki Englez. 😁 Ako vam nesto nije jasno, pitajte pa ce vam neko odg.
Kako koristiti?
1.Promenite velicinu vase slike/logoa, preporucljivo je da je negde oko 45x45 pixels(Moze biti manji a moze i veci,preporucljivo je zbog limita TDa u SAMPu)
2.Pokrenite aplikaciju, idite na "Load Image" odaberite zeljenu sliku/logo.
3.Kliknite na "Render image" i izaberite gde da vam se napravi .pwn file.
4.Sacekajte da se zavrsi, kada se zavrsi otvoriti .pwn file i kopmiluj te.
5. Vasa FilterScripta je sprema za Test. 😁
Changelog
BETA:
1.0 - release
1.1:
*Checkbox added to enable/disable the background removal
1.2:
*Code optimised at the checkbox.
*The threads are now "sleeping" longer, THIS MEANS THAT THE APPLICATION WILL RENDER SLOWER, unfortunally i had to do this because i noticed it the loop was going too fast that it will randomly skip pixels :SSlika?
Download?
http://solidfiles.com/d/a54e4/
Izvor?
http://forum.sa-mp.com/showthread.php?t=274064
Update v1.3
http://forum.sa-mp.com/showthread.php?t=274064
