If you have the Slackware CD/DVD and haven't performed the full install you should be able to find it the xap directory. For example, after your device has been mounted you could run the command below as root.
Code:
# installpkg /media/SlackDVD/slackware/xap/imagemagick-6.5.9_6-i486-1.txz