Skip to main content
0 votes
0 answers
94 views

Trying to draw a scaled movieclip containing vectors as a bitmap after the movieclip has been scaled, and struggling to get a sharp, clear bitmap. Basically, have a movieclip and want to attach it to ...
user25342020's user avatar
0 votes
1 answer
276 views

My code works for some images but not others. Image that works: Image that doesn't work (same image but smaller): I first load the image and create an array of raw pixel data that for instance only ...
hackn101's user avatar
0 votes
0 answers
90 views

enter image description here When trying to copy data from one Bitmap to another, for some reason the image looks torn. This is the code I copied from microsoft documentation. And it should work, but ...
Tirais's user avatar
  • 1
0 votes
1 answer
52 views

public float ToBlackAndWhite(BlackWhiteMode mode) { var data = _bmp.LockBits(new Rectangle(0, 0, Width, Height), ImageLockMode.ReadWrite, _bmp.PixelFormat); var IsWhite = mode ...
Simon's user avatar
  • 3
0 votes
0 answers
142 views

I am trying to compare two bitmaps to one another. One is premade, and the other one consists of a small image of the main screen being taken and filtered for everything besides full white. I now need ...
Jona4Dev's user avatar
0 votes
1 answer
245 views

So I followed a few tutorials on how to draw on window using windows.h library, the part of the tutorial that I don't really understand is the bitmap part. They used createbitmap() and StrechBit() ...
Codin Mark's user avatar
1 vote
1 answer
266 views

I have the following code var rect = new Rectangle(x, y, w, h); BitmapData data = bitmap.LockBits(rect, ImageLockMode.ReadOnly, bitmap.PixelFormat); BitmapSource cropppedImage; ...
Fred's user avatar
  • 164
1 vote
1 answer
382 views

We are using a camera that acquires up to 60 frames per second, providing Bitmaps for us to use in our codebase. As our wpf-app requires, these bitmaps are scaled based on a scaling factor; That ...
sir_photch's user avatar
0 votes
1 answer
275 views

I'm trying to open a .bmp image file and to read bitmap data to a buffer. but I'm not getting the excepted output. I'm new to C language and please assist me on this case. this is my "main.c"...
Chathura Karunanayaka's user avatar
2 votes
0 answers
192 views

I'm having multiple threads that need to READ the same bitmap. They all need to potentially read the entire bitmap. I want them to access the underlying bytes, so each thread invokes LockBits with ...
Ben's user avatar
  • 1,664
0 votes
0 answers
114 views

I'm currently in the development phase of a photoconverter program and in the process of developing a blur filter. At the initial stages of prototyping this feature, i devised a algorithm in which I ...
Radishking27's user avatar
0 votes
1 answer
563 views

I am trying to load an image that is given to me as a BITMAPINFO* and a uchar array. The documentation states that it is a standard Microsoft device independent bitmap (DIB) with 8-bit pixels and a ...
firehelm's user avatar
0 votes
1 answer
747 views

I've built a small test example where the goal is to change all pixels in my .png to white. I'm doing it using BitmapData, because as I understand it, the performance is better. If I can get it ...
Shiasu-sama's user avatar
  • 1,277
0 votes
1 answer
885 views

I wrote a easy program to convert a monochrome bitmap data to a byte array, and then reverse it (0->1, 1->0) in order to send it as a ZPL to a label printer. Bitmap bmp = (Bitmap)pictureBox1....
PiggyChu001's user avatar
0 votes
0 answers
855 views

I want to share bitmap between server and client. I've tried a lot, but I've had problems with all the way the bottom part of the image missing. First way: Bitmap bmp = new Bitmap(800, 450); ...
you's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
28