Page 1 of 1

encryption failed!

Posted: 2010-09-20T19:39:59-07:00
by anthony
Encrypted images failing in specific case

See
http://www.imagemagick.org/Usage/transform/#encipher

The first encrypt/decrypt is not working - it used to (encryt using a passphrase from file)
But every other encryption method seems to work!

Re: encryption failed!

Posted: 2010-09-20T20:17:02-07:00
by magick
Add -type truecolor to your encryption command line:
  • convert message.gif -encipher pass_phrase.txt -depth 8 -type truecolor message_hidden.png

Re: encryption failed!

Posted: 2010-09-20T22:04:59-07:00
by anthony
I see png will now output png8 is image is type palette.

Understood. thank you for the clarification.