Re: [Gimp-user] Save for Web for GIF Animations?

2013-08-29 Thread Kevin Brubeck Unhammer
On a somewhat related note, https://gist.github.com/unhammer/6376239 is
a tiny command-line (bash 4) script that creates animated SVG's from
whatever images you feed it. Might be useful (I've gotten smaller size
images with better colours than GIF can give with it).

-- 
Kevin Brubeck Unhammer

Never attribute to malice that which is adequately explained by
incompetence or laziness.


pgpT0w7I5wj66.pgp
Description: PGP signature
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] help me please

2013-08-29 Thread Ofnuts

On 08/28/2013 07:54 AM, Gunold Brunbauer wrote:
Its very easy: You need two photos: photo 1 of shows the interior, 
photo 2 shows the exterior.


And of course these two photos should have have exactly the same 
geometry (camera on stand, cars positioned with millimeter accuracy...). 
The photo editing is very simple but the whole thing requires a lot of 
pre-production...



You open phot0 1. Now you open photo 2 as a layer.
In the layer-window right-click on the ölayer fo phot 2. Choose: Add 
alpha channel
Now choose the eraser-tool an wipe out the parts of photo 2 where you 
want to the the interior 


___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Error on run Deskew plugin from Python-Fu

2013-08-29 Thread Joao S. O. Bueno
Hi Ramon -
If you add any error mesage that show up in the console when you make
this call,
it would help you, and others to understand what is going on.

Otherwise,  since the plug-in is not part of GIMP itself, if you have
no further anser here, you might try
to contact the plug-in author directly.



On 28 August 2013 07:02, Ramon Valdez ramonvald...@yahoo.com wrote:
 I would like to run the (great!) Deskew plugin from the Python-Fu console, 
 info: http://registry.gimp.org/node/2958
 I'm a very GIMP Python-Fu beginner, so i followed what user asperge did in 
 the post shown above (tested-working Script-Fu batch version):
 get the image (active image), get the drawable (active layer) and finally run 
 plugin deskew_plugin.
 I put deskew.exe in the GIMP plugin folder, i opened GIMP, i loaded an image, 
 then in the Python-Fu console i wrote:

 image=gimp.image_list()[0]
 drawable=image.active_layer
 pdb.gimp_deskew_plugin(image, drawable, 0, 0, 0, 0, 0)

 I get this error:

 Traceback (most recent call last):
 File , line 1, in
 RuntimeError: calling error

 The working Script-Fu calling was:
 (gimp-deskew-plugin 0 image drawable 0 0 0 0 0)
 The only difference from the asperge's Script-Fu working version is that in 
 my Phyton version there's no 0 before image.
 I guess it's the run mode parameter.  If i try to insert it, i have an 
 error for too much parameters:

 Traceback (most recent call last):
 File , line 1, in
 TypeError: wrong number of parameters

 I would really appreciate any help.
 Thankyou!
 (Windows 8 64 bit, GIMP 2.8.6)
 ___
 gimp-user-list mailing list
 List address:gimp-user-list@gnome.org
 List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Layer Opacity Access Point(s) Madness

2013-08-29 Thread PSCS5ImagerConvert
GIMP: Opacity Access Obscurity  
I. Would-be Satisfied User Question 
   
