gimp | Read-only mirror of https : //gitlab.gnome.org/GNOME/gimp

 by   GNOME C Version: GIMP_2_10_34 License: Non-SPDX

kandi X-RAY | gimp Summary

kandi X-RAY | gimp Summary

gimp is a C library. gimp has no bugs and it has medium support. However gimp has 16 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

This is an unstable development release, an intermediate state on the way to the next stable release: GIMP 3. GIMP 2.99 may or may not do what you expect. Save your work early and often. If you want a stable version, please use GIMP 2.10 instead. If you think you found a bug in this version, please make sure that it hasn’t been reported earlier and that it is not just new stuff that is still being worked on and obviously not quite finished yet. If you want to hack on GIMP, please read the file devel-docs/README.md. For detailed installation instructions, see the file INSTALL.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gimp has a medium active ecosystem.
              It has 4013 star(s) with 614 fork(s). There are 202 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              gimp has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of gimp is GIMP_2_10_34

            kandi-Quality Quality

              gimp has no bugs reported.

            kandi-Security Security

              gimp has 16 vulnerability issues reported (0 critical, 6 high, 10 medium, 0 low).

            kandi-License License

              gimp has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              gimp releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gimp
            Get all kandi verified functions for this library.

            gimp Key Features

            No Key Features are available at this moment for gimp.

            gimp Examples and Code Snippets

            No Code Snippets are available at this moment for gimp.

            Community Discussions

            QUESTION

            CAN frame over MQTT (need to convert hex string to byte array)
            Asked 2021-Jun-07 at 21:34

            I am implementing a MQTT communication. I want to send CAN frames over MQTT through a graphical interfaces (realized in python). I am able to send messages from the GUI to one topic and I am able to see messages arrived on the same topic (using paho library) when I use the board. The function is below and the topic is diagnostic_request/topic:

            ...

            ANSWER

            Answered 2021-Jun-04 at 15:16

            Taking the approach of "write the test first".....

            Source https://stackoverflow.com/questions/67833969

            QUESTION

            Python image types, shapes, and channels for segmentation
            Asked 2021-Jun-07 at 07:07

            I am using this tutorial for instance segmentation in PyTorch. The test data the tutorial uses includes images and accompanying image masks from a dataset available here. I have an example of one of the image masks from that data set here (example data for this question). That mask looks like this by default in the dataset:

            The tutorial uses this code:

            ...

            ANSWER

            Answered 2021-Jun-07 at 07:07

            Following is an example how to create a grayscale image representing classes for a segmentation task or similar.

            On some black background, draw some shapes with fill values in the range of 1, ..., #classes. For visualization purposes, this mask is plotted as perceived as a regular grayscale image as well as scaled to the said value range – to emphasize that the mask looks all black in general, but there's actual content in it. This mask is saved as a lossless PNG image, and then opened using Pillow, and converted to mode P. Last step is to set up a proper palette for the desired number of colors, and apply that palette using Image.putpalette.

            Source https://stackoverflow.com/questions/67642262

            QUESTION

            Why does text appear in browsers but not appear in image viewers?
            Asked 2021-May-28 at 08:39

            I am trying to render a chart but encounter a problem: The elements appear in browsers (Chrome, Firefox) but not in traditional image viewers (Eyes of GNOME, GIMP, Inkscape).

            Code

            At first, I thought that it was because image viewers are incapable of rendering fonts, until I came across an asciinema's thumbnail, which is displayed perfectly by Eyes of GNOME:

            Question: Why does this happen and how to fix this?

            ...

            ANSWER

            Answered 2021-May-28 at 07:32

            The reason is in nested SVGs:

            Source https://stackoverflow.com/questions/67733561

            QUESTION

            C++ Windows compiled program different behaviour to Linux
            Asked 2021-May-24 at 20:03

            I wrote some code for a Linux system to read/write bitmap files.

            I transfered this code to Windows, and attempted to compile it with Visual Studio 2019.

            I tested my program by opening a bitmap file and saving a copy of it. I found that only the first few lines of the bitmap image were written to file and the rest of the file was blank. (Black image color.)

            I was extremely confused by this so wrote an even simpler program which just dumps out the integer values of bytes in the file.

            I ran this on a 32 x 32 bitmap image file, where the file was saved from GIMP, with 24 bits per pixel format (R8 G8 B8), and "Do not write colorspace information" set in compatiablity options.

            I found that the below code prints data up to about i = 500, and then it prints zeros for the rest of the file.

            The file looks like this:

            It clearly does not contain large regions of zeros.

            Edit: I edited the below code to add an output file. The screenshot below the code shows the output produced. ...

            ANSWER

            Answered 2021-May-24 at 20:03

            Make sure you open your file in binary mode.

            Source https://stackoverflow.com/questions/67678091

            QUESTION

            What two alpha values give 1.0 alpha?
            Asked 2021-May-22 at 09:51

            My question is how exactly alpha addition works?

            Like when you add 0.5 and 0.5 alpha you don't get 1.0 alpha, you get ~0.75 alpha.
            (This works regardless of language or even program, it works like this in e.g. gimp too)

            So what are the two alpha values that exactly give 1.0 alpha?

            ...

            ANSWER

            Answered 2021-May-22 at 09:51

            They add like percentages. Your first 0.5 gives you 50%, and your second 0.5 gives you 50% of the remaining 50%, i.e. a further 25% - making 75% in total, i.e. 0.75

            They will only add to 1.0 if one of them is 1. So, if you want a fully opaque result, you might paste the combined images onto a fully opaque background.

            Source https://stackoverflow.com/questions/67648059

            QUESTION

            Why is my gaussian blur approximation half strength?
            Asked 2021-May-21 at 06:28

            I've implemented the stackblur algorithm (by Mario Klingemann) in Rust, and rewrote the horizontal pass to use iterators rather than indexing. However, the blur needs to be run twice to achieve full strength, comparing against GIMP. Doubling the radius introduces halo-ing.

            ...

            ANSWER

            Answered 2021-May-21 at 06:28

            Note that what you have implemented is a regular box filter, not stackblur (which uses a triangle filter). Also, filtering twice with a box of radius R is equivalent to filtering once with a triangle of radius 2*R, which explains why you get the expected result when running blur_horiz twice.

            Source https://stackoverflow.com/questions/67598124

            QUESTION

            Tkinter show grid on canvas
            Asked 2021-May-16 at 21:44

            I would like to show/hide a grid on a tkinter canvas, as seen in Gimp for instance.

            I have this code:

            ...

            ANSWER

            Answered 2021-May-16 at 19:35

            Try something like this:

            Source https://stackoverflow.com/questions/67560642

            QUESTION

            Get second last value in each row of dataframe, R
            Asked 2021-May-14 at 14:45

            I am trying to get the second last value in each row of a data frame, meaning the first job a person has had. (Job1_latest is the most recent job and people had a different number of jobs in the past and I want to get the first one). I managed to get the last value per row with the code below:

            first_job <- function(x) tail(x[!is.na(x)], 1)

            first_job <- apply(data, 1, first_job)

            ...

            ANSWER

            Answered 2021-May-11 at 13:56

            You can get the value which is next to last non-NA value.

            Source https://stackoverflow.com/questions/67486393

            QUESTION

            How to reorient (shift/offset) spherical (360-deg) images via command line with e.g. Imagemagick or The GIMP?
            Asked 2021-May-12 at 09:58

            I'm installing a remote network of spherical/360-degree cameras and need to have the images they produce all aligned with something (north). The problem is, the cameras might end up being mounted facing any random direction, so I need to shift/offset (horizontally) the image, and wrap whatever ends up outside the bounds of the image to the other side.

            After taking a sample image after installation of each camera, I will know the correct pixel value to offset the image and will be able to specify the offset value on a per-camera basis.

            The first half of this article explains how to do this in Photoshop (Filter menu > Other > Offset, specify an offset pixel value, and then enable the "wrap around" option). Photoshop offsets the image by the defined number of pixels, and any excess is automatically moved to the other side of the image to fill in the gap created by shifting the image.

            I just need to automate the offsetting of the image and wrap the excess around to the other side of the image so that no part of the image is actually lost, in a Linux (Raspbian) environment, via the command line. I am not able to use a GUI to do this as we're talking about millions of images in the long-term.

            I tried doing this with Imagemagick's geometry offset tool (convert -geometry +0+100 R0011996.JPG), but a) I couldn't figure out how to actually use it, and b) there doesn't seem to be an option like the "wrap around" option in Photoshop.

            I just realised The GIMP has an equivalent tool and a command-line interface and tried that, but couldn't find any decent documentation. I found the Procedure Browser, which said to use "gimp-drawable-offset". I tried the following, but it failed:

            ...

            ANSWER

            Answered 2021-May-12 at 09:58

            Thanks to Xenoid, who answered in a comment. The solution is simple:

            Source https://stackoverflow.com/questions/67498497

            QUESTION

            GIMP script-fu, can "file-glob" return only files with particular extentions?
            Asked 2021-May-11 at 20:13

            I'm trying to use python-fu in GIMP. I would like pdb.file_glob to return an array of image files in the format I specify. I tried:

            ...

            ANSWER

            Answered 2021-May-11 at 20:13

            The doc of all PDB functions can be found via the Python-fu console. Hit the Browse... button and then enter your search in the filter bar at the top of the left pane. This documentation is dynamic, it includes the documentation of any callable plugin/script (as long as authors have written some of course)

            The PDB functions for Python are a direct mapping of the script-fu API. In this specific case file_glob() was very recently added to the script-fu API because there is nothing in the base TinyScheme language to do it. In Python, you are better off using the standard Python API, os.walk() or glob.glob()/glob.iglob().

            In any case such functions only do simple pattern matching, if you want several extensions you want something like this:

            Source https://stackoverflow.com/questions/67477837

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gimp

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/GNOME/gimp.git

          • CLI

            gh repo clone GNOME/gimp

          • sshUrl

            git@github.com:GNOME/gimp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link