Re: [Gimp-user] HELP! Exporting To PDF
On 2/13/20 8:43 PM, joelandsonja wrote: I am having a major issue whenever I export my image file to PDF. I have to export the image to the exact same size for the PDF file, but whenever I export the image it changes the size of the image in the PDF file (it makes it larger). Can someone please help me with this problem? There is a known bug in 2.10.14 that makes Gimp reset the print definition to 72PPI on *import* (which makes the image larger in print). YOu can reset the print definition using Image>Print size and these values should be correctly exported. If that bothers you too much you can get back to 2.10.12 until 2.10.16 is published. ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
Re: [Gimp-user] How to get the positions(x, y) (width, depth) of selected rectangle or selected ellipse
Uh? You can write to a file from the script, using the regular I/O functions. For more structured data you can also use the built-in CSV module to write CSV files, and it is also possible to add excel support to the python runtime. On 2/14/20 8:19 AM, ShiroYuki Mot via gimp-user-list wrote: On Python console, this is what you want. non_empty, x1, y1, x2, y2 = pdb.gimp_selection_bounds(image) See, 'gimp-selection-bounds' at Procedure Browser. But, handning values to external App is not so easy. If you add external library 'pyperclip' you can write to clipboard. But it is one value only... Yes, maybe, not suit for you. One solution is that create text layer about that. Then you can copy manually. ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
Re: [Gimp-user] How to get the positions(x, y) (width, depth) of selected rectangle or selected ellipse
See: non_empty, x1, y1, x2, y2 = pdb.gimp_selection_bounds(image) On 2/14/20 7:14 AM, tamasakai wrote: How to get the positions(x,y) (width, depth) of selected rectangle or selected ellipse I read such numbers on GIMP and write them in Excel files but sometime human error occurs. I want to automate the process. I read instructions of Python-Fu but there so many functions then I could not find out how to do it. Please help me. ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
Re: [Gimp-user] How to get the positions(x, y) (width, depth) of selected rectangle or selected ellipse
On Python console, this is what you want. non_empty, x1, y1, x2, y2 = pdb.gimp_selection_bounds(image) See, 'gimp-selection-bounds' at Procedure Browser. But, handning values to external App is not so easy. If you add external library 'pyperclip' you can write to clipboard. But it is one value only... Yes, maybe, not suit for you. One solution is that create text layer about that. Then you can copy manually. 2020年2月14日(金) 15:14 tamasakai : > How to get the positions(x,y) (width, depth) of selected rectangle or > selected > ellipse > I read such numbers on GIMP and write them in Excel files but sometime > human > error occurs. > I want to automate the process. > I read instructions of Python-Fu but there so many functions then I could > not > find out how to do it. > Please help me. > > -- > tamasakai (via www.gimpusers.com/forums) > ___ > gimp-user-list mailing list > List address:gimp-user-list@gnome.org > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > List archives: https://mail.gnome.org/archives/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 List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] How to get the positions(x, y) (width, depth) of selected rectangle or selected ellipse
How to get the positions(x,y) (width, depth) of selected rectangle or selected ellipse I read such numbers on GIMP and write them in Excel files but sometime human error occurs. I want to automate the process. I read instructions of Python-Fu but there so many functions then I could not find out how to do it. Please help me. -- tamasakai (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] No gimp-python in Debian (Testing)
At some point after I first installed Debian (last year), the gimp-python package disappeared from Debian Testing. I already had it, so never noticed... I just did a clean install of Debian Testing LXQt, installed GIMP, moved over my Resynthesizer-based plugins, and tried to use Heal Selection. It complained about Python, and I remembered from the previous install that for some reason, gimp-python was not automatically pulled in on Debian, and I had had to install it separately before Heal Selection would work. So, now I opened up Synaptic and searched for "gimp" and then looked down the list for anything Python-related, (not yet remembering the exact name), and didn't find anything that sounded right. I did a google search to find the exact name, and returned to Synaptic, and IT WAS NOT THERE. I now vaguely remembered reading something about Debian and Python... Googling it now, I found: https://bdmpublications.com/debian-ubuntu-remove-python-2-packages/ "Debian and Ubuntu to remove Python 2 packages Python 2 is set to reach its end of life on January 1st 2020, a mere four months away now. As such, Debian and ultimately Ubuntu will be looking to drop the current Python 2 packages in the next release cycle. Debian 10 ‘Buster’ has recently been released, and will of course still be supporting Python 2 within its build. However, with an eye to Debian 11, codenamed ‘Bullseye’, the team are going to be dropping the legacy Python 2 code and instead focus on adopting Python 3 in the relevant core packages. " Debian Stable still has it (2.10.8-2), and I can see it depends on Python 2.7: "dep: python interactive high-level object-oriented language (Python2 version) dep: python-gtk2 (>= 2.8.0) Python bindings for the GTK+ widget set dep: python2.7 Interactive high-level object-oriented language (version 2.7) " What if anything is being done to help people who use python plug-ins, and thus need gimp-python? Should I assume that even if gimp moves to Python 3.x, that the various python plug-ins would have to be updated/re-written to use Python 3.x? For now, would an app-image contain within itself the gimp-python code that would allow Heal Selection and other python plugins to function? ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] HELP! Exporting To PDF
I am having a major issue whenever I export my image file to PDF. I have to export the image to the exact same size for the PDF file, but whenever I export the image it changes the size of the image in the PDF file (it makes it larger). Can someone please help me with this problem? -- joelandsonja (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list