Jump to content

vPaint - GDI+ image editor


scintilla4evr
 Share

Recommended Posts

Link to comment
Share on other sites

No, but why don't you use _WinAPI_AddFontResourceEx to add those fonts to your app?

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Link to comment
Share on other sites

  • 2 months later...

New version!

  • UI changes
  • New Anaglyph effect (requires at least 2 layers)
  • Opening image files as layers (right-click on the layer list)
  • New actions for layers (right-click on the layer in the list), including filling with solid color and applying masks (selection, other layers) and duplicating layers
  • Fonts are now added with _WinAPI_AddFontResourceEx (thanks, UEZ!)

Download

Link to comment
Share on other sites

The script crashes with an error in Debug.au3.

vPaint 4\Base\Debug.au3"(6,28) : warning: $aThreads: possibly used before declaration.

 

The exe with

Line 34378  (File "vPaint 4\vpaint4.exe"):


Error: Subscript used on non-accessible variable.

 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Link to comment
Share on other sites

Sorry, exe is still not working:

Line 34365  (File "...\vPaint 4\vpaint4.exe"):


Error: Subscript used on non-accessible variable.

paint.au3 is also not running because of plenty of errors.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

:no: still same problem but now on line 34366.

 

Anybody else with the same problem?

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

@UEZ, what OS do you have?

I tested the app on:

  • Windows 10 x86 (b. 10240)
  • Windows 10 x86 (b. 10586)
  • Windows 7 x64

and it worked fine (except Windows 7, where I have some DLL problems, but the app will start and work).

Link to comment
Share on other sites

Link to comment
Share on other sites

I would recommend to work with OpenCV instead of GDI+.

But you need to port it to autoit if you don't develop it in c. but it is better because this way you also create UDF for OpenCV. at the same time you create vPaint..  in my opinion it may be more fun.   

 

Link to comment
Share on other sites

@gil900, did you know that there is some kind of prize for proving that you can read minds? I am indeed interested in OpenCV, but I'll try to use its recognition algorithms, not as a replacement for GDI+.

Now, thanks to you, I'll wear a metal helmet on my head at all times.

Link to comment
Share on other sites

lol, I did not expect such a response.
OpenCV is the Autoit for image processing.
So it makes perfect sense to use it for image processing software .

EDIT: Deleted because you do not need this suggestion.. you use Direct2D for drawing.

Edited by Guest
Link to comment
Share on other sites

Line 34366, subscript used on non-accessible variable running the .exe

Quote

C:\Users\Kyle\Desktop\New folder (3)\paint.au3 (100) : ==> Error opening the file.:
#include "Base\Objects\Selection.au3"

Running .au3 file.

Quote

1d"C:\Users\Kyle\Desktop\New folder (3)\Base\Helper\TilesButtons.au3" (11) : ==> Subscript used on non-accessible variable.:
If IsKeyword($iW) = 1 Then $iW = $aSize[0]+$iBlank
If IsKeyword($iW) = 1 Then $iW = $aSize^ ERROR

Running .au3 file and commenting out the selection.au3 line.

And changing the line with the error to

Quote

If IsKeyword($iW) = 1 and IsArray($aSize) Then $iW = $aSize[0]+$iBlank

Gave me a vPaint that looks like this.

eZONF1o.png

Edited by InunoTaishou
Link to comment
Share on other sites

@InunoTaishou, it seems that _WinAPI_AddFontResourceEx doesn't like GDI+ rendered controls. For now, you'll have to install manually all the fonts from Data\Fonts folder.

vPaint 4 image editor (added InunoTaishou's fixes, unlocked D2D viewport rendering locked again because of a MASSIVE memory leak)

Edited by scintilla4evr
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...