I have a PictureBox on a form.
In Load event of the form I create graphics as follows:
imageGraphics = Graphics.FromImage(PictureBox1.Image)
Then, in PictureBox_MouseMove event I draw ellipse:
imageGraphics.FillEllipse(New SolidBrush(brushColor), e.X, e.Y, brushWidth, brushWidth)
No matter what I try, it always draws on incorrect ...
Are there any comprehensive open-source alternatives to Matlab's Image Processing Toolkit?
...
Hi, I have a problem that how to add set of images and setFocus on them in a List, So kindly help me, i will be very thankful to you.
...
I ask if there is a simple way because there is a google issue report saying that using decodeByteArray isn't possible. But that report originated in 2008 and I was hoping there was a solution not posted on there. The method listed on the issue report was to decode the format yourself, but I'd prefer to not have to put that in and slow d...
I'm looking to have a full page image with a section of the image that, when hovered over, changes the image to a colored version of the original black & white image. I tried doing this with image maps & onMouseOver, but didn't have any success. There are only two images being used, a color and a black and white one.
I just want to hav...
I'm currently trying to create a ray tracer in C++ but I'm having difficulty writing the .bmp produced at the end. I'm determined to do it manually, so I can learn more about image files and writing them etc. But I'm having some difficulty. I'm fairly new to C++ but have been using Python for a while.
I'm almost there now, I just have...
i have a dataset that looks like this:
Bin Frequency
6.0 0
5.9 0
5.8 0
5.7 0
5.6 0
5.5 0
5.4 0
5.3 0
5.2 0
5.1 0
5.0 0
4.9 0
4.8 0
4.7 0
4.6 0
4.5 0
4.4 0
4.3 0
4.2 0
4.1 0
4.0 0
3.9 0
3.8 0
3.7 0
3.6 0
3.5 0
3.4 2
3.3 4
3.2 2
3.1 2
3.0 4
2.9 5
2.8 5
2.7 1
2.6 0
2.5 1
2.4 1
2.3 2
2.2 3
2.1 1
2.0 0
1.9 1
1.8 0
1.7 1
1.6 1
1.5 1
1.4 0
1.3...
Imagine you see some picture that should not appear in normal circumstances, e.g. seemingly when graphics card or some program malfunctioned and display nonsense.
For example, overheated graphics card crashed and the system frozen, displaying severely corrupted image (it may look unrelated to what it should display, but also may be rela...
I've narrowed down the issue I'm having to this block of code, where I am resizing an uploaded image and saving it. This works fine on my local machine, but when I run the site on the server, I get a generic GDI+ error that's coming from the "thumbnail.Save" call.
if(fup_displayPicUpload.HasFile)
{
string ima...
Hello coders and codetts,
I created an iphone app, and i'm currently in development of a web app to go along, the main goal is to have the iphone collect data and then upload the data to the web app so that the users can view and print the data that was collected, after the data has been uploaded it will be deleted off the iphone.
Now ...
What is the best way to transfer an image in C#?
Bitmap object
Byte array
Image Object?
...
I'm using GetPixel to get the colour of each pixel of an image. The images contain different plain-coloured irregular shapes, and I'd like to find the point (or pixel) where the maximum width matches the maximum height (see figure below).
(disregard the border)
I'm using this to iterate through the captured bitmap:
for (int ...
I am trying to find an reusable and elegant way to create bitmaps from a visuals in WPF and then print the bitmap to a TLP-2844 zebra printer. The bitmap image needs to be 203 DPI since this is what the Zebra printer supports. I have tried everything I can think and I have to be missing something either completely obvious or what I am ...
Hello, I am a beginner Android developer and I need to know how to Save and Load images (Bitmaps) from the Android Gallery, But I dont even know where to start! Can someone help me to know where to get started, or even look?
...
Is there a program which lets you dump an image and then you can put all the images you dumped into one image? I want to know this so I can build my tileset faster....
Thanks.
...
Hi there
I'm loading an image path via jQuery $.ajax and before showing the image I'd like to check if it in fact exists. Can I use the image load/ready event or something similar to determine that the file path is valid?
Having .myimage set to display: none, I'm hoping to do something like
$(".myimage").attr("src", imagePath);
$(".m...
Hi,
I would like to insert image into text, for example:
I would like to show the text likie this:
"To edit picture you should click on" [image] "button."
Where [image] is real image (e.g. ImageView)
...
I have a monitoring system and I want to save a snapshot from a camera when alarm trigger.
I have tried many methods to do that…and it’s all working fine , stream snapshot from the camera then save it as a jpg in the pc…. picture (jpg format,1280*1024,140KB)..That’s fine
But my problem is in the application performance...
The app need ...
I have an application that use the image captured by the mobile camera and sends it to a webservice. Currently I am putting the image in a byte[] which then will be transmitted. This is done by:
filename = cameracapturedialog.FileName;
FileStream fs = new FileStream(filename, FileMode.Open);
byte[] ImageByte = new byte[fs.Length]; //fi...
I want to check if a given URL exists and it's an image, in order to create a new Image(String url) from it. If the given URL is not an image then it should return an error.
...