Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Anti-aliasing

Last post 22 Nov 2007, 10:28 AM by Bill Bither. 1 replies.
Sort Posts: Previous Next
  •  31 Oct 2007, 10:30 AM 12727

    Anti-aliasing

    Hi,

    I have atalasoft tool to create & tilt image for a desktop application. I want high resolution print quality image as output. But I am facing some issues related to Anti-Aliasing and Quality.

    Can anyone guide me how to cope up with this problem and generate high print quality image. Code i used is as follows

    -------------------------

     Dim image As AtalaImage = New AtalaImage(strFileName)
                
                    ' Warp the image.
                    Dim cmd As Transforms.QuadrilateralWarpCommand = New Transforms.QuadrilateralWarpCommand(pts1(1), pts1(0), pts1(3), pts1(2), Atalasoft.Imaging.ImageProcessing.InterpolationMode.BiLinear, Color.White)
                   


                    Dim result As AtalaImage = cmd.ApplyToImage(image)  ' ToImage(image) ' tc.ApplyToImage(image)


                    clsSharedValues.bevelFileNo = clsSharedValues.bevelFileNo + 1
                    i = clsSharedValues.bevelFileNo
                    Dim tempPath As String = file_path & "Bevel\" & i & "Bevel.tif"
                    Dim myWorkspace As Workspace = New Workspace()
                    myWorkspace.Image = result
                     myWorkspace.Save(tempPath, New TiffEncoder(TiffCompression.NoCompression))

    ----------------------------------------

  •  22 Nov 2007, 10:28 AM 12784 in reply to 12727

    Re: Anti-aliasing

    Did you try BiCubic interpolation?  To be honest, I don't think you're going to be happy with the quality tilting a raster based image unless you work with vector elements.  Not knowing your application, I'm not sure if that's practical, but GDI+ gives you a lot of power for vector based drawing.


    Bill Bither
    Atalasoft
View as RSS news feed in XML