Welcome Guest Search | Active Topics | Members

error message Options
malek
Posted: Thursday, January 27, 2005 6:17:00 AM
Rank: Member
Groups: Member

Joined: 1/27/2005
Posts: 1
Points: 0
i have downloaded graphicsprocessor2002 and installed it successfully on the system nut when i have this specific code:
Try

Code:
            Dim objraster As New RasterObjectClass
            objRaster.LoadFile(Server.MapPath("Bluehills.jpg"))

            objRaster.EncoderOptions("OutputFileType") = "TIFF"
            objRaster.EncoderOptions("ColorDepth") = 1

            objRaster.EncoderOptions("DitherType") = "None"
            objRaster.EncoderOptions("Threshold") = 128
            objRaster.SaveFile(Server.MapPath("none.tif"))

            objRaster.EncoderOptions("DitherType") = "OrderedDither"
            objRaster.SaveFile(Server.MapPath("dither.tif"))

            objRaster.EncoderOptions("DitherType") = "ErrorDiffusion"
            objRaster.SaveFile(Server.MapPath("errordiffusion.tif"))

            objRaster = Nothing

        Catch ex As Exception

        End Try


the .net debugger catches an error when loading the file and gives the following message:
Code:
    Message    "Object reference not set to an instance of an object."


Please post soemthing back about this issue.

Thank you.
Andrew
Posted: Thursday, January 27, 2005 7:30:00 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 8/2/2003
Posts: 709
Points: 108
Hello Malek,

Graphics Processor 2002 is an obsolete product, and we provide technical support only for the existing Graphics Processor users.

If you need a .NET imaging component please use the most recent product Graphics Mill for .NET:

http://www.aurigma.com/Products/GraphicsMilldotNET

Please let me know for any questions.

Sincerely yours,
Andrew Simontsev from Aurigma Team
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.