VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated

by buggy (2 Submissions)
Category: Object Oriented Programming (OOP)
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (50 Votes)

clsASMpic is a simple class that makes possible REALTIME image manipulation of even large pictures in visual basic.
this is accomplished using precompiled assembler code (machine code) in the time critical sections.
it has a real wealth of functions, eg rotating and scaling with antialiasing, invertion and grayscaling, art effects like relief and smoothing, colour effects - each colour +/-, brightness ...and many more - plus some really nice and weird ideas.
All asm code is by Robert Rayment, thanks a lot for your great work, dude!
this is mostly a total conversion of one of Robert's former postings, to make using this great technique as easy as it is being fast:
https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=29034&lngWId=1 .
I did my best to encapsulate everything into one single class and make calling its powerful functions as easy as possible. information hiding at its best.
by using enums, the functions become self explanatory.
decent error checking, to be improved (for example don't quit your prog until your loop of one degree rotation steps has finished...).
even loading and saving pics with the standard dialog is handled. --- updates: new examples (both main and additional project), possibility to do several effects without drawing each intermediate result (prevents flickering, allows undo of whole filter-arrays), chose color dialog. ---
...have fun experimenting and using this really handy piece of code! :)

Rate clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated

Download clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated

Download clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated (77 KB)

clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated Comments

No comments have been posted about clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated. Why not be the first to post a comment about clsASMpic 1.0 Assembler (Machine Code) and PictureBox Magic updated.

Post your comment

Subject:
Message:
0/1000 characters