Merge "fix(tools): change data type to size_t for doimage" into integration