Re: [Gimp-developer] Enhancement - Diagonal line crop guide

2007-11-11 Thread Tim Jedlicka
Martin Nordholts wrote:
* Tim Jedlicka wrote:**
**
** I stumbled upon this link describing the use of the Diagonal (45 degree
** diagonal from each corner of an image) as the optimum crop guide (better
** than rule-of-thirds or golden rule).
...
*

 Oops, it of course depends on portrait or landscape which line you hit
 first. I think you will have to throw in an if there.

I figured out a way to avoid the if statement. However, I don't know which
method would be more efficient. i.e. should I try to avoid the if? These
diagonal crop guides are very dynamic as you change your crop rectangle so I
don't want to bog down the rendering. Just need some guidance on which route
to take. I'll then have some follow up questions since I am not much of a
coder (I'll do this off list unless directed otherwise).

gimpregionselecttool.c has this bit of code when selecting a region:
  /* don't let the events come in too fast, ignore below a delay of 100 ms
*/
  if (time - last_time  100)
return;

  last_time = time;

  diff_x = coords-x - region_sel-x;
  diff_y = coords-y - region_sel-y;

  diff = ((ABS (diff_x)  ABS (diff_y)) ? diff_x : diff_y) / 2.0;

So there if doesn't look like it is too costly.

The way I came up with to avoid the if is (pseudo code):

X = x2-x1
Y = y2-y1
Z = [(X + Y) - ABS (X - Y)] / 2
So the upper left diagonal would go from x1,y1 to (x1 + Z), (y1 + Z)

Any advice on which way to implement?
-- 
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Enhancement - Diagonal line crop guide

2007-11-06 Thread Tim Jedlicka
(repost - got lost somewhere the first time)

I stumbled upon this link describing the use of the Diagonal (45 degree
diagonal from each corner of an image) as the optimum crop guide (better
than rule-of-thirds or golden rule).

http://www.diagonaalmethode.nl/

I hacked together a patch to add the Diagonal crop guide. So, should I open
an enhancement bugzilla and include the patch? My patch isn't perfect -
hence posting here since it requires some discussion. If the crop box is a
portrait, then it works, if landscape (X  Y) then the guides extend beyond
the crop rectangle. I don't know how to fix this cleanly (using an if
statement doesn't seem efficient).

Any guidance (on or off list) would be appreciated. Thanks...Tim

-- 
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com

Patch against gimp-2.4.1

--- gimprectangletool.c  2007-11-05 00:37:39.0 -0600
+++ gimprectangletool.c.diag 2007-11-05 17:06:49.0 -0600
@@ -1746,6 +1746,25 @@ gimp_rectangle_tool_draw_guides (GimpDra
 ((1 + SQRT5) * x1 + 2 * x2) / (3 + SQRT5),
 y2, FALSE);
   break;
+
+case GIMP_RECTANGLE_GUIDE_DIAGONAL:
+  gimp_draw_tool_draw_line (draw_tool,
+x1,y1,
+x2,y1 + (x2 - x1),
+FALSE);
+  gimp_draw_tool_draw_line (draw_tool,
+x1,y2,
+   x2,y2 - (x2 - x1),
+FALSE);
+  gimp_draw_tool_draw_line (draw_tool,
+x2,y1,
+   x1,y1 + (x2 - x1),
+FALSE);
+  gimp_draw_tool_draw_line (draw_tool,
+   x2,y2,
+   x1,y2 - (x2 - x1),
+FALSE);
+  break;
 }
 }

--- tools-enums.h   2007-11-05 16:56:47.0 -0600
+++ tools-enums.h.diag  2007-11-05 16:57:56.0 -0600
@@ -45,7 +45,8 @@ typedef enum
   GIMP_RECTANGLE_GUIDE_NONE,  /* desc=No guides   */
   GIMP_RECTANGLE_GUIDE_CENTER_LINES,  /* desc=Center lines*/
   GIMP_RECTANGLE_GUIDE_THIRDS,/* desc=Rule of thirds  */
-  GIMP_RECTANGLE_GUIDE_GOLDEN /* desc=Golden sections */
+  GIMP_RECTANGLE_GUIDE_GOLDEN, /* desc=Golden sections */
+  GIMP_RECTANGLE_GUIDE_DIAGONAL /* desc=Diagonal lines */
 } GimpRectangleGuide;

