Re: [Gimp-user] script-fu code to load pdf with set resolution
Hi, On Wed, 2008-10-22 at 01:40 +0200, Ash C. wrote: > I am wanting to write a script that will load a pdf with a specified > resolution and then save it as a jpeg. > > When I open the pdf document manually (via the GUI). I am greeted with the > "Import from PDF" window, which allows me to set the resolution of the image > which then alters the width and height of the image based on the resolution > specified. > > However, when I attempt to automate this with script-fu, I am having issues > getting the same functionality. > > I am using the 'file-pdf-load' function to load the pdf, however there is no > option to set the resolution and height of the image. (It appears to default > to 100dpi). This functionality is not available to the PDB. We would accept a patch that improves the PDB interface of the PDF import plug-in. But seriously, I don't understand why you would want to use GIMP for this instead of a simple 'pdftoppm -r 300 | pnmtojpeg ' Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] strange brush behavior
Hi, On Tue, 2008-10-21 at 13:31 -0400, Helen wrote: > Two computers here -- both running SuSE11, with > Gimp 2.4.5. > > One computer, Gimp works fine. > Other computer, all of the drawing tools (pen,pencil, > brushes, eraser, clone tool, etc.) leave bright green > streaks when swept across the photo. This is a known and long-standing problem in the ATI graphics driver. You should ask them to finally fix their software. Until then there is a workaround for this problem described in the gimprc manual page. Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] script-fu code to load pdf with set resolution
>Quoting "Ash C." <[EMAIL PROTECTED]>: > >> I am wanting to write a script that will load a pdf with a specified >> resolution and then save it as a jpeg. >> >> ... When I alter the size of the image using 'gimp-image-resize' it seems >> to keep the image at the same size but sets the extra area to transparent. > >In GIMP terminology, "resize" refers to changing the size of the >canvas. Changing the size of the image is termed "scaling". If using >'gimp-image-scale' (instead of 'gimp-image-resize') does not address >your difficulty, I will put more consideration into my next response :) > > Thanks for the quick response. I've actually messed around a little with scaling the image but it appears to degrade the imagery somewhat. I did the process manually whereby loading the image at 100dpi then scaling to 300dpi and increasing the width and height by 3 also but the resultant image was quite degraded compared to loading the PDF directly at 300dpi with the appropriate width and heights. The interpolation setting appears to make very little difference. -- Ash C. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] script-fu code to load pdf with set resolution
Quoting "Ash C." <[EMAIL PROTECTED]>: > I am wanting to write a script that will load a pdf with a specified > resolution and then save it as a jpeg. > > ... When I alter the size of the image using 'gimp-image-resize' it seems > to keep the image at the same size but sets the extra area to transparent. In GIMP terminology, "resize" refers to changing the size of the canvas. Changing the size of the image is termed "scaling". If using 'gimp-image-scale' (instead of 'gimp-image-resize') does not address your difficulty, I will put more consideration into my next response :) ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] script-fu code to load pdf with set resolution
I am wanting to write a script that will load a pdf with a specified resolution and then save it as a jpeg. When I open the pdf document manually (via the GUI). I am greeted with the "Import from PDF" window, which allows me to set the resolution of the image which then alters the width and height of the image based on the resolution specified. However, when I attempt to automate this with script-fu, I am having issues getting the same functionality. I am using the 'file-pdf-load' function to load the pdf, however there is no option to set the resolution and height of the image. (It appears to default to 100dpi). I can use the 'gimp-image-set-resolution' function to set the resolution but this doesn't automatically update the width and height of the image. When I alter the size of the image using 'gimp-image-resize' it seems to keep the image at the same size but sets the extra area to transparent. Is this functionality possible or am I missing something completely? Needless to say I am quite new to script-fu. Thanks. -- Ash C. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] strange brush behavior
This sounds like the type of problem when there is a bug in the graphic driver software for your graphics card (hardware). Does this happen in other programs, especially other graphics programs? An updated driver might fix this. There may be other causes too. -Ken ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] strange brush behavior
I've been using gimp for several years, and so am fairly familiar with its expected behavior. Two computers here -- both running SuSE11, with Gimp 2.4.5. One computer, Gimp works fine. Other computer, all of the drawing tools (pen,pencil, brushes, eraser, clone tool, etc.) leave bright green streaks when swept across the photo. This is with the mouse button NOT engaged. Not pressing any mouse button, just moving the tool across the photo, draws these artifacts which do not then become a part of the file (moving the photo around on the screen erases these green artifacts, but any attempt to place a brush back into the photo makes the green streaks. Any ideas? -- Helen Etters using Linux, SuSE11, gimp 2.4.5 ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Searching GIMP user manual
On Tuesday 21 October 2008, First Last wrote: > Ok, let me explain the situation I had today that prompted the posting. I > have some photos that have some pretty bad vignetting and I was hoping GIMP > could take care of it for me. So I was expecting I could open the Help or > the user manual and just search for "vignetting" and that would take me > right to the spot in the manual that would explain it. Since the manual is a manual and not a selection of tutorials, you'll find mainly documentation about GIMP's functions there, not about how to use them for some effect or another. So even a search function doesn't replace a broader search across other web sites. Luckily for you, there's an official tutorial that might do what you want, although it's not in the manual: http://www.gimp.org/tutorials/Quickmask/ I hope this link helps, Daniel signature.asc Description: This is a digitally signed message part. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Searching GIMP user manual
Ok, let me explain the situation I had today that prompted the posting. I have some photos that have some pretty bad vignetting and I was hoping GIMP could take care of it for me. So I was expecting I could open the Help or the user manual and just search for "vignetting" and that would take me right to the spot in the manual that would explain it. But to my surprise there was no way to search for that. The "find in page" is less useful because I'd have to be in the page that described vignetting to actually find it, and if I were there, I probably wouldn't need to find it. :-) So the entire manual search function would be very very cool to have. Meanwhile, if you happen to know where I can find something on fixing vignetting and could point me to it, I'd be very grateful! Oh, I did find in the web page search that the 2.4 "what's new" release notes mentioned vignetting under the Lens Distortion section, but with no links to Lens Distortion (and me not doing an exhaustive search of the index), I couldn't find it quickly. ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Text-in-stitches on GIMP
As another poster mentioned, an image pipe brush might do what you want. The trick is, to get the brush to "follow" the path and rotate appropriately. This is doable, but due to the limitations of the number of images you can have in a pipe, the available increment of rotation may not be enough for your purposes. Nevertheless, below is a link to a tutorial I wrote sometime back on how to make such "rotating" image pipe brushes using GAP. You might try it ad see if it gives you what you are after. http://www.gimptalk.com/forum/topic/Making-gih-Gimp-Image-Hose-Brushes-in-GAP-21594-1.html --- On Sun, 10/19/08, Peter Saffrey <[EMAIL PROTECTED]> wrote: > From: Peter Saffrey <[EMAIL PROTECTED]> > Subject: [Gimp-user] Text-in-stitches on GIMP > To: gimp-user@lists.xcf.berkeley.edu > Date: Sunday, October 19, 2008, 1:17 PM > I'm a fairly new GIMP user. Be gentle. > > I'd like to duplicate the effect described in this > Photoshop tutorial: > > http://pshero.com/archives/text-in-stitches > > The critical part of this is selecting a path from text and > using a custom brush > to draw along this path. Once I've got this working, I > can fiddle around with > the background and brush type to make it look pretty. > > I've got as far as adding some text and turning this > into a path using > Layer->Text to path. I can then do "stroke > path" with a brush of my choice. > However, I can't work out how to adjust some of the > more complex options, such > as the direction of brushing and the distance between brush > strokes, as > described in steps 8 and 9 of the tutorial. How do I do > this in the GIMP? > > If I'm successful, I guess I'll write this up in a > blog post. > > Peter > > > > ___ > 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