BETA: 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 :S 1.3: *Remove transparency checkbox will be disabled when rendering *The previewbox has been removed and the location-select part will now show your image instead of a dot *Improved location selector (better accuracy) *System is now using a different save method *The system will now compare every 2-4 pixels with echothers color, and combines them if they are identical 1.3b: *Icon has been removed to fix the crashes at Windows XP 1.4: *New method of detecting transparency (A LOT more accurate) *Menubar added *Checkbox of the transparency removal has now been moved to the menubar *A possible crash has been fixed after you closed the app 1.5: *New color detection to reduce textdraw sizes! *Quality option has been added (adding more delay to give the ram more time to store the pixels avoiding random transparant pixels). RC2: *New image for locating positions (on request) Final version: *Standard transparency value adjusted *Help button added (including information about how to avoid "transparant" pixels). *You can now turn multithreading off (for slower/single core processors) *Load/Render buttons added in the menu *Some major speed improvements have been added *You can now change the background image of the previewbox in order to select the location with your own screenshots (On request of asdfgh98).
Tested.
Nice. I don't know if it's a bug but i used this image In textdraw it appears only eyes and mouth and the black background is transparent.. Anyway..that picture it looks more good without background xD |
1. Please note that the SA-MP server has a 2048 textdraw limit! This means you can only convert small images arround 45x45 pixels.
|
Euhm ok What about a Textdraw-streamer ? ^^
|
A streamer STREAMS textdraws, which means it will hide/show textdraws when you reach the limit, it will hide some textdraws in order to show some others.
And we dont like flickering pixels do we |
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.SelectActiveFrame(FrameDimens ion dimension, Int32 frameIndex) at System.Drawing.ImageAnimator.ImageInfo.UpdateFrame () at System.Drawing.ImageAnimator.UpdateFrames() at System.Windows.Forms.PictureBox.OnPaint(PaintEvent Args pe) at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- Img2Pawn Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Nocturnal/Downloads/Image2Pawn%201.1/Image2Pawn%201.1/Executable/Img2Pawn.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4957 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. |