II. System Feature Access Change Request | Recommendation, for GIMP SMEs and
Online Enthusiasts' Forum:
Maddening | Urgent Help Request:
I. Apparent is no navigational work-around for a lost, deleted (or simply no
included/provided) Layer Opacity access feature ... at least in my version of
GIMP v. 2.8.6; ie, I cannot locate among the application's Primary tabs any
tab/sub-tab/path/palette link/hot button/menu/sub-menu/relevant-other-tab/data
entry field prompt | window/mini-portal, to a much desired
{ASIDE 1 of 2: albeit often one such Layer Opacity tool is readily referenced in
several of the extant online tutorials  as a given, and it is, too, often
depicted, replete with a supporting screenshot, no less: so the feature must
exist  perhaps commanded by hidden access privilege(s) somehow, somewhere
within GIMP ... for some users, at least ;-)}:
GIMP | GUI  Other Layer Opacity Access Priority Change Recommendations:
Primary Layer tab's, anticipated, Layer Opacity tool/option
tab/sub-tab/path/palette link/hot button/menu/sub-menu/relevant-other-tab/data
entry field prompt | window/mini-portal or the like access point(s) is not
found.
Its (such a Layer Opacity tool/option's form-factor would be manifest typically
as an Opacity Glider aka a selectable |adjustable progress bar; nor, for that
matter, is there evidence of any semblance of a percentage (%) transparency
scroll bar nor an expectable like prompt data-entry field, of any description,
which conceivably would execute a layer's desired fade user-specification
(opacity) aka a amiss is any Layer Opacity adjustment tool (if such does in
fact already exist) access point(s), whatsoever.
Despite CIRCULAR narratives communicated on this, GIMP's official site, and
among the posts of those others created by or in service to | contributed to by
GIMP enthusiasts, there exists no CLEAR nor MEANINGFUL ADDRESS as to how one
MAKES APPARENT aka would ACCESS ie, access point(s) for Layer Opacity: neither
by mouse clicking nor by eg, shortcut keys entry navigation/specification, for
such a Layer Opacity tool access point(s).
II. Again, when no such tab/sub-tab/path/palette link/hot
button/menu/sub-menu/relevant-other-tab/data entry field prompt |
window/mini-portal can be readily found to exist among one -- and ideally in
more than one -- access point and by more than one navigational path -- GIMP's
version (again, v. 2.8.6) is rendered effectively useless for layered imagery
work; user satisfaction spirals downward rapidly after a work-around search --
proves counter-intuitive ie, poor anticipatory GUI provisioning, or within the
application ie, its Help and/or its User Guide index, and/or among online forums
-- exceeds 5, 10, 30, 60, 120 minutes.
FIASCO is what that scenario spells: Why could GIMP's SMEs have failed on such
an imperative SDLC GUI, indexing and easy-access multi-cross-referencing
point(s) objective for this version's release?
And what, if any, work-around, for Layer Opacity tool access point(s) within the
application, for selection of a layer(s) desired opacity display aka fade level,
would be advised, if, in fact, said does exist as a viable tool (just not easily
nor readily accessed) within GIMP 2.8.6? Why the Layer Opacity access point(s)
convolution?
Welcomed would be directions as to any navigation(al) path for said Layer
Opacity tool access point(s). NONE is (access point) | are (access points)
currently apparent under GIMP's 2.8.6 banner | top-level ribbon | panel of
Primary Tabs, nor is such evident within its sub-tabs nor User Guide's Index nor
tutorials nor blogosphere.
{ASIDE 2 of 2: in fact, Layer Opacity should appear in, so addressed, in both
the very beginning of the User Guide, and then latter in the specific Layers
section  but in a more detailed explication, within the latter] nor those
tabs' secondary tabs, nor, for that matter under any tertiary-level tabs.
Primary Tabs, namely, Tools, Layer, View nor any their cross-linked sub-tabs
to other tab/sub-tab/path/palette link/hot
button/menu/sub-menu/relevant-other-tab/data entry field prompt |
window/mini-portal | option(s) | location(s) avails a sort of Layer Opacity
Adjustment tool, whatsoever.}
Lack of any easy-access point(s) aka obscure Layer Opacity (eg, a % glider)
tool(s) blemishes one's entire would-be GIMP user-experience. Address of said
shortcomings is URGENTLY needed, as recommended.
Again the question persists: Is there a reset button (virtual) and/or Command
Key Combo and/or some other keystroke Shortcut Key combo, for immediate access
point(s) for Layer Opacity specification?
If so, kindly direct me as to its access procedure: again, I am attempting to
use GIMP v. 

[Gimp-user] reconciling script-fu interactive and batch arguments

2013-08-29 Thread Gary Aitken
I have never learned / figured out / been pointed at an example
for how to properly write a script which is usable in both interactive 
and batch modes.

Let's say I have a script-fu add-on:

(define (add-watermark orgImg drw watermarkFileName relHt opacity)
...
)

(script-fu-register
  add-watermark
  Add Watermark...
  Adds a scaled, partially transparent image to an image
  Gary Aitken
  Copyright 2013, Gary Aitken
  2013-08-28 v 0.1
  
;  SF-MODE ModeRUN-INTERACTIVE  ; First arg is run mode
;  SF-STRING   Main image file   ; name of main image to modify
  SF-IMAGE Image 0 ; main image to modify
  SF-DRAWABLE  Drawable 0  ; unused
  SF-STRINGAdded image file myfile.png 
  SF-VALUE Relative (percent) height of added image  5
  SF-VALUE Opacity of added image  50
)

As written above, with the 
  SF-MODEModeRUN-INTERACTIVE
  SF-STRING  Main image file  
arguments commented out, this script works in interactive mode,
operating on the active drawable in the active image;
the first two arguments to the function (orgImg and drw) are filled in 
automagically by the gimp when the script is activated.

The only way I have figured out how to use this from batch mode is to
add another script which contains the name of the base file to process:

(define (batch-add-watermark inFileName watermarkFileName outFileName relHt 
opacity)
  (let* (
  (orgImg (car (gimp-file-load RUN-NONINTERACTIVE inFileName inFileName)))
  (drw (car (gimp-image-get-active-layer orgImg)))
)
(add-watermark orgImg drw watermarkFileName relHt opacity)
(gimp-file-save RUN-NONINTERACTIVE orgImg drw outFileName outFileName)
(gimp-image-delete orgImg)
  )
)

This works, but neither procedure is making any use of what should be 
the first argument (missing from add-watermark above but present in 
batch-add-watermark) which is the mode.

My gut says the mode is there to make this all much easier, 
but I can't figure it out.  
Can someone give me a proper explanation of how to do this,
or point me at something?

Thanks,

Gary
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list