Re: f-spot and bitmap importing



Hi Paul and Dotan,

Do you really have PHOTOS in bmp :) ?

If you really do, here's a patch (attached) to handle bmp

On Wed, 2006-10-11 at 23:54 +0200, Dotan Cohen wrote:
> On 10/10/06, pab <p_barnick rogers com> wrote:
> > just wondering if anyone else has had problems importing bmp (bitmap)
> > files into f-spot?  i cannot do it, although jpgs work well.  i'm using
> > dapper with  f-spot 0.1.11.  any ideas?  thanks,
> >
> > paul
> >
> 
> I just put a single bmp in a directory, and tried to import the
> directory. It would not import. I'm on F-Spot 0.2.1 built from CVS.
> 
> Dotan Cohen
> 
> http://what-is-what.com/
> http://song-lirics.com/
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list
> 
-- 
Stephane Delcroix
stephane delcroix org
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/f-spot/ChangeLog,v
retrieving revision 1.1626
diff -u -p -r1.1626 ChangeLog
--- ChangeLog	12 Oct 2006 03:33:24 -0000	1.1626
+++ ChangeLog	12 Oct 2006 08:44:02 -0000
@@ -1,3 +1,7 @@
+2006-10-12  Stephane Delcroix  <stephane delcroix org>
+
+	* src/ImageFile.cs: Handle .bmp files.
+
 2006-10-11  Gabriel Burt  <gabriel burt gmail com>
 
 	* src/PhotoStore.cs: Ensure hidden photos not selected only if the
Index: src/ImageFile.cs
===================================================================
RCS file: /cvs/gnome/f-spot/src/ImageFile.cs,v
retrieving revision 1.34
diff -u -p -r1.34 ImageFile.cs
--- src/ImageFile.cs	8 Oct 2006 02:41:16 -0000	1.34
+++ src/ImageFile.cs	12 Oct 2006 08:44:02 -0000
@@ -45,6 +45,7 @@ namespace FSpot {
 			name_table = new System.Collections.Hashtable ();
 			name_table [".svg"] = typeof (FSpot.Svg.SvgFile);
 			name_table [".gif"] = typeof (ImageFile);
+			name_table [".bmp"] = typeof (ImageFile);
 			name_table [".jpeg"] = typeof (JpegFile);
 			name_table [".jpg"] = typeof (JpegFile);
 			name_table [".png"] = typeof (FSpot.Png.PngFile);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]