[Gimp-user] publish to Flickr, Picasaweb from Gimp - a python plugin

2007-11-29 Thread Jayesh Salvi
Hi,

I would like to announce this plugin I wrote to upload jpeg/gif images to
Flickr or Picasaweb accounts right from the Gimp menu.

Get it from here: http://code.google.com/p/altcanvas/wiki/GimpPublishr

I have received positive response from several Flickr groups and
Gimptalk.com users. I hope you find it useful too.

Let me know if you like it.

Cheers!
Jayesh
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] publish to Flickr, Picasaweb from Gimp - a python plugin

2007-12-01 Thread Jayesh Salvi
Thanks Owen.

From the feedback on IRC, I have added this to plugin registry. Here is a
link:
http://registry.gimp.org/plugin?id=11348

Thanks,
Jayesh

On Nov 30, 2007 12:13 AM, Owen [EMAIL PROTECTED] wrote:

  Hi,
 
  I would like to announce this plugin I wrote to upload jpeg/gif images
 to
  Flickr or Picasaweb accounts right from the Gimp menu.
 
  Get it from here: http://code.google.com/p/altcanvas/wiki/GimpPublishr
 
  I have received positive response from several Flickr groups and
  Gimptalk.com users. I hope you find it useful too.
 
  Let me know if you like it.


 Thank you,

 It worked first up on PicasaWeb and Flickr

 Well done and hope you keep going on adding the extras


 All the best


 Owen


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] publish to Flickr, Picasaweb from Gimp - a python plugin

2007-12-23 Thread Jayesh Salvi
Hi guys, check out the new improved version (0.3) of this plugin.

On Dec 1, 2007 1:23 PM, Jayesh Salvi [EMAIL PROTECTED] wrote:

 Thanks Owen.

 From the feedback on IRC, I have added this to plugin registry. Here is a
 link:
 http://registry.gimp.org/plugin?id=11348

 Thanks,
 Jayesh


 On Nov 30, 2007 12:13 AM, Owen [EMAIL PROTECTED] wrote:

   Hi,
  
   I would like to announce this plugin I wrote to upload jpeg/gif images
  to
   Flickr or Picasaweb accounts right from the Gimp menu.
  
   Get it from here: http://code.google.com/p/altcanvas/wiki/GimpPublishr
  
   I have received positive response from several Flickr groups and
   Gimptalk.com users. I hope you find it useful too.
  
   Let me know if you like it.
 
 
  Thank you,
 
  It worked first up on PicasaWeb and Flickr
 
  Well done and hope you keep going on adding the extras
 
 
  All the best
 
 
  Owen
 
 

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] random plugin loading problem

2008-02-09 Thread Jayesh Salvi
Hi,

I wrote a plugin few days back
(GimpPublishrhttp://code.google.com/p/altcanvas/wiki/GimpPublishr)
to publish images to Flickr/Picasa. It was tried by many and I had received
various complaints about plugin not getting loaded, even after deploying in
right directory. In some cases they had hit a bug in plugin which would
prevent Gimp from loading the plugin. In recent versions I fixed some bugs
in the plugin and put a top level try-except block with a crash report
dialog, so that any bug in plugin won't go unnoticed silently.

But even after that I kept hearing few cases where users won't see the
plugin loaded and still won't get any crash report.

Today I started working on the same plugin again after some gap. Today I
tried it under two different installations of Gimp - on my Fedora 8 desktop
and in a Ubuntu VM. I am running same version of Gimp at both places, using
same plugin files. Interestingly, the plugin doesn't load in my ubuntu VM,
but it does in my Fedora 8 desktop. I cleaned my $HOME/.gimp-2.4 directory
multiple times, but same result.

Note these observations:
1) I also noticed that when the plugin gets loaded successfully on my fedora
box, the $HOME/.gimp-2.4/pluginrc file gets modified and I see following
entry appended to it:
(plug-in-def /home/jayesh/.gimp-2.4/plug-ins/publishr.py 1202602069

I don't see that happening on Ubuntu VM.

2) On BOTH the systems, when the Gimp splash image is diplaying the plugins
it is loading at startup, I DO SEE publishr.py (my plugin file) being
loaded. But I doubt that the register() function gets called in the ubuntu
case. I put a deliberate raise Exception just before register() function,
however it doesn't make any difference.

Both are running same gimp version.
$ gimp --version
GNU Image Manipulation Program version 2.4.0-rc3

The dump of gimprc is same on both systems (except for the web-browser
parameter). For Fedora 8 it is as follows.

$ gimp --dump-gimprc
# Dump of the GIMP default configuration

(temp-path ${gimp_dir}/tmp)
(swap-path ${gimp_dir})
(num-processors 1)
(tile-cache-size 1024M)
(interpolation-type cubic)
(plug-in-path ${gimp_dir}/plug-ins:${gimp_plug_in_dir}/plug-ins)
(module-path ${gimp_dir}/modules:${gimp_plug_in_dir}/modules)
(interpreter-path
${gimp_dir}/interpreters:${gimp_plug_in_dir}/interpreters)
(environ-path ${gimp_dir}/environ:${gimp_plug_in_dir}/environ)
(brush-path ${gimp_dir}/brushes:${gimp_data_dir}/brushes)
(brush-path-writable ${gimp_dir}/brushes)
(pattern-path ${gimp_dir}/patterns:${gimp_data_dir}/patterns)
(pattern-path-writable ${gimp_dir}/patterns)
(palette-path ${gimp_dir}/palettes:${gimp_data_dir}/palettes)
(palette-path-writable ${gimp_dir}/palettes)
(gradient-path ${gimp_dir}/gradients:${gimp_data_dir}/gradients)
(gradient-path-writable ${gimp_dir}/gradients)
(font-path ${gimp_dir}/fonts:${gimp_data_dir}/fonts)
(default-brush Circle (11))
(default-pattern Pine)
(default-palette Default)
(default-gradient FG to BG (RGB))
(default-font Sans)
(global-brush yes)
(global-pattern yes)
(global-palette yes)
(global-gradient yes)
(global-font yes)
(default-image
(width 420)
(height 300)
(unit pixels)
(xresolution 72.00)
(yresolution 72.00)
(resolution-unit inches)
(image-type rgb)
(fill-type background-fill)
(comment Created with GIMP))
(default-grid
(style intersections)
(fgcolor (color-rgba 0.00 0.00 0.00 1.00))
(bgcolor (color-rgba 1.00 1.00 1.00 1.00))
(xspacing 32.00)
(yspacing 32.00)
(spacing-unit inches)
(xoffset 0.00)
(yoffset 0.00)
(offset-unit inches))
(undo-levels 5)
(undo-size 64M)
(undo-preview-size large)
(plug-in-history-size 10)
(pluginrc-path ${gimp_dir}/pluginrc)
(layer-previews yes)
(layer-preview-size medium)
(thumbnail-size normal)
(thumbnail-filesize-limit 4M)
(install-colormap no)
(min-colors 144)
(color-management
(mode display)
(display-profile-from-gdk yes)
(display-rendering-intent perceptual)
(simulation-rendering-intent perceptual)
(display-module CdisplayLcms))
(color-profile-policy ask)
(save-document-history yes)
(transparency-size medium-checks)
(transparency-type gray-checks)
(snap-distance 8)
(marching-ants-speed 100)
(resize-windows-on-zoom no)
(resize-windows-on-resize no)
(default-dot-for-dot yes)
(initial-zoom-to-fit yes)
(perfect-mouse yes)
(cursor-mode tool-icon)
(cursor-updating yes)
(show-brush-outline yes)
(show-paint-tool-cursor yes)
(image-title-format %D*%f-%p.%i (%t, %L) %wx%h)
(image-status-format %n (%m))
(confirm-on-close yes)
(monitor-xresolution 96.00)
(monitor-yresolution 96.00)
(monitor-resolution-from-windowing-system yes)
(navigation-preview-size medium)
(default-view
(show-menubar yes)
(show-rulers yes)
(show-scrollbars yes)
(show-statusbar yes)
(show-selection yes)
(show-layer-boundary yes)
(show-guides yes)
(show-grid no)
(show-sample-points yes)
(padding-mode 

Re: [Gimp-user] random plugin loading problem

2008-02-10 Thread Jayesh Salvi
I got it, at least in my case that is.

On ubuntu gimp-python is a separate package, unlike fedora. When I 
installed gimp-python, it works.

Jayesh

Jayesh Salvi wrote:
 Hi,

 I wrote a plugin few days back (GimpPublishr 
 http://code.google.com/p/altcanvas/wiki/GimpPublishr) to publish 
 images to Flickr/Picasa. It was tried by many and I had received 
 various complaints about plugin not getting loaded, even after 
 deploying in right directory. In some cases they had hit a bug in 
 plugin which would prevent Gimp from loading the plugin. In recent 
 versions I fixed some bugs in the plugin and put a top level 
 try-except block with a crash report dialog, so that any bug in plugin 
 won't go unnoticed silently.

 But even after that I kept hearing few cases where users won't see the 
 plugin loaded and still won't get any crash report.

 Today I started working on the same plugin again after some gap. Today 
 I tried it under two different installations of Gimp - on my Fedora 8 
 desktop and in a Ubuntu VM. I am running same version of Gimp at both 
 places, using same plugin files. Interestingly, the plugin doesn't 
 load in my ubuntu VM, but it does in my Fedora 8 desktop. I cleaned my 
 $HOME/.gimp-2.4 directory multiple times, but same result.

 Note these observations:
 1) I also noticed that when the plugin gets loaded successfully on my 
 fedora box, the $HOME/.gimp-2.4/pluginrc file gets modified and I see 
 following entry appended to it:
 (plug-in-def /home/jayesh/.gimp-2.4/plug-ins/publishr.py 1202602069

 I don't see that happening on Ubuntu VM.

 2) On BOTH the systems, when the Gimp splash image is diplaying the 
 plugins it is loading at startup, I DO SEE publishr.py (my plugin 
 file) being loaded. But I doubt that the register() function gets 
 called in the ubuntu case. I put a deliberate raise Exception just 
 before register() function, however it doesn't make any difference.

 Both are running same gimp version.
 $ gimp --version
 GNU Image Manipulation Program version 2.4.0-rc3

 The dump of gimprc is same on both systems (except for the web-browser 
 parameter). For Fedora 8 it is as follows.

 $ gimp --dump-gimprc
 # Dump of the GIMP default configuration

 (temp-path ${gimp_dir}/tmp)
 (swap-path ${gimp_dir})
 (num-processors 1)
 (tile-cache-size 1024M)
 (interpolation-type cubic)
 (plug-in-path ${gimp_dir}/plug-ins:${gimp_plug_in_dir}/plug-ins)
 (module-path ${gimp_dir}/modules:${gimp_plug_in_dir}/modules)
 (interpreter-path 
 ${gimp_dir}/interpreters:${gimp_plug_in_dir}/interpreters)
 (environ-path ${gimp_dir}/environ:${gimp_plug_in_dir}/environ)
 (brush-path ${gimp_dir}/brushes:${gimp_data_dir}/brushes)
 (brush-path-writable ${gimp_dir}/brushes)
 (pattern-path ${gimp_dir}/patterns:${gimp_data_dir}/patterns)
 (pattern-path-writable ${gimp_dir}/patterns)
 (palette-path ${gimp_dir}/palettes:${gimp_data_dir}/palettes)
 (palette-path-writable ${gimp_dir}/palettes)
 (gradient-path ${gimp_dir}/gradients:${gimp_data_dir}/gradients)
 (gradient-path-writable ${gimp_dir}/gradients)
 (font-path ${gimp_dir}/fonts:${gimp_data_dir}/fonts)
 (default-brush Circle (11))
 (default-pattern Pine)
 (default-palette Default)
 (default-gradient FG to BG (RGB))
 (default-font Sans)
 (global-brush yes)
 (global-pattern yes)
 (global-palette yes)
 (global-gradient yes)
 (global-font yes)
 (default-image
 (width 420)
 (height 300)
 (unit pixels)
 (xresolution 72.00)
 (yresolution 72.00)
 (resolution-unit inches)
 (image-type rgb)
 (fill-type background-fill)
 (comment Created with GIMP))
 (default-grid
 (style intersections)
 (fgcolor (color-rgba 0.00 0.00 0.00 1.00))
 (bgcolor (color-rgba 1.00 1.00 1.00 1.00))
 (xspacing 32.00)
 (yspacing 32.00)
 (spacing-unit inches)
 (xoffset 0.00)
 (yoffset 0.00)
 (offset-unit inches))
 (undo-levels 5)
 (undo-size 64M)
 (undo-preview-size large)
 (plug-in-history-size 10)
 (pluginrc-path ${gimp_dir}/pluginrc)
 (layer-previews yes)
 (layer-preview-size medium)
 (thumbnail-size normal)
 (thumbnail-filesize-limit 4M)
 (install-colormap no)
 (min-colors 144)
 (color-management
 (mode display)
 (display-profile-from-gdk yes)
 (display-rendering-intent perceptual)
 (simulation-rendering-intent perceptual)
 (display-module CdisplayLcms))
 (color-profile-policy ask)
 (save-document-history yes)
 (transparency-size medium-checks)
 (transparency-type gray-checks)
 (snap-distance 8)
 (marching-ants-speed 100)
 (resize-windows-on-zoom no)
 (resize-windows-on-resize no)
 (default-dot-for-dot yes)
 (initial-zoom-to-fit yes)
 (perfect-mouse yes)
 (cursor-mode tool-icon)
 (cursor-updating yes)
 (show-brush-outline yes)
 (show-paint-tool-cursor yes)
 (image-title-format %D*%f-%p.%i (%t, %L) %wx%h)
 (image-status-format %n (%m))
 (confirm-on-close yes)
 (monitor-xresolution 96.00)
 (monitor-yresolution 96.00)
 (monitor-resolution

[Gimp-user] publishr 0.5 - publish to Flickr/Picasa from Gimp/Inkscape

2008-02-17 Thread Jayesh Salvi
Hi all,

I have put up next version of the publishr plugin that uploads images to
Flickr/Picasaweb right from Gimp menu.

Download it from here http://code.google.com/p/altcanvas/downloads/list.

More info on wiki http://code.google.com/p/altcanvas/wiki/GimpPublishr.
Changelog for 0.5
herehttp://code.google.com/p/altcanvas/wiki/PublishrChangelog
.

This has some improvements in GUI to speedup the process of upload. Also it
has several bug fixes based on crash reports submitted in last version
(Thanks for submitting the crash reports, they were very helpful).

Give it a shot! Any comments and suggestions are welcome.

Cheers!
Jayesh

P.S. If you do not see the Publish to web option in menu even after
deploying the plugin and do not get any crashes either, make sure that Gimp
python is installed. One check to verify that is checking existence of
python directory in your Gimp installation directory (On windows C:\Program
Files\GIMP-2.0\lib\gimp\2.0\python, on Linuxes
/usr/lib[64]/gimp/2.0/python/). If it's not installed the plugin never gets
invoked (even though it shows up in startup splash screen) so it cannot
report that problem.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user