--- tools-enums.c   2007-11-05 16:56:38.0 -0600
+++ tools-enums.c.diag  2007-11-05 16:59:07.0 -0600
@@ -50,6 +50,7 @@ gimp_rectangle_guide_get_type (void)
 { GIMP_RECTANGLE_GUIDE_CENTER_LINES,
GIMP_RECTANGLE_GUIDE_CENTER_LINES, center-lines },
 { GIMP_RECTANGLE_GUIDE_THIRDS, GIMP_RECTANGLE_GUIDE_THIRDS, thirds
},
 { GIMP_RECTANGLE_GUIDE_GOLDEN, GIMP_RECTANGLE_GUIDE_GOLDEN, golden
},
+{ GIMP_RECTANGLE_GUIDE_DIAGONAL, GIMP_RECTANGLE_GUIDE_DIAGONAL,
diagonal },
 { 0, NULL, NULL }
   };

@@ -59,6 +60,7 @@ gimp_rectangle_guide_get_type (void)
 { GIMP_RECTANGLE_GUIDE_CENTER_LINES, N_(Center lines), NULL },
 { GIMP_RECTANGLE_GUIDE_THIRDS, N_(Rule of thirds), NULL },
 { GIMP_RECTANGLE_GUIDE_GOLDEN, N_(Golden sections), NULL },
+{ GIMP_RECTANGLE_GUIDE_DIAGONAL, N_(Diagonal lines), NULL },
 { 0, NULL, NULL }
   };
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Negative Press

2007-11-03 Thread Tim Jedlicka

 Contrast the GIMP UI redesign with the GIMP project as a whole, which
 invites and receives patches, bug reports, and ideas from scores of
 outsiders.


The focus was on the UI redesign, not GIMP. In fact the quote above
compliments GIMP (but at the UI redesign's expense).
-- 
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Adjustment Layers - How can I Help?

2007-10-07 Thread Tim Jedlicka
On 10/7/07, Andrew Young [EMAIL PROTECTED] wrote:

 I have been an avid Gimp user for a number of years. I have always wished
 Gimp supported non-destructive image adjustments such those available with
 Photoshop adjustment layers. ... Is anyone looking for a new feature to
 work on and would be interested in helping me?


http://www.gegl.org/#Features
Bullet item number 2.

Features

   - 8bit, 16bit integer and 32bit floating point, RGB, CIE Lab, and
   Y'CbCr output.
   - Non destructive editing
   - C, C# http://www.gegl.org/gegl-sharp/,
Pythonhttp://www.gegl.org/pygegl/and
   Ruby http://www.gegl.org/rgegl/ interfaces.
   - Extendable through plug-ins.
   - XML serialization format (not-finalized)
   - Iterative processing.



-- 
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Print Dialog - Seg faults in 2.4RC1

2007-08-26 Thread Tim Jedlicka
When I select the Print button, I get a segmentation fault:
/opt/gimp-2.4/lib/gimp/2.0/plug-ins/print: fatal error: Segmentation fault

I'm guessing I'm missing something basic. I downloaded and compiled gtk+-
2.10.13, then compiled gimp2.4rc1 with PKG_CONFIG_PATH set to include the
gtk2.10.13 package.

Anything obvious I should check.
-- 
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] ANNOUNCE: GIMP 2.3.19 development release

2007-07-25 Thread Tim Jedlicka

On 7/25/07, Sven Neumann [EMAIL PROTECTED] wrote:


gimp-2.3.19 bas been uploaded to ftp://ftp.gimp.org/pub/gimp/v2.3.
Changes in GIMP 2.3.19
==



Great! - looks like 2.4 is getting closer. Is there a hard dependency on
GTK+ 2.10.13?
I run Ubuntu 7.04 (Feisty) which unfortunately is still on libgtk2.0-dev
2.10.11. I know this isn't GIMP's issue, but if 2.4 is imminent then a
dependency on GTK 2.10.13 might cause a delay in getting it out to at least
one major distribution. I'm not clear how the upstream/downstream provider
works out the dependencies but the 2.10.13 dependency MIGHT cause a delay in
adoption of GIMP 2.4. Not trying to start a distribution/dependency flame
war, just pointing out the dependency. (Yes, I know it isn't GIMP's problem.
Yes, I know it is my problem. Yes,..)

