Hi there!

I'd like to encode/decode base 64 images.

I tried to use QByteArray::fromBase64(), but there is a problem : when run it on
(in one line)

Qt Code:
  1. R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwyGHhS
  2. WpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/De
  3. uNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJ
  4. lZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEeww
  5. cLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PHhhx4dbgYKAAA7
To copy to clipboard, switch view to plain text mode 

it returns :
Qt Code:
  1. u«Z?f {úg¶¬{®"T?ÃB???
To copy to clipboard, switch view to plain text mode 

I compared with other tools that can convert base 64 images, and it is not correct.

Any idea