256 is a bit arbitrary here, but dumping a huge data uri to your log file is probably not very useful