I checked out pinning (debian-speak for installing select packages outside
the official distribution) but it required 46 updates - including a libc6
update. Hesitant to do this on my primary machine. Here's hoping for a
backport.

--
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] gimp 2.3.13

2006-12-02 Thread Tim Jedlicka

Just downloaded gimp 2.3.13. Thanks for the work on the crop tool. It just
keeps getting better and better in my opinion. The dynamic resizing borders
are a neat idea.

--
Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Re: Are @gimp.org aliases needed at all?

2006-09-28 Thread Tim Jedlicka
On 9/28/06, Manish Singh [EMAIL PROTECTED] wrote:
I don't get where the expectation that postings from gimp.org addressesshould be considered as anything but the individual _expression_ of theauthor. Expecting a volunteer organization to have a rigid public face
is ridiculous.When I initially joined the list several years ago I was disappointed in the attitude of one/some gimp.org posters because I thought they were in some way associated with the project. There was too much noise and disrespect so I left the list because of it (but have since re-joined).
Personally I don't think it is an unreasonable expectation that someone with a gimp.org email is associated with the project. It may be ridiculous to expect a rigid public face, but I think the public should expect the project to have a respectable face. 
Can we please stop cluttering the development mailing list with thisnow?
The project has a problem. Several people have pointed out the problem. Although not explicitly stated, I would think the purpose of the developer list is to discuss project issues.-- Tim Jedlicka, Network Entomologist
[EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] ANNOUNCE: GIMP 2.3.11 Development Release

2006-09-08 Thread Tim Jedlicka
Very cool. Thanks for the updated tarball. I got to update information
on one of my bugs, found a new bug, and tried out the new healing tool
- the quick playing I did with it was pretty amazing! Great job - when
you/we release 2.4 I think a lot of people will be impressed with the
progress made.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Re: rectangle select tool specification

2006-08-14 Thread Tim Jedlicka
On 8/14/06, Sven Neumann [EMAIL PROTECTED] wrote:
(2)to enlarge the handles and to make only the handles grabbable(3)to add another handle in the center for moving the selection
Why make only the handles grabbable? I don't understand the harm in having all edges grabbable.
This is especially true for the center handle. Take the user case where
I make a selection but now want to fine tune the placement of the
selection (i.e. I want to fine tune the placement of the SW corner). If
I zoom the image such that the center handle is no longer displayed I
have no way of moving the selection.-- Tim Jedlicka, [EMAIL PROTECTED], http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-11 Thread Tim Jedlicka
On 8/11/06, Kevin Cozens [EMAIL PROTECTED] wrote:
One feature I miss about the current crop tool is something I'm used to fromthe 2.2 GIMP. I have a habit of using the selection tool to mark a regionthen, when I pick the crop tool, use the From Selection option to set the
crop limits based on the currently active selection.I suppose I could get used to not having this option in the tool box (or amenu item to do the same thing) but it would be a nice feature to have back.
Doesn't this essentially do this for you? I may not fully understand what you are attempting, but you can click inside the current selection, adjust selection/crop then do a Image-Crop to crop the image from the selection. 
you click insidean existing selection, then a new, modifiable rectangular selection is
created, whose bounds are just large enough to completely enclose theprevious selection.-- Tim Jedlicka, [EMAIL PROTECTED], 
http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-10 Thread Tim Jedlicka
First thanks for the new tool - it is growing on me. I love the highlight and the 3rds guides. I resisted using it until 2.3.10 but have used it for about 100 images now. The rect. select is the one tool I use on every image.
Not sure if you want a bug report (another bug report?) on the aspect ratio - but this still needs some clarified requirements or usage studies - what is the recommended way of cropping to standard aspect ratios? How do I easily go from 2:3 to 3:2? Many of these issues have already been discussed/debated - we just need to pull them together.
The interaction of the fixed width, height, and aspect ratio don't work as I expect. Should I open bug reports or can you clarify if/how they should interact. i.e. if I enter a height and width, should the aspect ratio automatically recalculate - does it matter if any of the three are checked or not?
Rectangle controls are always in pixels (except for XY coords.) even if the default unit of measure is inches - is this intended. Not a problem for me, but might be an issue for some.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] feature request

