collecting_society_web.services package¶
Submodules¶
collecting_society_web.services.lossless_audio_formats module¶
collecting_society_web.services.picture_processing module¶
- collecting_society_web.services.picture_processing.picture_processing(fp)[source]¶
normalizes an image and creates a thumbnail
- Parameters:
fp (C filepointer) – input file, the image is stored in
- Returns quadrupel:
string: error message, if a problem occured, otherwise success byte buffer: picture data byte buffer: thumbnail data string: mimetype of the picture data