gimp

TIFF plot generation and compression: R vs. GIMP vs. IrfanView vs. Photoshop file sizes

为君一笑 提交于 2019-11-28 03:45:10
问题 I generated some high resolution publication quality plots for example library(plot3D) Volcano<-volcano zf=10 #zoom factor tiff("Volcano.tif", width=1800*zf, height=900*zf, res=175*zf, compression="lzw") image2D(z = Volcano, clab = "height, m",colkey = list(dist = -0.20, shift = 0.15,side = 3, length = 0.5, width = 0.5,cex.clab = 1.2, col.clab = "white", line.clab = 2,col.axis = "white", col.ticks = "white", cex.axis = 0.8)) dev.off() the file is 22 MB. Now I open the file with GIMP and

使用Gimp切图

▼魔方 西西 提交于 2019-11-28 02:21:27
一直以来切图一直都是在windows下面使用fireworks来做,或者ps来做。 最近转到力linux下面,而且也没有想转回去的意思了。专心研究如何在linxu下面进行切图。 下面简单介绍一下我现在的思路。 1. guide line http://docs.gimp.org/2.6/en/gimp-concepts-image-guides.html 这里是介绍参考线的使用。 2. 选择 滤镜-》网页-》slice 配置好(就像fireworks一样) 一切ok 相关参考资料: 猛击这里 转载于:https://www.cnblogs.com/TLightSky/archive/1970/01/01/2941457.html 来源: https://blog.csdn.net/weixin_30814319/article/details/99919853

ImageMagick “color to alpha” (like The GIMP)

南笙酒味 提交于 2019-11-27 21:38:25
I'm trying to do what The GIMP does when selecting "color to alpha" with an actual colour. I've got an image that has the color #a0132e in it, and I want that converted to transparency. Not only that exact colour, but any colour diverting from it, must become that much semi-transparent. That is what "color to alpha" does in GIMP. I've tried a million different things, but I can't get my head around it. I've been frustrating myself for a couple of hours trying the -fx parameter and it's absolutely weird syntax, so that didn't help at all. Perhaps some of the options for convert will do the

How to run python scripts using gimpfu from windows command line?

扶醉桌前 提交于 2019-11-27 02:13:28
I'm trying to use functions of gimp 2.8.22 to convert a pdf to jpeg and i want to do that with a python script using the gimpfu library from my windows cmd (i have installed python 3.6.1). Right now, i't trying to do that with an example script: #!/usr/bin/env python # Hello World in GIMP Python from gimpfu import * def hello_world(initstr, font, size, color) : # First do a quick sanity check on the font if font == 'Comic Sans MS' : initstr = "Comic Sans? Are you sure?" # Make a new image. Size 10x10 for now -- we'll resize later. img = gimp.Image(1, 1, RGB) # Save the current foreground color

ImageMagick “color to alpha” (like The GIMP)

独自空忆成欢 提交于 2019-11-26 23:04:33
问题 I'm trying to do what The GIMP does when selecting "color to alpha" with an actual colour. I've got an image that has the color #a0132e in it, and I want that converted to transparency. Not only that exact colour, but any colour diverting from it, must become that much semi-transparent. That is what "color to alpha" does in GIMP. I've tried a million different things, but I can't get my head around it. I've been frustrating myself for a couple of hours trying the -fx parameter and it's

GIMP基本功能和教程!

Deadly 提交于 2019-11-26 18:36:58
以剪贴板为内容创建一个工作布:SHIFT + CTRL + V 或者:File -> Create ->From Clipboard 取消选择:SHIFT + CTRL + A 或者:Select -> None 反选(选补集):CTRL + I 或者: Select -> Invert 缩小(放大)选取:Select -> Shrink (Grow) 70个GIMP试例: http://garmahis.com/tutorials/gimp-tutorials/ GIMP社区: http://www.gimptalk.com/ GIMP教程社区: http://www.gimpology.com/ GIMP中文社区: http://www.gimpbox.com/ 转载于:https://www.cnblogs.com/Leo-Forest/archive/2012/05/28/2521069.html 来源: https://blog.csdn.net/weixin_30528371/article/details/99022555

How to run python scripts using gimpfu from windows command line?

久未见 提交于 2019-11-26 07:49:35
问题 I\'m trying to use functions of gimp 2.8.22 to convert a pdf to jpeg and i want to do that with a python script using the gimpfu library from my windows cmd (i have installed python 3.6.1). Right now, i\'t trying to do that with an example script: #!/usr/bin/env python # Hello World in GIMP Python from gimpfu import * def hello_world(initstr, font, size, color) : # First do a quick sanity check on the font if font == \'Comic Sans MS\' : initstr = \"Comic Sans? Are you sure?\" # Make a new