RSS/Atom feed Twitter
Site is read-only, email is disabled

multiple instances of splash winners

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

multiple instances of splash winners Carol Spears 06 Dec 18:42
  multiple instances of splash winners Sven Neumann 06 Dec 19:20
   multiple instances of splash winners Carol Spears 06 Dec 20:34
  multiple instances of splash winners Joseph Heled 12 Dec 21:02
   multiple instances of splash winners Sven Neumann 12 Dec 21:11
Carol Spears
2004-12-06 18:42:41 UTC (almost 20 years ago)

multiple instances of splash winners

hi,

i have been half following this fun splash stuff. i fully admit to looking at the splash entries more than reading of the exciting plans here.

i have also been working on some avi's of the splash entries. there were so many of them that now it has been divided into a movie for each day of submissions.

i needed a solution for what happens when the panel picks one and the people pick another and Sven and mitch pick yet another one and how to handle this in these movies (that should be some what like catalogs to an art show).

the solution for this multipile winner problem makes more more interesting movies/catalogs. if the panel will pick a favorite 10 and the people pick a favorite 10 and mitch and Sven pick a favorite 10 it will make a nice little end movie of 30 good splashes.

662 splash entries!! i wonder how many were holding onto splash waiting to be that special one? this was a lot of fun.

i will let you know when the movies of the days entries are finished.

carol

Sven Neumann
2004-12-06 19:20:59 UTC (almost 20 years ago)

multiple instances of splash winners

Hi,

Carol Spears writes:

i have also been working on some avi's of the splash entries. there were so many of them that now it has been divided into a movie for each day of submissions.

Given your permission, we will show off these movies at the GIMP booth at 21C3.

Sven

Carol Spears
2004-12-06 20:34:36 UTC (almost 20 years ago)

multiple instances of splash winners

On Mon, Dec 06, 2004 at 07:20:59PM +0100, Sven Neumann wrote:

Hi,

Carol Spears writes:

i have also been working on some avi's of the splash entries. there were so many of them that now it has been divided into a movie for each day of submissions.

Given your permission, we will show off these movies at the GIMP booth at 21C3.

oh, absolutely :)

i might need to remake them with some of the names more properly printed, however.

the collection actually does so much more to show off what gimp can do than any one single image.

what fun this all has been :)

carol

Joseph Heled
2004-12-12 21:02:30 UTC (almost 20 years ago)

multiple instances of splash winners

Note/Disclaimer: I am *not* suggesting adding this "feature" into gimp. And please don't tell me I am doing something wrong or stupid or degrading gimp in any way or form.

I like many of the splash screens submitted, so I select a random one at startup. If you wish to do the same,

- create a "gimp-splash" subdirectory under ~/.gimp-2.2 - place all your favorites there
- Apply the included patch (patch -p1 < rand-splash.diff) - recompile gimp

-Joseph

*** gimp-2.2-pre2/app/gui/splash.c 2004-12-13 08:46:25.000000000 +1300 --- gimp-2.2-pre2s/app/gui/splash.c 2004-12-13 08:46:25.000000000 +1300 ***************
*** 74,92 ****

g_return_if_fail (splash == NULL);
! filename = gimp_personal_rc_file ("gimp-splash.png"); ! pixbuf = gdk_pixbuf_new_from_file (filename, NULL); ! g_free (filename);
!
! if (! pixbuf)
! {
! filename = g_build_filename (gimp_data_directory (), ! "images", "gimp-splash.png", ! NULL); pixbuf = gdk_pixbuf_new_from_file (filename, NULL); ! g_free (filename);
}

if (! pixbuf)
return;

--- 74,119 ----

g_return_if_fail (splash == NULL);
! {
! int nFiles = 0;
! GError* err;
! const char* folder = gimp_personal_rc_file("gimp-splash"); ! GDir* d = g_dir_open(folder, 0, &err); !
! filename = 0;
! if( d ) {
! srandom(time(NULL));
! G_CONST_RETURN gchar* name;
! while( (name = g_dir_read_name(d)) ) { ! if( (random() % (nFiles+1)) == 0 ) { ! filename = g_build_filename(folder, name, NULL); ! }
! ++nFiles;
! }
! g_dir_close(d);
! }
!
! if( filename ) {
pixbuf = gdk_pixbuf_new_from_file (filename, NULL); ! g_free(filename);
}
+ }

+ if (!pixbuf ) {
+ filename = gimp_personal_rc_file ("gimp-splash.png"); + pixbuf = gdk_pixbuf_new_from_file (filename, NULL); + g_free (filename);
+
+ if (! pixbuf)
+ {
+ filename = g_build_filename (gimp_data_directory (), + "images", "gimp-splash.png", + NULL);
+ pixbuf = gdk_pixbuf_new_from_file (filename, NULL); + g_free (filename);
+ }
+ }
+
if (! pixbuf)
return;

Sven Neumann
2004-12-12 21:11:02 UTC (almost 20 years ago)

multiple instances of splash winners

Hi,

Joseph Heled writes:

Note/Disclaimer: I am *not* suggesting adding this "feature" into gimp. And please don't tell me I am doing something wrong or stupid or degrading gimp in any way or form.

I like many of the splash screens submitted, so I select a random one at startup. If you wish to do the same,

- create a "gimp-splash" subdirectory under ~/.gimp-2.2 - place all your favorites there
- Apply the included patch (patch -p1 < rand-splash.diff) - recompile gimp

You don't need to apply any patch since that feature is already there. The directory is called "~/.gimp-2.2/splashes" though.

Sven