I am trying to write a simple program in which i can either mak an image sharper or darker. The thing is my program always crashes when it is run although it compiles without any errors.
The error is as follows:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x3067FA8
0x7CC00000 - 0x7CC1D000 C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
The function that i use for making the image sharper or darker is as follows
public BufferedImage imagebrightness(BufferedImage SourceImage2, float Factor1)
RescaleOp op = new RescaleOp(Factor1, 1, null);
Image4 = op.filter(SourceImage2, null);
I really do not know if it is something that i did wrong or is it a bug
I am using windows 98 by the way.
I really hope someone ca help me with this
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center