The cross-platform nature of both GIMP and Python means you can write complex plug-ins for GIMP using Python and be able to run them on a variety of platforms. You can install and use both GIMP and Python on many different platforms, including Linux®, Mac OS® X, and Microsoft® Windows®. In this article, you learn how to write Python code that allows you to automate two different tasks in GIMP: resizing images and saving them as different formats. You can instantiate the GIMP-Python scripts from inside GIMP itself, or you can use GIMP’s batch mode to start it from the command line. In GIMP-Python, the Python script takes center stage and does the work. In Script-Fu, a plug-in is used to execute scripts. GIMP-Python is different from the Script-Fu extensions. These Python modules are wrappers around the libgimp libraries. This article is about using GIMP-Python, which is a set of Python modules that allow you to do programming in Python to automate commands in GNU Image Manipulation Program (GIMP).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |