Lines Matching defs:mimetype
148 wxImage::wxImage( const wxString& name, const wxString& mimetype, int index )
150 LoadFile( name, mimetype, index );
159 wxImage::wxImage( wxInputStream& stream, const wxString& mimetype, int index )
161 LoadFile( stream, mimetype, index );
2043 const wxString& WXUNUSED_UNLESS_STREAMS(mimetype),
2051 return LoadFile(bstream, mimetype, index);
2102 const wxString& WXUNUSED_UNLESS_STREAMS(mimetype) ) const
2114 return SaveFile(bstream, mimetype);
2240 bool wxImage::LoadFile( wxInputStream& stream, const wxString& mimetype, int index )
2246 wxImageHandler *handler = FindHandlerMime(mimetype);
2250 wxLogWarning( _("No image handler for type %s defined."), mimetype.GetData() );
2257 wxLogError(_("Image file is not of type %s."), (const wxChar*) mimetype);
2279 bool wxImage::SaveFile( wxOutputStream& stream, const wxString& mimetype ) const
2283 wxImageHandler *handler = FindHandlerMime(mimetype);
2286 wxLogWarning( _("No image handler for type %s defined."), mimetype.GetData() );
2388 wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype )
2394 if (handler->GetMimeType().IsSameAs(mimetype, false)) return handler;