gimp

Image background transparent GIMP [closed]

蓝咒 提交于 2019-12-01 12:09:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have a few jpg images and I need to have a transparent background. I will add these images in a web page and I need to see just the main element of the image and the web page beneath. Does anyone know how to transform an image in one with a transparent background? I have GIMP. Thanks 回答1: You'll want to use a

Connect GIMP with PHP or Python

喜欢而已 提交于 2019-12-01 06:59:57
问题 is there any way to connect GIMP with python or PHP and use its libraries? It seems that all i can find on the web is pygimp which is not supported anymore. ps. i do my development on mac and i use linux as a production server 回答1: You can write GIMP plugins in Python (see, for example James Hestenridge's clothify, then call the plug-in from the command-line with a command of the form gimp -i -b '(python-fu-bw-film RUN-NONINTERACTIVE "/path/to/filename.jpg" 0 1 FALSE FALSE FALSE FALSE FALSE

Calculate colour temperature in K

余生长醉 提交于 2019-12-01 02:13:29
I have written a lib for working with colours and stuck trying to calculate Tc(k) . From what I have read working in the CIE 1931 XYZ colour space is the way to go and it can be obtained using xyY . So far I have got everything correct to the point of figuring out the correct x and y from : X Y x = ____________ y = ____________ ( X + Y + Z) ( X + Y + Z) The numbers much up to the chart, but cant find anything that details how you go from x and y to Tc(K) eg: For #FF0000 I get the following. x: 0.64007449945677 y: 0.32997051063169 I have read a number of papers on the topic and litterally all

GIMP

安稳与你 提交于 2019-11-30 19:22:56
1. 认识GIMP 2. GIMP与Photoshop的对比 3. GIMP官方手册教程 4. 2本GIMP的外文书下载 5. 2个外部入门教程 6. 其他相关软件 1. 认识GIMP GIMP是可用于GNU / Linux,OS X,Windows和更多操作系统的跨平台图像编辑器。 它是免费软件,您可以更改其源代码并分发您的更改。 无论您是平面设计师,摄影师,插图画家还是科学家,GIMP都能为您提供完善的工具来完成您的工作。 借助许多自定义选项和第三方插件,您可以使用GIMP进一步提高生产力。 https://www.gimp.org/downloads/ 2. GIMP与Photoshop的对比 https://zh.wikibooks.org/zh-hans/从Photoshop到GIMP GIMP不得不面临的一种情况就是人们会将其与Adobe Photoshop对比。 我们会在这个页面向您说明GIMP与Photoshop的共通之处与不同点。这将避免您在使用Photoshop的操作方法运用GIMP时遇到诸多困难。 剪刀选择工具-磁性套索工具 GIMP剪刀选择工具具备Photoshop磁性套索工具智能识别图形边缘的能力,但用法稍有区别。您可以通过创建和调整控制点的位置,决定所选区域,这是Photoshop做不到的。 gimp与ps操作上的差异 (操作) https://bbs

Split image into parts

瘦欲@ 提交于 2019-11-30 12:39:50
Is there anything in imagemagick or gimp or other linux compatible tool what can automatically detect individual objects on image and either return some location of object or store each object as separate image? I have image like this one : For other images where objects are located on a grid, I have successfully used crop operator in imagemagick, e.g. for 3x3 grid: convert -crop 3x3@ in-image.jpg out-image-%d.jpg I cannot use crop when there is no rectangular grid, but I thought that white color should be enough for objects separation. It can be done with ImageMagick in multiple steps. The

How to check if program was compiled with debug symbols? [duplicate]

江枫思渺然 提交于 2019-11-29 19:50:57
This question already has an answer here: How can I tell if a library was compiled with -g? 7 answers I'd like to trace some code in GIMP and therefore need GIMP with debug symbols enabled. I don't remember whether I have enabled them during compilation. How to check that without recompiling the program? You can use file and objdump on Linux. In particular, you can look at whether file says "stripped" or "not stripped", and whether objdump --syms outputs anything useful (for me, it says "no symbols" for a regular build). When running the objdump --syms command, I see much more than " no

How to extract text from a PSD file?

我的未来我决定 提交于 2019-11-29 16:41:26
问题 I need to extract the text from the layers in a photoshop PSD file on linux. Does anyone know how to do that? Gimp rasterizes the text and you can't copy and paste it. Also, note that I do not own the Photoshop program. 回答1: Have you tried using vim? VIM comes with a flag that lets you edit a binary file. I tried editing a PSD file with: vim -b file.psd This is an example of what I got when editing the file: <dict> <key>com.apple.print.PageFormat.PMAdjustedPageRect</key> <array> <real>0.0<

Split image into parts

人盡茶涼 提交于 2019-11-29 13:12:40
问题 Is there anything in imagemagick or gimp or other linux compatible tool what can automatically detect individual objects on image and either return some location of object or store each object as separate image? I have image like this one: For other images where objects are located on a grid, I have successfully used crop operator in imagemagick, e.g. for 3x3 grid: convert -crop 3x3@ in-image.jpg out-image-%d.jpg I cannot use crop when there is no rectangular grid, but I thought that white

How to check if program was compiled with debug symbols? [duplicate]

蹲街弑〆低调 提交于 2019-11-28 15:46:10
问题 This question already has answers here : How can I tell if a library was compiled with -g? (7 answers) Closed 3 years ago . I'd like to trace some code in GIMP and therefore need GIMP with debug symbols enabled. I don't remember whether I have enabled them during compilation. How to check that without recompiling the program? 回答1: You can use file and objdump on Linux. In particular, you can look at whether file says "stripped" or "not stripped", and whether objdump --syms outputs anything

Read SVG file with Python/PIL

与世无争的帅哥 提交于 2019-11-28 08:42:11
问题 I'm new to Python so please be patient with me. Basically my script should run like this: 1) Load an image and split it into R, G, B channels 2) Mark an area of that image with an existing path saved as a svg file and 3) perform some calculations with the R,G,B values of this area. (further send the the image either to folder A or B, depending on the outcome of the calc) I've done 1) and parts of 3) but my current problem is to load the svg file and apply it on my image. The image is a