SA-MP Forums Archive
[Tool/Web/Other] Image2Textdraw - Image to textdraw converter! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] Image2Textdraw - Image to textdraw converter! (/showthread.php?tid=274064)

Pages: 1 2 3 4


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 04.08.2011

Quote:
Originally Posted by Famalamalam
View Post
I tried to load an image, a gif. 50 x 50 ...
Hmm no problems loading .gif files here...
do you have .NET framework 3.5?

Quote:
Originally Posted by -Luis
View Post
Thanks for this, I can now make some things within Photoshop and add them IG. Might I ask what image formats it supports?
gif,jpg,bmp and png


Re: Image2Textdraw - Image to textdraw converter! - Famalamalam - 04.08.2011

Of course I have 3.5 installed

Uhm, ok, I just tried it with a 16x16 gif, rendered fine, compiled fine, code looks fine but when I go in-game I can't see it? I'm on a laptop, 1366 x 768 resolution, widescreen.


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 04.08.2011

Quote:
Originally Posted by Famalamalam
View Post
Of course I have 3.5 installed

Uhm, ok, I just tried it with a 16x16 gif, rendered fine, compiled fine, code looks fine but when I go in-game I can't see it? I'm on a laptop, 1366 x 768 resolution, widescreen.
please note that the textdraws will be called at OnPlayerConnect(), to try to do these steps:

1. Render/compile the script
2. Start the server and use "loadfs scriptnamehere" (or add it in the filterscripts line on server.cfg)
3. NOW you can connect


Re: Image2Textdraw - Image to textdraw converter! - Famalamalam - 04.08.2011

That exactly what I did, put it in my filter-script line..


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 04.08.2011

Quote:
Originally Posted by Famalamalam
View Post
That exactly what I did, put it in my filter-script line..
okay post the output (the pawn script) on www.pastebin.com please and pm me a link


Re: Image2Textdraw - Image to textdraw converter! - Shockey HD - 04.08.2011

THis is awesome, I will be using this :] Cheers!


Re: Image2Textdraw - Image to textdraw converter! - Rapgangsta - 04.08.2011

EPIC


Re: Image2Textdraw - Image to textdraw converter! - iggy1 - 04.08.2011

Very, very nice. If/when textdraw limits are higher i will be using this in a public server for sure. (or i might f*ck mine off and use this)


Re: Image2Textdraw - Image to textdraw converter! - Kitten - 04.08.2011

awesome this is really useful. thanks <3


Re: Image2Textdraw - Image to textdraw converter! - Lorenc_ - 05.08.2011

Pretty cool, I'll be checking out the source for that loop/method you used to create the textdraws, awesome stuff xD


Re: Image2Textdraw - Image to textdraw converter! - [nL]W0rfleR - 05.08.2011

The best!


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 05.08.2011

Wow, i went from like 14 to 32 reputations in 1 day!

Thanks for all the positive comments and reputations guys! I appreciate
Enjoy the app!

Btw if anyone knows how to detect nearby pixels with the same colors (to reduce the ammount of textdraws) efficiently in c#, please notify me!


Re: Image2Textdraw - Image to textdraw converter! - Dudits - 06.08.2011

Ummm doesn't work?


Re: Image2Textdraw - Image to textdraw converter! - Jakku - 06.08.2011

Must test this, looks nice


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 07.08.2011

Okay guys, there has been a pretty big update! You might want to check it out
(if you are using images with much squares/shapes with the same color, this can save you a lot of textdraws!)


Re: Image2Textdraw - Image to textdraw converter! - LoLaMan - 07.08.2011

1.1 - Works porfekt
1.2 - When press X [close] http://imageshack.us/photo/my-images/109/80562617.png/
1.3 - When open, Don't Work http://imageshack.us/photo/my-images/594/76454412.png/


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 07.08.2011

Quote:
Originally Posted by LoLaMan
View Post
1.1 - Works porfekt
1.2 - When press X [close] http://imageshack.us/photo/my-images/109/80562617.png/
1.3 - When open, Don't Work http://imageshack.us/photo/my-images/594/76454412.png/
Hmm kay, thanks for reporting
i've reuploaded version 1.2 too for the people who are having this problem.


Re: Image2Textdraw - Image to textdraw converter! - Sasino97 - 07.08.2011

Fantastic


Re: Image2Textdraw - Image to textdraw converter! - Donya - 08.08.2011

1.2 never showed the picture.

1.3 crashing this >> http://imageshack.us/photo/my-images/594/76454412.png/

Edit: I just went to debug and opened Img2Pawn.exe - size 193,024 and that opened, Img2Textdraw did not open
^ that one worked, and it showed the picture too.


Re: Image2Textdraw - Image to textdraw converter! - gamer931215 - 13.08.2011

Quote:
Originally Posted by Darnell
View Post
Can I load more than 2 pictures so I can create 1 big picture ?; that'll be awesome .
A server can handle 2048 textdraws at the same time, this means as long they both are under the 2028 limit you can load multiple images !