Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8333203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:56:37+00:00 2026-06-09T02:56:37+00:00

I am searching for an example of using imagemagick.net, but nothing found. I have

  • 0

I am searching for an example of using imagemagick.net, but nothing found. I have downloaded imagemagick.net and put ImageMagickNET.dll as my projects reference. I want to auto crop when I click convert.The code i have tried is giving below.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ImageMagickNET;
namespace ImageMagickTest_A
{
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void BtnConvert_Click(object sender, EventArgs e)
    {
          MagickNet.Magick.Init();
          MagicNet.Image img = new MagicNet.Image("file.jpg");
          img.Resize(System.Drawing.Size(100,100));
          img.Write("newFile.png");
          MagickNet.Magick.Term();

    }
}
}

But I am getting this error “‘ImageMagickNET.MagickNet’ does not contain a definition for ‘Magick'”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:56:39+00:00Added an answer on June 9, 2026 at 2:56 am

    Here you have used resize method of ImageMagickNET , so please refer below link.. may you can found thing which will help you

    How to use imagemagick.net in .net ?

    Or

    using System;
    using M = MagickNet;
    using System.Drawing;
    
    namespace ConsoleApplication1
    {
      class Program
      {
          static void Main(string[] args)
          {
            M.Magick.Init();
            M.Image img = new M.Image("file.jpg");
            img.Resize(new Size(100, 100));
            img.Write("newFile.png");
            MagickNet.Magick.Term();
          }
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Been searching the net for an example of how to convert HTML string markup
I have been searching several days for an example of how to make a
I have been searching for almost an hour without finding proper example to fix
I have been searching for a source code for generating combinations using C++. I
I have done some searching on the difference in implementing a closure using an
I'm having some problem searching by group when using Sunspot. Here is an example:
I've searching about using custom maps (for example: a campus university map) in the
I am using LIKE operator for searching the title. But it not giving desired
I'm using Hibernate Search (which uses Lucene) for searching some Data I have indexed
been searching for a quick example of sorting a IQueryable (Using Linq To SQL)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.