-
Images
Hi everyone,
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
Function=[Unknown.]
Library=(N/A)
Dynamic libraries:
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)
{
BufferedImage Image4;
RescaleOp op = new RescaleOp(Factor1, 1, null);
Image4 = op.filter(SourceImage2, null);
return Image4;
}
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
Thank You
Yours Sincerely
Richard West
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks