[Gimp-user] Java api
Hello, I'm using GIMP in batch mode to run script-fu scripts from java code. However, running scripts in batch mode does not completetly meet my requirements since I wan't to interact with the result from the scripts. Therefore, I need some api to run GIMP from Java. Is there a stable Java api to GIMP? Or any alternative solutions to interact with the scripts? Thanks ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Base type of a wmf image
I'm using script-fu to load an image to determine the image base type. It gives me back rgb even if the wmf image is in grayscale. How come? Can I determine the image type in some other way? This is the script: (define (script-fu-wmf-type-check file) (gimp-message-set-handler 0) (set! image (car (file-wmf-load RUN-NONINTERACTIVE file file 72 0 0))) (set! image-type (car(gimp-image-base-type image))) (gimp-message (number-string image-type)) ) Thanks /Magnus ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Ang: Re: [Gimp-user] Base type of a wmf image
So this behaviour of the wmf file loader can be considered as a bug? Is it something that will be taken care of in future releases? I'm stuck to Gimp, so ImageMagick is not an alternative. /Magnus Ursprungligt meddelande Från: [EMAIL PROTECTED] Datum: 2006/09/25 20:58 Till: Magnus =?ISO-8859-1?Q?Hellstr=F6m?=[EMAIL PROTECTED] Kopia: gimp-user@lists.XCF.Berkeley.EDU Ärende: Re: [Gimp-user] Base type of a wmf image Hi, On Mon, 2006-09-25 at 12:51 +0200, Magnus Hellström wrote: I'm using script-fu to load an image to determine the image base type. It gives me back rgb even if the wmf image is in grayscale. How come? Can I determine the image type in some other way? The WMF loader probably converts everything to RGB then. You could try to use identify instead. This tool comes with ImageMagick. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Vb: Re: Ang: Re: [Gimp-user] Base type of a wmf image
Well, I'm not using GIMP only to detect file formats, but to perform image transformations such as midtone adjustment and unsharp mask, where I believe and hope GIMP is an appropriate tool to use. I want however script-fu to do the whole job, and that includes detecting image types such as rgb and grayscale for a vast set of image formats. If anyone knows has alternative way of doing this in GIMP, let me know. Thanks anyway. Cheers Ursprungligt meddelande Från: [EMAIL PROTECTED] Datum: 2006/09/26 10:30 Till: Magnus =?ISO-8859-1?Q?Hellstr=F6m?=[EMAIL PROTECTED] Kopia: gimp-user@lists.XCF.Berkeley.EDU Ärende: Re: Ang: Re: [Gimp-user] Base type of a wmf image Hi, On Tue, 2006-09-26 at 10:20 +0200, Magnus Hellström wrote: So this behaviour of the wmf file loader can be considered as a bug? No, it counts as a missing feature perhaps. Is it something that will be taken care of in future releases? Unlikely, unless somone provides a patch. The WMF loader plug-in is very simple. It uses libwmf to load the file and as far as I can see, the libwmf library always returns an RGBA buffer. So you might even have to change the library first. I'm stuck to Gimp, so ImageMagick is not an alternative. Frankly speaking, GIMP seems like the wrong tool for the job. It was not designed to detect file formats. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Rotated wmf-file
Hello, I have this wmf file which is rotated by GIMP when opened. It seems normal with other wmf viewers. What could be the problem? The image or GIMP? Thanks, /Magnus wmfcolor2.WMF Description: video/ms-wm ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Ang: Re: [Gimp-user] Rotated wmf-file
So, there might be a bug fix in a later version? Which version/platform are you running then when the wmf-file is rendered correctly? The version I'm using is GIMP 2.2.13 on Windows XP. /Magnus Ursprungligt meddelande Från: [EMAIL PROTECTED] Datum: 2006/11/08 22:52 Till: Magnus =?ISO-8859-1?Q?Hellstr=F6m?=[EMAIL PROTECTED] Kopia: gimp-user@lists.XCF.Berkeley.EDU Ärende: Re: [Gimp-user] Rotated wmf-file Hi, On Wed, 2006-11-08 at 12:52 +0100, Magnus Hellström wrote: Hello, I have this wmf file which is rotated by GIMP when opened. It seems normal with other wmf viewers. What could be the problem? The image or GIMP? Seems to load fine for me. So either we have fixed this in the meantime or your version of libwmf (that's the library that does the actual loading of the WMF file) is buggy. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] wmf problems
Hello, my problem is regarding wmf files in GIMP. When running Gimp Version 2.1.13 on Windows XP * Some wmf files are rotated 180 degrees when loaded in GIMP * Some charaters are missing in images loaded by GIMP (swedish characters in this case) In Gimp Version 2.3.12 the first problem is resolved but the second remains. Do I miss some resource or plugin to support the character set or is there any other solution to this problem? Preferably, I would like to use the stable version 2.1.13 but the later might be ok as well. Regards Magnus ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user