fix heap corruption/crashes due to incorrect output rowbytes in image.cpp
fix heap corruption/crashes due to incorrect output rowbytes in image.cpp

autc04/executor,autc04/executor,autc04/executor,autc04/executor,autc04/executor,autc04/executor