I actually did some more fiddling around with it, and I think I can do what I need with ghostscript, bypassing ImageMagick altogether. It also appears to be *much* faster.