Are you sure that you did not do an auto-format?
To prevent the auto-formatter from touching a piece of code you can use the // clang-format off and // clang-format on
some code
// clang-format off
your bitmap here will not be touched
// clang-format on
some more code
There does not seem to be a way to do it with a configuration.