Re: [Gimp-developer] the Gimp lcms.c plug-in
On 8/13/12, Elle Stone l.elle.st...@gmail.com wrote: Upon converting to any other ICC profile, the colors come out all wrong . . . then the colors are magically right. Which is both bizarre and wrong. A coding error/oversight on my part is the answer to the magically right: the new profile is embedded even if the conversion didn't really happen. Elle ___ gimp-developer-list mailing list gimp-developer-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-developer-list
[Gimp-developer] Accessing the thumbnail size preference from Python...
Hi, Is there a way to access what the thumbnail size (EditPreferencesEnvironmentSize of Thumbnails) is set to in the Gimp preferences from within my Python script? My script currently uses the largest size thumbnails it can find of the .xcf files it uses, but I would prefer if it stuck to the thumbnail size the user has chosen in the preferences. The script is available here http://registry.gimp.org/node/25975 Cheers, Ragnar ___ gimp-developer-list mailing list gimp-developer-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-developer-list
Re: [Gimp-developer] Accessing the thumbnail size preference from Python...
On 14 August 2012 12:57, Ragnar Brynjúlfsson rag...@ragtag.net wrote: Hi, Is there a way to access what the thumbnail size (EditPreferencesEnvironmentSize of Thumbnails) is set to in the Gimp preferences from within my Python script? No, there is no API for that. The only ways of doing that are hacking around the application. One way I can think of would be to change GIMP's configuration files - but GIMP would have to be restarted for that to take effect. js -- My script currently uses the largest size thumbnails it can find of the .xcf files it uses, but I would prefer if it stuck to the thumbnail size the user has chosen in the preferences. The script is available here http://registry.gimp.org/node/25975 Cheers, Ragnar ___ gimp-developer-list mailing list gimp-developer-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-developer-list
Re: [Gimp-developer] Nightly Builds
Try this: Pull my latest changes from git, and then do: export PYTHON=/c/Python27/bin/python.exe (I'm not sure where your python exe is, so change /c/Python27/bin/python.exe to the location of the actual exe) Then try running the script again. Hopefully that will work. As a side note, I've actually never successfully compiled the GIMP directly on windows before, only cross compiled for Windows from Linux. (So you're trying something new.) -- drawoc On Tue, Aug 14, 2012 at 1:27 PM, Jari Niskala jarinisk...@gmail.com wrote: Thanks drawoc! I'm running into some problems that I'm trying to work through but perhaps you or someone else has run into this before and can point me in the right direction (or point out what's wrong with my setup)... Here's the error and afterwards I have listed all the steps I have taken to try to get my environment to be able to run the build script: Jari@Jari-PC /gimp $ build I: unknown keys defined in configuration file: mingw_tool_prefix, mingw_tools, searchprefix, fullpath_tool, flavour_cfla gs, module, tool, flavour_opt, flavour, mingw_tools_args, flavour_ext Traceback (most recent call last): File C:/mingw/msys/1.0/bin/jhbuild, line 31, in module jhbuild.main.main(sys.argv[1:]) File C:/mingw/msys/1.0/jhbuild\jhbuild\main.py, line 130, in main config = jhbuild.config.Config(options.configfile) File C:/mingw/msys/1.0/jhbuild\jhbuild\config.py, line 205, in __init__ self.setup_env() File C:/mingw/msys/1.0/jhbuild\jhbuild\config.py, line 429, in setup_env get_stderr = False).strip() File C:/mingw/msys/1.0/jhbuild\jhbuild\utils\cmds.py, line 63, in get_output **kws) File C:/mingw/msys/1.0/jhbuild\jhbuild\utils\subprocess_win32.py, line 112, in __init__ elif not command[0].endswith('.exe') or kws['shell']: KeyError: 'shell' 1. Install mingw, choose latest packages, c/c++ compiler, msys and developer kit. 2. Install mingw64 http://mingw-w64.sourceforge.net/ Choose the latest w32 build e.g. mingw32-w32-bin_i686-mingw_.zip http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Wi n32/Automated%20Builds/ Extract it to your machine on top of mingw, e.g. c:\mingw 3. Install Python27 Add python to your path (msys/1.0/etc/profile): export PATH=$PATH:/c/Python27 4. Get some needed packages mingw-get.exe install msys-wget mingw-get.exe install msys-openssl mingw-get.exe install msys-unzip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config_0.26-1 _win32.zip unzip pkg-config_0.26-1_win32.zip rm pkg-config_0.26-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config-dev_0. 26-1_win32.zip unzip pkg-config-dev_0.26-1_win32.zip rm pkg-config-dev_0.26-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome-common -dev_2.28.0-1_win32.zip unzip gnome-common-dev_2.28.0-1_win32.zip rm gnome-common-dev_2.28.0-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome-common _2.28.0-1_win32.zip unzip gnome-common_2.28.0-1_win32.zip rm gnome-common_2.28.0-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool-dev_0.4 0.4-1_win32.zip unzip intltool-dev_0.40.4-1_win32.zip rm intltool-dev_0.40.4-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool_0.40.4- 1_win32.zip unzip intltool_0.40.4-1_win32.zip rm intltool_0.40.4-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.28/glib-dev_2.28.8-1_wi n32.zip unzip glib-dev_2.28.8-1_win32.zip rm glib-dev_2.28.8-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.28/glib_2.28.8-1_win32. zip unzip glib_2.28.8-1_win32.zip rm glib_2.28.8-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/gettext-runtime-d ev_0.18.1.1-2_win32.zip unzip gettext-runtime-dev_0.18.1.1-2_win32.zip rm gettext-runtime-dev_0.18.1.1-2_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/gettext-runtime_0 .18.1.1-2_win32.zip unzip gettext-runtime_0.18.1.1-2_win32.zip rm gettext-runtime_0.18.1.1-2_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-doc-utils/0.12/gnome-doc -utils-0.12.0.zip unzip gnome-doc-utils-0.12.0.zip rm gnome-doc-utils-0.12.0.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2-dev_2.7.7 -1_win32.zip unzip libxml2-dev_2.7.7-1_win32.zip rm libxml2-dev_2.7.7-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2_2.7.7-1_w in32.zip unzip libxml2_2.7.7-1_win32.zip rm libxml2_2.7.7-1_win32.zip 5. Adjust ACLOCAL_FLAGS export ACLOCAL_FLAGS=-I /share/aclocal 6. Install msysgit to c:\git. When asked, choose the 'Use Git Bash only' option (avoid adding anything to the PATH). In the line ending conversions choice, pick Checkout as-is, commit Unix-style line endings
Re: [Gimp-developer] Nightly Builds
Ah, that explains it :) I tried with the latest and I'm still getting the same problem. There were a lot of issues discussed with jhbuild on Windows so I think I'll just get Linux running on a VM to save myself a lot of pain in the short and long run. I can retry this later when I'm more familiar with Gimp and the whole build process... Do you have a recommendation on the flavor of Linux? Or on the setup in general? I'm 'ok' on Linux but definitely not an expert. Thanks!! -Original Message- From: drawoc [mailto:dra...@darkrefraction.com] Sent: Tuesday, August 14, 2012 1:48 PM To: Jari Niskala Cc: gimp-developer-list@gnome.org Subject: Re: [Gimp-developer] Nightly Builds Try this: Pull my latest changes from git, and then do: export PYTHON=/c/Python27/bin/python.exe (I'm not sure where your python exe is, so change /c/Python27/bin/python.exe to the location of the actual exe) Then try running the script again. Hopefully that will work. As a side note, I've actually never successfully compiled the GIMP directly on windows before, only cross compiled for Windows from Linux. (So you're trying something new.) -- drawoc On Tue, Aug 14, 2012 at 1:27 PM, Jari Niskala jarinisk...@gmail.com wrote: Thanks drawoc! I'm running into some problems that I'm trying to work through but perhaps you or someone else has run into this before and can point me in the right direction (or point out what's wrong with my setup)... Here's the error and afterwards I have listed all the steps I have taken to try to get my environment to be able to run the build script: Jari@Jari-PC /gimp $ build I: unknown keys defined in configuration file: mingw_tool_prefix, mingw_tools, searchprefix, fullpath_tool, flavour_cfla gs, module, tool, flavour_opt, flavour, mingw_tools_args, flavour_ext Traceback (most recent call last): File C:/mingw/msys/1.0/bin/jhbuild, line 31, in module jhbuild.main.main(sys.argv[1:]) File C:/mingw/msys/1.0/jhbuild\jhbuild\main.py, line 130, in main config = jhbuild.config.Config(options.configfile) File C:/mingw/msys/1.0/jhbuild\jhbuild\config.py, line 205, in __init__ self.setup_env() File C:/mingw/msys/1.0/jhbuild\jhbuild\config.py, line 429, in setup_env get_stderr = False).strip() File C:/mingw/msys/1.0/jhbuild\jhbuild\utils\cmds.py, line 63, in get_output **kws) File C:/mingw/msys/1.0/jhbuild\jhbuild\utils\subprocess_win32.py, line 112, in __init__ elif not command[0].endswith('.exe') or kws['shell']: KeyError: 'shell' 1. Install mingw, choose latest packages, c/c++ compiler, msys and developer kit. 2. Install mingw64 http://mingw-w64.sourceforge.net/ Choose the latest w32 build e.g. mingw32-w32-bin_i686-mingw_.zip http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targettin g%20Wi n32/Automated%20Builds/ Extract it to your machine on top of mingw, e.g. c:\mingw 3. Install Python27 Add python to your path (msys/1.0/etc/profile): export PATH=$PATH:/c/Python27 4. Get some needed packages mingw-get.exe install msys-wget mingw-get.exe install msys-openssl mingw-get.exe install msys-unzip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config_ 0.26-1 _win32.zip unzip pkg-config_0.26-1_win32.zip rm pkg-config_0.26-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config-dev_0. 26-1_win32.zip unzip pkg-config-dev_0.26-1_win32.zip rm pkg-config-dev_0.26-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome- common -dev_2.28.0-1_win32.zip unzip gnome-common-dev_2.28.0-1_win32.zip rm gnome-common-dev_2.28.0-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome- common _2.28.0-1_win32.zip unzip gnome-common_2.28.0-1_win32.zip rm gnome-common_2.28.0-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool-d ev_0.4 0.4-1_win32.zip unzip intltool-dev_0.40.4-1_win32.zip rm intltool-dev_0.40.4-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool_0 .40.4- 1_win32.zip unzip intltool_0.40.4-1_win32.zip rm intltool_0.40.4-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.28/glib-dev_2.28. 8-1_wi n32.zip unzip glib-dev_2.28.8-1_win32.zip rm glib-dev_2.28.8-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.28/glib_2.28.8-1_win32. zip unzip glib_2.28.8-1_win32.zip rm glib_2.28.8-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/gettext-run time-d ev_0.18.1.1-2_win32.zip unzip gettext-runtime-dev_0.18.1.1-2_win32.zip rm gettext-runtime-dev_0.18.1.1-2_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/gettext-run time_0 .18.1.1-2_win32.zip unzip gettext-runtime_0.18.1.1-2_win32.zip rm gettext-runtime_0.18.1.1-2_win32.zip wget
[Gimp-developer] New Participant
Hi Everybody, i am just a new participant of the list and wanted to say hello to all of u :) . I am a posgraduate student in Sao Paulo University in the Computer Science Department, i have a B.S. in Computer Science as well, and am very passionate in Computer Graphics and Visualization. I am here to help and get involved, so please take me into account [?]. If anyone want me to help in some area, please let me know. Thanks. -- Raul O. Gallegos Hidalgo, Pos-Graduate Student from the School of Computer Science, São Paulo University, São Carlos, Brazil (http://www.icmc.usp.br) 333.gif___ gimp-developer-list mailing list gimp-developer-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-developer-list
Re: [Gimp-developer] New Participant
On Wed, Aug 15, 2012 at 3:01 AM, Raul Gallegos wrote: Hi Everybody, i am just a new participant of the list and wanted to say hello to all of u :) . I am a posgraduate student in Sao Paulo University in the Computer Science Department, i have a B.S. in Computer Science as well, and am very passionate in Computer Graphics and Visualization. I am here to help and get involved, so please take me into account . If anyone want me to help in some area, please let me know. Welcome, Raul :) Well, there's no end of things one could do in this project. We are in the middle of switching to a new, more powerful image processing core called GEGL (www.gegl.org). So all the more significant tasks are related to that. We also have a second big task: porting all UI from GTK+2 to GTK+3. And then there's making it possible to apply masks to layer groups which we had to postpone in v2.8 development cycle. Of course, you could just come up with something else. Here is an up-to-date list of things that have top priority for us: http://wiki.gimp.org/index.php/Roadmap Please let us know what interests you most. Alexandre Prokoudine http://libregraphicsworld.org ___ gimp-developer-list mailing list gimp-developer-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-developer-list
[Gimp-developer] Interface: tool icons size and tools preview window usability
Hi again everyone. At home my screen is about 1-2 metre far from me. It's a 24 inch wide screen and I've setup very large fonts (between 18 and 28 points instead of the usual 10-12) so I can read clearly at a respectable distance. While its fine for reading text, toolbox icons (like in Gimp and MyPaint, for instance) sometimes are an issue for they remain very small, like 22x22. Since my desktop environment is Xfce, I can customize a lot of things so Thunar toolbars, for instance, are bigger (thanks to the font displayed in the address bar, I guess) so it's less of an issue, even with toolbar icons. Applications, however, which have toolboxes are not affected by the selected font size. This makes their icons very small and hard to read or distinguish. Is there a way to make these icons, say, twice as big without changing the screen DPI? Another question, still related to size is the preview window when working with interactive filters and tools for instance. My latest example is iWarp. The preview window is rather small when viewed in the distance. For instance I once had to create a texture to simulate fabric. I used the iWarp tool/displacement to simulate folds by squeezing the texture with iWarp move tool. Since the canvas was something like 2000x3000 the texture grain was rather small... unless I got closer to the screen to see what I was doing. The next issue is I only had the texture in the preview pane, not the coloured layer, which would have helped me see where to apply some distortion to the texture. Instead I had to distort blindly and see the results after applying iWarp effect, incidentally undoing if the distortion was not applied at the correct location. Having no visual feed back is annoying. And having a preview window that small increases the difficulty. If the (iWarp but also other filters) preview window could be as large as the canvas that would help. Or if Gimp had some support for applying (any kind of) distortions along a path, that would even compensate. Are such features planned in Gimp? Thanks in advance for any suggestion/advice meanwhile. ___ gimp-developer-list mailing list gimp-developer-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-developer-list
Re: [Gimp-developer] Nightly Builds
I run the scripts under Debian testing regularly, so if you choose Debian or one of its derivatives you shouldn't have a hard time. If you're still fairly new to linux though, you probably want to go with something other than straight Debian. Linux Mint is my personal favorite of the more user-friendly distros (and it's debian-derived). http://www.linuxmint.com/ You might want to go with eg. the xfce version of mint as it should be faster than the cinnamon or mate based desktops. Anyway, once you have one of those distros installed, you can install most of the required packages like this: sudo apt-get install build-essential mingw-w64 git jhbuild automake autoconf libtool libgtk2.0-dev Then just follow the README in my git repo, -- drawoc On Tue, Aug 14, 2012 at 5:09 PM, Jari Niskala jarinisk...@gmail.com wrote: Ah, that explains it :) I tried with the latest and I'm still getting the same problem. There were a lot of issues discussed with jhbuild on Windows so I think I'll just get Linux running on a VM to save myself a lot of pain in the short and long run. I can retry this later when I'm more familiar with Gimp and the whole build process... Do you have a recommendation on the flavor of Linux? Or on the setup in general? I'm 'ok' on Linux but definitely not an expert. Thanks!! -Original Message- From: drawoc [mailto:dra...@darkrefraction.com] Sent: Tuesday, August 14, 2012 1:48 PM To: Jari Niskala Cc: gimp-developer-list@gnome.org Subject: Re: [Gimp-developer] Nightly Builds Try this: Pull my latest changes from git, and then do: export PYTHON=/c/Python27/bin/python.exe (I'm not sure where your python exe is, so change /c/Python27/bin/python.exe to the location of the actual exe) Then try running the script again. Hopefully that will work. As a side note, I've actually never successfully compiled the GIMP directly on windows before, only cross compiled for Windows from Linux. (So you're trying something new.) -- drawoc On Tue, Aug 14, 2012 at 1:27 PM, Jari Niskala jarinisk...@gmail.com wrote: Thanks drawoc! I'm running into some problems that I'm trying to work through but perhaps you or someone else has run into this before and can point me in the right direction (or point out what's wrong with my setup)... Here's the error and afterwards I have listed all the steps I have taken to try to get my environment to be able to run the build script: Jari@Jari-PC /gimp $ build I: unknown keys defined in configuration file: mingw_tool_prefix, mingw_tools, searchprefix, fullpath_tool, flavour_cfla gs, module, tool, flavour_opt, flavour, mingw_tools_args, flavour_ext Traceback (most recent call last): File C:/mingw/msys/1.0/bin/jhbuild, line 31, in module jhbuild.main.main(sys.argv[1:]) File C:/mingw/msys/1.0/jhbuild\jhbuild\main.py, line 130, in main config = jhbuild.config.Config(options.configfile) File C:/mingw/msys/1.0/jhbuild\jhbuild\config.py, line 205, in __init__ self.setup_env() File C:/mingw/msys/1.0/jhbuild\jhbuild\config.py, line 429, in setup_env get_stderr = False).strip() File C:/mingw/msys/1.0/jhbuild\jhbuild\utils\cmds.py, line 63, in get_output **kws) File C:/mingw/msys/1.0/jhbuild\jhbuild\utils\subprocess_win32.py, line 112, in __init__ elif not command[0].endswith('.exe') or kws['shell']: KeyError: 'shell' 1. Install mingw, choose latest packages, c/c++ compiler, msys and developer kit. 2. Install mingw64 http://mingw-w64.sourceforge.net/ Choose the latest w32 build e.g. mingw32-w32-bin_i686-mingw_.zip http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targettin g%20Wi n32/Automated%20Builds/ Extract it to your machine on top of mingw, e.g. c:\mingw 3. Install Python27 Add python to your path (msys/1.0/etc/profile): export PATH=$PATH:/c/Python27 4. Get some needed packages mingw-get.exe install msys-wget mingw-get.exe install msys-openssl mingw-get.exe install msys-unzip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config_ 0.26-1 _win32.zip unzip pkg-config_0.26-1_win32.zip rm pkg-config_0.26-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config-dev_0. 26-1_win32.zip unzip pkg-config-dev_0.26-1_win32.zip rm pkg-config-dev_0.26-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome- common -dev_2.28.0-1_win32.zip unzip gnome-common-dev_2.28.0-1_win32.zip rm gnome-common-dev_2.28.0-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome- common _2.28.0-1_win32.zip unzip gnome-common_2.28.0-1_win32.zip rm gnome-common_2.28.0-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool-d ev_0.4 0.4-1_win32.zip unzip intltool-dev_0.40.4-1_win32.zip rm intltool-dev_0.40.4-1_win32.zip wget http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool_0