C
Cor
Hi newsgroup,
I know almost nothing about graphics.
But I want to try to learn that with something I want to use.
What do I want to do:
- Read a Gif, JPG or a BMP file in a picturebox
- Put, like in a photo enlarger, a rectangle around it so that always has
the dimension of 24/36 or 36/24.
- Cut a part out by putting the photo enlarger higher or lower or move the
picture up, down or aside (size the rectangle but keep the dimensions 24/36
or switch those to 36/24)
- Make the real size of the picture so, that it is only about 5 till 30kb,
when it becomes a jpg.
- Save the bitmap in a database as an image (that I know how to do myself)
- Write it back as a jpg from the database (that I know how to do myself)
I want to use as much Net members as possible and if possible no Api calls.
(But when needed the Api call is of course no problem, but a program with
only API calls is not what I am direct after, I think I will need it to
paint that rectangle but if I can avoid that too, it would be greath).
The part with photo enlarging (so it is called, but it is cutting), is my
big problem, and a good method to make the pictures the right size would be
too very nice. (Now when I do those things, I just delete x/n pixels)
Who will help me with that?
Many thanks in advance.
Cor
I know almost nothing about graphics.
But I want to try to learn that with something I want to use.
What do I want to do:
- Read a Gif, JPG or a BMP file in a picturebox
- Put, like in a photo enlarger, a rectangle around it so that always has
the dimension of 24/36 or 36/24.
- Cut a part out by putting the photo enlarger higher or lower or move the
picture up, down or aside (size the rectangle but keep the dimensions 24/36
or switch those to 36/24)
- Make the real size of the picture so, that it is only about 5 till 30kb,
when it becomes a jpg.
- Save the bitmap in a database as an image (that I know how to do myself)
- Write it back as a jpg from the database (that I know how to do myself)
I want to use as much Net members as possible and if possible no Api calls.
(But when needed the Api call is of course no problem, but a program with
only API calls is not what I am direct after, I think I will need it to
paint that rectangle but if I can avoid that too, it would be greath).
The part with photo enlarging (so it is called, but it is cutting), is my
big problem, and a good method to make the pictures the right size would be
too very nice. (Now when I do those things, I just delete x/n pixels)
Who will help me with that?
Many thanks in advance.
Cor