[Gimp-user] Question about involuntary resizing
Hi all, I created a headshot for a friend, but the website she's posted it on, which is essentially out of her control, does some automatic resizing. Actually, I'm not sure if the resizing occurs in the server, or on the client browser. Anyway, the original image has been offered at a variety of sizes, and every time it ends up looking granular and awful on the end user's browsers. The site admins don't know anything--they're just using a system that was written for them. I would provide a single small image resized to the final size, but I don't think that will work because a) I think the resizing is dynamic, and b) the user can click on the image to get a bigger (the unresized) image. I want the larger one to still exist and we'll lose that if we just go with a small image. Under these dreadfully sub-optimal conditions, what can I do, or what should I avoid doing, to try to ensure the resized image looks as good as it can? I should point out that other people's pictures all look better than my friend's. Not always great, to be sure, but clearly there's room to improve if I knew what to do. TIA, Simon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] New Crop tool in 2.4.1
Thanks to those who responded. Taking a look in the crop options (never really noticed them before), I found a fixed size setting which works great. Thank You. ANW Thomas J. Hart wrote: > Just double-click on the Crop icon in the toolbox and the old > information appears in box form. > > > ___ > Gimp-user mailing list > Gimp-user@lists.XCF.Berkeley.EDU > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user > ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Dislike new crop tool
Adam Wieland writes: > I liked that the box > came up showing the dimensions of your image as it was changing. I > needed this to be able to crop perfect squares. I just watch the numbers that show in the tool options. Much more convenient than the old dialog that always came up on top of the image, since tool options stay docked beneath the Toolbox. And the Fixed: Aspect Ratio works great for keeping it square (or 4x3 or whatever other aspect ratio I need). I find fixed aspect ratios SO much easier now with the new crop tool. ...Akkana ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] New Crop tool in 2.4.1
Just double-click on the Crop icon in the toolbox and the old information appears in box form.___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Dislike new crop tool
Hi this is my first post to this list. The reason that I am emailing is that the new version of Gimp has changed the crop tool and it appears to be missing one of the features that it had before. I liked that the box came up showing the dimensions of your image as it was changing. I needed this to be able to crop perfect squares. Now that the box doesn't come up it is hard to get them exactly right. Is there a way to bring the box back or is there other way of doing what I used to. Kind Regards, Adam Wieland. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] trace script-fu commands while using GUI
Greg wrote: >> That isn't possible at this time. What you are asking for is along >> the lines of what is asked for in GIMP bug #51937. >> >> See http://bugzilla.gnome.org/show_bug.cgi?id=51937 > > Which was posted in '01. Perhaps it's time to revisit this request? Reading the comments would be a good start if you want to give it a try. They'll give you an idea of the difficulties that you'll encounter. HTH, Michael -- GIMP > http://www.gimp.org | IRC: irc://irc.gimp.org/gimp Wiki > http://wiki.gimp.org | .de: http://gimpforum.de Plug-ins > http://registry.gimp.org | ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Not saving resolution information - "XCF: This file is corrupt!"
CJ Kucera wrote: > Anyway, I'm using Gimp 2.4.1, and I've encountered a problem where Gimp > isn't saving the layer dimensions in its .XCF files, so that when the > file is opened, Gimp gives the error: I know everyone's been waiting with bated breath to find out how this turns out, but just FYI, it turns out that the root of the problem was this bug in the kernel: http://bugzilla.kernel.org/show_bug.cgi?id=9315 ... once I applied that patch, Gimp (and, as it turns out, various other programs which use sparse files) started working just fine. So, anyone using NFS, Gimp, and recent 2.6.23 kernels may want to take a look at that to make sure that you're not getting bitten by the same thing. -CJ -- WOW: Flemmy| "Happiness isn't good enough for me! I [EMAIL PROTECTED] | demand euphoria!" 24.24.2.3171 | - Calvin ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] trace script-fu commands while using GUI
> That isn't possible at this time. What you are asking for is along > the lines of what is asked for in GIMP bug #51937. > > See http://bugzilla.gnome.org/show_bug.cgi?id=51937 Which was posted in '01. Perhaps it's time to revisit this request? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Wacom Intuos 3 quirk with 2.4.1
On 08/11/2007, Sven Neumann <[EMAIL PROTECTED]> wrote: > > Go to the Preferences dialog and save your device settings from there. > You can also configure GIMP to always save the device settings on exit. Thanks, I'll do that, although I thought I had checked that box... Simon ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Trouble calling running batch script in Windows XP
Dear Sven, Running the same command in the same directory but using MinGW instead of the Windows XP Command Prompt. This gives me the following messages: "No batch interpreter specified, using the default 'plug-in-script-fu-eval'. batch command: experienced an execution error." I hope this information may be of some help in solving the problem I'm having. Many thanks again for your help, Sam On 08/11/2007, Sam Kuper <[EMAIL PROTECTED]> wrote: > > Dear Sven, > > Thank you. However, I still receive the following messages: > > "GIMP-Error: Opening 'D:\Documents and > Settings\spk30\Desktop\alison_sl1_dear_friend_backup\*.png)'' failed: > Invalid argument > > GIMP-Error: Opening 'D:\Documents and > Settings\spk30\Desktop\alison_sl1_dear_friend_backup\0)'' failed: No such > file or directory > > No batch interpreter specified, using the default > 'plug-in-script-fu-eval'. > batch command: executed successfully. > batch command: executed successfully." > > Is this because I need to escape the right parenthesis and double-quote > mark somehow? > > Many thanks, > > Sam > > > > > On 08/11/2007, Sven Neumann <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > On Thu, 2007-11-08 at 15:17 +, Sam Kuper wrote: > > > > > gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)' > > > > The correct syntax to pass multiple batch commands to GIMP 2.4 is: > > > > gimp-2.4 -i -b '(batch-CUPify "*.png")' -b '(gimp-quit 0)' > > > > In other words, only one command per --batch or -b option. But you may > > use this option several times. > > > > > > Sven > > ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Trouble calling running batch script in Windows XP
Dear Sven, Thank you. However, I still receive the following messages: "GIMP-Error: Opening 'D:\Documents and Settings\spk30\Desktop\alison_sl1_dear_friend_backup\*.png)'' failed: Invalid argument GIMP-Error: Opening 'D:\Documents and Settings\spk30\Desktop\alison_sl1_dear_friend_backup\0)'' failed: No such file or directory No batch interpreter specified, using the default 'plug-in-script-fu-eval'. batch command: executed successfully. batch command: executed successfully." Is this because I need to escape the right parenthesis and double-quote mark somehow? Many thanks, Sam On 08/11/2007, Sven Neumann <[EMAIL PROTECTED]> wrote: > > Hi, > > On Thu, 2007-11-08 at 15:17 +, Sam Kuper wrote: > > > gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)' > > The correct syntax to pass multiple batch commands to GIMP 2.4 is: > > gimp-2.4 -i -b '(batch-CUPify "*.png")' -b '(gimp-quit 0)' > > In other words, only one command per --batch or -b option. But you may > use this option several times. > > > Sven > > > -- Mr Sam Pablo Kuper BSc MRI Research Assistant Darwin Correspondence Project Cambridge University Library West Road Cambridge CB3 9DR [EMAIL PROTECTED] Office: +44 (0)1223 333008 Mobile: +44 (0) 7971858176 www.darwinproject.ac.uk ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Trouble calling running batch script in Windows XP
Hi, On Thu, 2007-11-08 at 15:17 +, Sam Kuper wrote: > gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)' The correct syntax to pass multiple batch commands to GIMP 2.4 is: gimp-2.4 -i -b '(batch-CUPify "*.png")' -b '(gimp-quit 0)' In other words, only one command per --batch or -b option. But you may use this option several times. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Urban Acid script v 0.6.5
Well, this version seems to work cleanly under GIMP 2.4.1 (Windows). I got a new definition of set-pt from a different source, but it looks exactly the same. I moved the (define outside the main (let* and removed the declaration of (a). I'll test to see if it runs under Ubuntu (2.4.0) when I get home. Dave -- ; Urban Acid ; David Hathaway <[EMAIL PROTECTED]> ; ; A script to fake the "Urban Acid" look within The Gimp version 2. ; ; This script is based on: ; http://www.scrapjazz.com/community/jazzclub/showthread.php?t=89073&page=3&pp=15 ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2 of the License, or ; (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ; ; Version 0.5 - first working version ; Version 0.6 - modified to work on GIMP 2.4 ; Version 0.6.5 - modified to work on GIMP 2.4.1 (define (urban-acid img drawable) ; compatibility hack ; http://www.lefinnois.net/scriptfu_gimp24/chrominium.scm (define (set-pt a index x y) (begin (aset a (* index 2) x) (aset a (+ (* index 2) 1) y) ) ) ; set some system variables (let* ( (copy-layer) (splineValue) (splineRed) (splineGreen) (splineBlue) ) ;7) create a duplicate layer of the base layer. (set! copy-layer (car (gimp-layer-copy drawable 0))) (gimp-layer-set-name copy-layer "Copy") (gimp-image-add-layer img copy-layer 0) (define (splineValue) (let* ((a (cons-array 10 'byte))) (set-pt a 0 0 0) (set-pt a 1 44 27) (set-pt a 2 99 117) (set-pt a 3 195 229) (set-pt a 4 255 255) a ) ) (gimp-curves-spline copy-layer VALUE-LUT 10 (splineValue)) (define (splineRed) (let* ((a (cons-array 10 'byte))) (set-pt a 0 0 0) (set-pt a 1 51 6) (set-pt a 2 151 137) (set-pt a 3 204 228) (set-pt a 4 255 255) a ) ) (gimp-curves-spline copy-layer RED-LUT 10 (splineRed)) (define (splineGreen) (let* ((a (cons-array 10 'byte))) (set-pt a 0 0 0) (set-pt a 1 38 31) (set-pt a 2 125 129) (set-pt a 3 197 223) (set-pt a 4 255 255) a ) ) (gimp-curves-spline copy-layer GREEN-LUT 10 (splineGreen)) (define (splineBLue) (let* ((a (cons-array 8 'byte))) (set-pt a 0 0 0) (set-pt a 1 22 33) (set-pt a 2 149 126) (set-pt a 4 255 255) a ) ) (gimp-curves-spline copy-layer BLUE-LUT 8 (splineRed)) (gimp-layer-set-mode copy-layer HARDLIGHT-MODE) (gimp-layer-set-opacity copy-layer 80) ) ; let* ; Flush the display (gimp-displays-flush) ) (script-fu-register "urban-acid" "U_rban Acid" "This script sets the curves based on the Urban Acid formula" "David Hathaway <[EMAIL PROTECTED]>" "(c) David Hathaway" "2007 11 08" "RGB*" SF-IMAGE"Image" 0 SF-DRAWABLE "Layer to start on (unused)" 0 ) (script-fu-menu-register "urban-acid" "/Filters/Dave77459") ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Trouble calling running batch script in Windows XP
Sam Kuper wrote: > I have been having difficulty running the following batch script: > > ; -- > ; BEGIN SCRIPT > ; -- > > (define (batch-CUPify pattern > image > drawable) [snip] > gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)' I have only taken a quick look at the script. The most obvious problem is that you defined it as needing three parameters and only pass it one on the command line. Based on what I see in the script and how you are trying to use it you don't need the image and drawable parameters. If you are only going to use this script via batch mode you don't need the register block. -- Cheers! Kevin. http://www.ve3syb.ca/ |"What are we going to do today, Borg?" Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus: | Try to assimilate the world!" #include | -Pinkutus & the Borg ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Trouble calling running batch script in Windows XP
Dear all, I have been having difficulty running the following batch script: ; -- ; BEGIN SCRIPT ; -- (define (batch-CUPify pattern image drawable) (let* ( (filelist (cadr (file-glob pattern 1 (while (not (null? filelist)) (let* ( (filename (car filelist)) (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename))) (drawable (car (gimp-image-get-active-layer image ; Erode the image (plug-in-erode 1 image drawable 1 1 0.5 7 128 128) ; Photocopy the image (plug-in-photocopy 1 image drawable 35.51 0.583 0.342 0.200) ; Erode the image (plug-in-erode 1 image drawable 1 1 0.5 7 128 128) ; Flush the display (gimp-displays-flush) ; Save the image (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename) (gimp-image-delete image)) (set! filelist (cdr filelist ) (script-fu-register "batch-CUPify" "Batch-CUPify" "Make an image look like it was scanned to PDF by CUP" "Sam Kuper" "Sam Kuper" "2007" "GRAY*" SF-IMAGE"Image" 0 SF-DRAWABLE "Layer to process" 0) ; -- ; END SCRIPT ; -- I am using GIMP 2.4.1 on Windows XP, and I am trying to run the script by going to the command prompt, changing to a directory full of .png files I want to process with the script, and entering the command: gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)' This gives me the following messages: "GIMP-Error: Opening 'D:\Documents and Settings\spk30\Desktop\alison_sl1_dear_fri end_backup\*.png)'' failed: Invalid argument GIMP-Error: Opening 'D:\Documents and Settings\spk30\Desktop\alison_sl1_dear_fri end_backup\'(gimp-quit' failed: No such file or directory GIMP-Error: Opening 'D:\Documents and Settings\spk30\Desktop\alison_sl1_dear_fri end_backup\0)'' failed: No such file or directory No batch interpreter specified, using the default 'plug-in-script-fu-eval'. batch command: executed successfully." I would be very grateful for any help you can offer. Many thanks in advance, Sam ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Urban Acid script (buggy)
Kevin, Thank you giving me this information. It is really useful to know. I think it ought to be part of the Migration guide, because naive script writers like me don't know that functions like set-pt are locally defined. I thought I was using a built-in function. It is further confused by the fact that the Windows version *does not* complain that set-pt is not defined. It is apparently defined elsewhere and is being found. To my mind, set-pt is either a global function or must declared locally and if GIMP is finding a local function, then this is a bug. It is being handled two different ways; perhaps it is a 2.4.0 versus 2.4.1 difference? Thanks for your help. I think I'll try a different way of setting the splines since this is static. Dave On Nov 7, 2007 7:29 PM, Kevin Cozens <[EMAIL PROTECTED]> wrote: > Dave 77459 wrote: > > Owen, > > > > Thanks for confirming that it works in 2.2 under Ubuntu and crashes on > 2.4. > > > > I too got that unbound error on 2.4 . I declared all the variables, > > which cleared that up under Windows. I still got the unbound error in > > Ubuntu, which is odd since set-pt is a function, not a variable?? > > > > So I added this in the hopes it would clear up: > > > >; define the set-pt procedure (used to be embedded??) > >; from http://adrian.gimp.org/scripts/shagadelic.scm > >(define (set-pt a index x y) > [snip] > > The script calls set-pt but did not define the function. In GIMP 2.2functions > in one file were defined in a way that made them available to be called by > scripts in other files. While this can be a useful feature at times it can > also cause problems. > > There were two scripts that defined point-list->double-array which took > one > argument. The routines were different and as a result, one of the two > scripts > appeared to be broken as it wound up calling the wrong version of the > function. > > As of GIMP 2.4, the scripts which ship as part of the Script-Fu plug-in > define > the functions they need locally (ie. other scripts can't access them). > This > avoids the problems of adding a new script and finding out that some other > previously working script no longer works. > > -- > Cheers! > > Kevin. > > http://www.ve3syb.ca/ |"What are we going to do today, Borg?" > Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus: > | Try to assimilate the world!" > #include | -Pinkutus & the Borg > ___ > Gimp-user mailing list > Gimp-user@lists.XCF.Berkeley.EDU > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user > ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Wacom Intuos 3 quirk with 2.4.1
Hi, On Wed, 2007-11-07 at 21:01 +, Simon Nickau wrote: > I seem to have to select the tool every time I start up GIMP on this > tablet pc.. Not much of a bother though Go to the Preferences dialog and save your device settings from there. You can also configure GIMP to always save the device settings on exit. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user