Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
We have an installation of magento that includes significant integration with imagemagick to resize images.
A previous developer developed an option that allows users to crop in proportionate rectangles - as per the attached screenshot. Users can move the crop lines around - and also pull it out (but it resizes as a proportionate rectangle)
We have a new developer and are trying to develop the codebase so users can individually drag in crop lines (and not have the overall crop resized proportionately)
Just wondering if anybody knows what this function is called within imagemagick. The developer is happy to work out the specifics - but wasn't sure where to start
Another way of crop + resize together is with "-distort SRT" at the command line, or the functions in distort.c. However, for a real-time follow-the-mouse resize, ScaleImage() etc are probably faster. (You could do quick-and-dirty resizing while the user is holding down the mouse button, then slower but proper resize when the mouse button is released.)