Questions tagged [magick++]

Magick++ is the object-oriented C++ API to the ImageMagick image-processing library, the most comprehensive open-source image processing package available.

Magick++ supports an object model which is inspired by . Images support implicit reference counting so that copy constructors and assignment incur almost no cost. The cost of actually copying an image (if necessary) is done just before modification and this copy is managed automagically by Magick++. De-referenced copies are automagically deleted. The image objects support value (rather than pointer) semantics so it is trivial to support multiple generations of an image in memory at one time.

Magick++ provides integrated support for the Standard Template Library () so that the powerful containers available (e.g. deque, vector, list, and map) can be used to write programs similar to those possible with & PerlMagick. STL-compatible template versions of 's list-style operations are provided so that operations may be performed on multiple images stored in STL containers.

Latest release: 7.0.10-28 released on 2020-08-16

179 questions
23
votes
1 answer

Extending ImageMagickNet

I’m trying to add a custom function to class ImageMagickNet. It should use the IsSimilarImage magick method from the ImageMagick.NET project but I’m confused as to whether I have to route this method through the Magick++, as any functionality…
Becky Green
  • 625
  • 5
  • 21
10
votes
3 answers

Cannot find Magick++ header files

Hoping someone can help me out as I'm at a complete loss. I've trawled the Internet and really can't find anything more to help me. I'm trying to compile my c++ program which uses the Magick++ library. I've installed Magick++ seemingly fine. In my…
Simeon Rowsell
  • 303
  • 1
  • 3
  • 9
9
votes
2 answers

Getting pixel color with Magick++?

I've already asked this question, but that was about FreeImage. Now I'm trying to do the same thing with ImageMagick (to be more correct, with Magick++). All I need is to get the RGB value of pixels in an image with the ability to print it out onto…
ghostmansd
  • 3,285
  • 5
  • 30
  • 44
9
votes
1 answer

About Magick++, how to write the CMakeLists?

everyone. There is my CMakeLists. cmake_minimum_required(VERSION 3.5) project(Blah) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(SOURCE_FILES main.cpp) add_executable(Blah…
jiang qilei
  • 101
  • 1
  • 3
7
votes
4 answers

Magick++ in VS2010 - unresolved external symbol

I'm trying to use ImageMagick Magick++ for a C++ Project in VS2010. I installed the Library from here: klick Then in my Project, I added c:/program files/ImageMagick-6.6.6-Q16/include to the include folders. Then I tried to use Magick++ with this…
Van Coding
  • 24,244
  • 24
  • 88
  • 132
7
votes
1 answer

C++ Windows Command Prompt C1083 "Cannot open include file: 'Magick++.h' No such file or directory"

It has been over 4 hours since I made any progress at all, and searched documentation and links and frankly I'm out of ideas. So here goes. Background I am compiling a C++ program in command prompt I am new to command prompt and fairly new to c++ I…
Luffy
  • 401
  • 5
  • 10
7
votes
3 answers

Load Images from memory (libharu) from Magick++ images

I am working on some pdf generation software in c++ based on libharu and I would like to be able to first manipulate images using Magick++ and then load them from memory using libharu function: HPDF_LoadRawImageFromMem() Which according to the…
rpechayr
  • 1,282
  • 12
  • 27
6
votes
3 answers

ImageMagick static compilation with another project gives linker errors

I've downloaded the ImageMagick source, compiled the wizard to create a Visual Studio solution for static linkage, and included the static library Magick++ project in my sample project (code below). I've also added a dependency on that project and…
Seriema
  • 61
  • 2
5
votes
1 answer

ImageMagick "convert" utility Magick++ equivalent?

Sorry if the title didn't make any sense. Currently, the following parameters on the imagemagick convert utility are perfect for what I need. I'm tring to take an .svg file, make it larger and write it as a png file. convert -density 36 home.svg …
Brad
  • 10,015
  • 17
  • 54
  • 77
5
votes
1 answer

Using Magick++ in a node.js application on heroku

I'm trying to push a Node app to heroku, but I am using imagemagick-native and it seems that Heroku is having an issue with Magick++ - I've tried using custom build packs but can't seem to find one that supports Magick++. (1) Is this the issue (2)…
cadlac
  • 2,802
  • 3
  • 18
  • 34
4
votes
3 answers

Fast/Efficent Pixel Access in Magick++

As an educational excercise for myself I'm writing an application that can average a bunch of images. This is often used in Astrophotography to reduce noise. The library I'm using is Magick++ and I've succeeded in actually writing the application.…
saad
  • 1,225
  • 15
  • 31
4
votes
2 answers

c++ decode CCITT encoded images in pdfs

I'm trying to extract all images out of PDF files in C++. I'm stuck in decoding CCITT encoded images. Does anyone know an opensourced code for this? I use the ImageMagick Magick++ Library, is it possible to do the decoding with this library,…
Van Coding
  • 24,244
  • 24
  • 88
  • 132
4
votes
1 answer

How can I determine MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE during compilation?

I have a library that interfaces against ImageMagick 6. During compilation I get the below compilation warnings (promoted to errors by me). I am aware that explicitly defining these values during compilation using -DMAGICKCORE_QUANTUM_DEPTH=16…
Stian Svedenborg
  • 1,797
  • 11
  • 27
4
votes
2 answers

Rounded corners with C++

I'm looking for some c++ drawing graphics library to create rounded corners with anti-aliasing option for dynamic keyboard key creator. I've already tested OpenCV and Magick++ functions but the result was not so good. Can anyone help me with…
3
votes
2 answers

morphology using Magick++

I'm trying to perform morphology using Magick++ from a c++ program that I am writing. I can't find how to use the Morphology methods from c++ though. I am trying to perform the following (we are converting from…
zsalzbank
  • 9,685
  • 1
  • 26
  • 39
1
2 3
11 12