Image editor wanna join?
If your a member of codenstuff then this is the main place to be. Get together..talk..chat and ponder. Have fun. Chill out. Play games.
hey usman55 add me brodiewalton@hotmail.com
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
I am already working on my own image editor at the moment, but if any help is needed, you can PM me
smashapps wrote:How are you going to use VB and C# in the same program?The main program will be in VB, but i will code a DLL that contains effects and such things, that DLL will be in C# because of the direct access to memory. So editing will be possible at high speed without using the terrible slow Get/SetPixel.
I can help as well if you wish, such as doing 3D effects, (2D but look 3D), lines and shapes etc but I haven't really done imagery before.
If you wish, I will be on msn.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

I don't recommend a custom GUI as a lot of users customize windows, and they choose a theme they like. Plus not everyone like custom themes, regardless how they look.
Also does the image editor have a name yet???
Also does the image editor have a name yet???
Why do you need to use unsafe pointers? You can access regions of the bitmap in memory with Bitmap.LockBits, this can be done in VB.Net as well.
mandai wrote:Why do you need to use unsafe pointers? You can access regions of the bitmap in memory with Bitmap.LockBits, this can be done in VB.Net as well.I know that, but you would then have to use the Marshal class, which increases the time used by just a little, and i want as high performance as available.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

Using Marshal.Copy to read/write all the data to/from an array is quite fast actually.
Okay, good. Can you find me a formula to get the 4 bytes of the color at for example X: 4 Y: 87 in the bitmap?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

You can use this offset to find a specific pixel in memory:
Code: Select all
You can remove the Scan0 part if you have loaded the data into an array beforehand. If the data is in an array you can use BitConverter.ToInt32 to store the pixel's bytes. This example will work if you are using a Format32bppArgb bitmap.(BitmapData.Scan0.ToInt32() + (BitmapData.Stride * y) + (x * 4))
Copyright Information
Copyright © Codenstuff.com 2020 - 2023