#44728: ImageMagick @6.8.9-6_0+x11 fails to process WordPress uploads properly ----------------------------+-------------------------- Reporter: billc_lists@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: ImageMagick | ----------------------------+-------------------------- Comment (by billc_lists@…): Replying to [comment:3 ryandesign@…]:
Replying to [comment:2 billc_lists@…]:
I then removed the references to openexr and jbig. No help. I don't see anything for 'jpeg2' specifically. Is it openjp2 that you're referring to?
Yes, the `--with-openjp2` configure argument is the one that causes ImageMagick to enable its jpeg 2000 functionality using the openjpeg library. To try without jpeg 2000 functionality, you would edit the Portfile and replace `--with-openjp2` with `--without-openjp2` and rebuild; similarly for the `--with-jbig` and `--with-openexr` flags.
When attempting to re-run the resizing using a plugin called Regenerate Thumbnails, the UI gave errors of the form:
{{{ function (){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this} }}}
That's not an error message; that's minified/uglified JavaScript code. Specifically, it's part of the jQuery library version 1.11.1, which is [https://core.trac.wordpress.org/changeset/28238 included in WordPress]. Why you're seeing it, though, I cannot speculate; I don't know much of the inner workings of WordPress. I don't know how to help you further with this problem, other than if it is a bug in ImageMagick and the ImageMagick developers fix the problem and release a new version, I can update the port to that version.
Using --without-jbig --without-openexr and --without-openjp2 made no difference. I'll hold at the earlier version and see if I can get some traction with the ImageMagick folks. I haven't heard any feedback from my WordPress report yet. -- Ticket URL: <https://trac.macports.org/ticket/44728#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X