What do you mean by a module image? You can export certain documents (e.g. the domain model) to an image using File > Export to image...
Those are images in the modeler, not the same as images in the database. So you need to save those on your local machine and then upload it in the mendix runtime
Yes,i can ,Here is my method: public static void SaveDocumentFile(REDocument document, string filePath); public static void SaveDocumentFile(BaseImage image, string filePath, BaseEncoder enc); public static void SaveDocumentFile(List<baseimage> images, string filePath, BaseEncoder enc); public static void SaveDocumentFile(REDocument document, string filePath, BaseEncoder enc);