• 0

    posted a message on Getting the image of another dialog item image.

    @arronlee: Go

    HI arronlee I agree with you.It would be easier for you to do that using some image processing tools.That would help a lot.And most of the program offer a free trial for new users.You can have a try before you decide to own it.But you said that do not use the free online ones.Why?There are some powerful free image program.

    Posted in: Triggers
  • 0

    posted a message on Scaling dialog image

    @DuckyTheDuck: Go

    HI there That exactly what i want to do.I have tried to scale image do that using this codeļ¼› namespace RETest { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

    private void button1_Click(object sender, EventArgs e) { string fileName = "c:/Sample.png";

    REImage reImage = REFile.OpenImageFile(fileName);

    ImageProcessing.ApplyResize(reImage, 0.5f);

    REFile.SaveImageFile(reImage, "c:/reimage.png", new PNGEncoder()); But it can not work effectively.I want to know that if there is any image program which supports to do that directly.Thanks a lot

    Posted in: Data
  • 0

    posted a message on Scaling an image up (for a minimap).

    @Sneakervek: Go

    Hi there If you just want to scale an image ,you can just add an image scale program.They offers detailed tutorial for any image scaling.And you can also zoom the image effective.That would be more convenient.Hope to help you.

    Posted in: Triggers
  • 0

    posted a message on Slot Machine Game - Problem with creating image for last slot

    Hello Here is my demo code to create images in c#.Hope to help you: using RasterEdge.Imaging.Basic.Core; using RasterEdge.Imaging.Basic.Codec; using RasterEdge.Imaging.TIFF; using RasterEdge.Imaging.Basic;

    namespace RETest { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

    private void button1_Click(object sender, EventArgs e) { int width = 100; int height = 60;

    REImage reImage = new REImage(width, height, ImageMode.RGB888); Create a image with specified width, height and color mode; all pixels are set to white

    REFile.SaveImageFile(reImage, "c:/reimage.bmp", new BMPEncoder()); REFile.SaveImageFile(reImage, "c:/reimage.png", new PNGEncoder()); REFile.SaveImageFile(reImage, "c:/reimage.jpg", new JPGEncoder()); REFile.SaveImageFile(reImage, "c:/reimage.tif", new TIFEncoder()); } } }

    Posted in: Triggers
  • 0

    posted a message on Can you copy dialog items or save an image?

    @Skittles17: Go

    Hello. I know there is a software which can not only save images but also process images effectively.Here is the method to save image in c#:

    public static void SaveImageFile(REImage image, string filePath); public static void SaveImageFile (REImage image, string filePath, BaseEncoder enc);

    Posted in: Triggers
  • To post a comment, please or register a new account.