2006-07-03 Thread Tim Jedlicka
On 7/2/06, Marco Ciampa [EMAIL PROTECTED] wrote:
When I use GIMP, if I temporarly open another program, when I want to returnto GIMP, I have to manually re-clic on to every gimp windows (toolbox,images,layers, etc.) that I covered with the windows of the other program
Why not to bring all the GIMP windows up over all the others windows when Iclic on to one of the many GIMP windows?This behaviour could be disabled by default in the preference window ifyou find it too much customized.
While in the image window - try a Shift-Tab (it may just be my window manager (gnome/gdm)), but this works well for me.-- Tim Jedlicka, [EMAIL PROTECTED]
, http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] mock ups for vanishing point

2006-05-31 Thread Tim Jedlicka
Pedro,In the 2nd mockup, it didn't look like one could resize the perspective selection. Will there be center anchors to easily resize the perspective? Or better yet (I think) have the perspective apply to the whole image. 
i.e. select the perspective from a small section of the image. Then borrowing on Jakub's suggestion, have multiple perspective definitions as in the path tool. Perhaps enhance the path tool with an option for a path to be declared a perspective definition. Is what I'm getting at clear? If not I could try a mock up myself.
Jakup - wouldn't it be easier to move the door first - then take the picture? *grin*
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Gimp connotations ?

2006-05-14 Thread Tim Jedlicka
Also, Gimp == cripple, pejorative (sometimes derogatory, insulting, bad) term for someone with a disability - i.e. After twisting his ankle, he sure is a gimp.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] RFC: three questions for the LXF article

2006-05-10 Thread Tim Jedlicka
I don't know the nature of your magazine/article. But you might consider7. Non-code contributors. If the goal is to get people involved, it never hurts to address those who can write plugins, tutorials, documentation,...

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


Re: [Gimp-developer] Plea for a new interface...

2006-04-02 Thread Tim Jedlicka
 If you truely think that my intervention was useless I apologize
because I made you waste your time.You took the time to create a screen mock-up (example). You are in the minority, so thank you. However, I'm just a long time user and occasional bug reporter so my thank you carries less weight than the developers (IMHO), but don't be discouraged or overly sensitive about the reaction to your suggestion by some on this list.
You did not waste my time. I enjoyed your screen mockups - it made it very easy for me to understand your concept. On the other hand - others used to waste my time so much with their righteous indignation that I dropped off the list for a while. They have since toned down their rhetoric and I rejoined the list with a better understanding of the personalities.
All projects (that want to grow or survive) need new blood, even if they rehash old arguements.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] crash after saving tif

2006-03-24 Thread Tim Jedlicka
On 3/24/06, Roberto Winter [EMAIL PROTECTED] wrote:
as i saved a file just now gimp crashed. i had it built from cvs some 10 days ago (gcc 3.3.5).i'm using debian unstable, e16 window manager, nvidia drivers 8178 on xorg and kernel 

2.6.13.1
*** glibc detected *** corrupted double-linked list: 0x0a86a390 ***

/opt/gimp/bin/gimp-2.3: terminated: Aborted(script-fu:4033): LibGimpBase-WARNING **: script-fu: wire_read(): error
Don't know if this is your problem but I saw something similiar a long while back. Turned out I ran out of swap space. Confirm that your swap is functioning (via top or various other methods). 

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


Re: [Gimp-developer] Thanks developers

2006-03-23 Thread Tim Jedlicka
On 3/23/06, Simon Roberts [EMAIL PROTECTED] wrote:
1) Making the interface just like photoshop seems like a foolserrand. I've always viewed the arguement analogous to English versus Spanish (or pick your favorite language). Photoshop may be like English (lots of people use it), but why would you argue that Spanish speakers should put their adjectives before their nouns... Words have a sense of gender in Spanish, but not English - that's OK. Both work, have different rules, and different ways of doing things, but the both ultimately allow you to communicate.

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


[Gimp-developer] gimp 2.3.6

2005-12-19 Thread Tim Jedlicka
http://developer.gimp.org/NEWS references gimp 2.3.6, but I can't find
the snapshot on the mirrors. Is this just what to expect in 2.3.6 once
it becomes available? Would also be nice to add a last changed date
to that particular page. Thanks.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer