Questions tagged [system.drawing.imaging]
80 questions
0
votes
1 answer
gdi+ error when saving an img to my pictures
I want to create a program that saves a bmp file to my pictures\test.
Because of some unknown reason I get -" A generic error occurred in GDI+."
Please help me understand why this is happening to me.
My code is:
System.Drawing.Image img =…

misha312
- 1,443
- 4
- 18
- 27
0
votes
1 answer
Changing System.Drawing.Bitmap.Palette
I have a TIFF file in memory, which I obtained by a variant of the following code:
Image myImage = Image.FromFile("somefile.tiff");
Currently, myImage.Palette only returns two colors, black and white. I would like to expand this to include the…

James Jones
- 8,653
- 6
- 34
- 46
-1
votes
1 answer
vb.net LED BOARD DISPLAY user control
I am developing LEDBOARD user control in vb.net.I have done it also .Actually its taking too much time to load .In the vb6 same application I am loading 3000 labels using a label control array but not time consuming .In vb.net I am doing same but…

Coder Guru
- 513
- 3
- 18
- 37
-1
votes
1 answer
Retrieve image from mysql and set to pictureBox C#
I'm trying to retrieve data from my database and set it to textbox and picture box using text change.
Here is my code:
private void textBox1_TextChanged(object sender, EventArgs e)
{
string sqlstring = "database = db_phonebook; user =…

nica123
- 1
- 2
-1
votes
2 answers
How can I call a function in a php class?
This is a sample code:
sample code
I want to call it in another page:
include 'root of class file';
$r = new ImagineResizer();
I got this error:
Fatal error: Class 'ImagineResizer' not found in…

ali raha
- 211
- 1
- 2
- 14