logo       

Re: No way to save files of type ".jpg" (Patch included): msg#00130

gnome.apps.f-spot

Subject: Re: No way to save files of type ".jpg" (Patch included)


Sorry,

i forgot to append the patch in the right format.


so long
jens


* Thus spake Jens Grunert (jens.grunert@xxxxxx):
>
> Hi people,
>
> i'm new to this list, so excuse me if this topic was handled before.
>
> Sometimes i had problems to upload picture to picasaweb. The following
> exception was thrown:
>
> System.NotImplementedException: No way to save files of type ".jpg"
> at FSpot.Filters.ResizeFilter.Convert (System.String source, System.String
> dest) [0x00000]
> at FSpot.Filters.FilterSet.Convert (System.String source, System.String
> dest) [0x00000]
> at FSpot.GoogleExport.Upload () [0x00000]
>
>
> So what's the problem? The problem are files with the extension .JPG (btw.:
> .jpg works).
> I think the problem is the Method:
>
> public static string TempPath (string name, string extension){}
>
> The Method handles only .jpg files! Btw: Why is the extension hardcoded?
> When you use the Method System.IO.Path.GetExtension() to get the extension
> everything works fine.
>
> So this Patch does the trick for me:
>
> ---- snip ----
> 193c193,195
> <
> ---
> >
> > // FIXME the input extension is not used.
> > // // Get the real extension (case sensitive!)
> 195a198
> > string realextension = System.IO.Path.GetExtension
> > (name);
> 197c200,201
> < string imgtemp = temp + "." + extension;
> ---
> > //string imgtemp = temp + "." + extension;
> > string imgtemp = temp + "." + realextension;
> ---- snip ----
>
>
> So long,
> Jens
>

Attachment: imagefile.patch
Description: Text document

Attachment: pgp83frXezewq.pgp
Description: PGP signature

_______________________________________________
F-spot-list mailing list
F-spot-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/f-spot-list
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise