Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bitmap outputimage = new Bitmap(inputimage);
- int hpic = inputimage.Height;
- int wpic = inputimage.Width;
- for (int x = 0; x < 4; x++);
- {
- for (int y = 0; y < 3; y++)
- {
- for (int u = 0; u < wpic / 4; u++)
- {
- for (int v = 0; v < hpic / 3; v++)
- Color tempPixelRGB = inputimage.GetPixel
- (wpic / 4 * x + u, hpic / 3 * y + v);
- }
- }
- }
- return outputimage;
Add Comment
Please, Sign In to add comment