Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  


Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,813
» Latest member: pace514
» Forum threads: 6,217
» Forum posts: 28,645

Full Statistics

Online Users
There are currently 61 online users.
» 4 Member(s) | 57 Guest(s)
iForStyle007, INV_SIG, pace514, XxMiakatxX

Latest Threads
GIMP 2.8 on Mac // Huion ...
Last Post by: iForStyle007
Today 23:47
» Replies: 1
» Views: 34
batch processing
Last Post by: pace514
Today 23:42
» Replies: 0
» Views: 0
Calling script from cmd u...
Last Post by: INV_SIG
Today 22:29
» Replies: 15
» Views: 120
How to change this arrow
Last Post by: ofnuts
Today 21:26
» Replies: 1
» Views: 20
Script fu and Color to al...
Last Post by: suni40
Today 20:32
» Replies: 3
» Views: 125
How to Enlarge simple sti...
Last Post by: FenceGuy
Today 16:54
» Replies: 8
» Views: 80
What would your last meal...
Last Post by: mcpon14
Today 14:58
» Replies: 6
» Views: 312
View Most Recent Posts of...
Last Post by: iForStyle007
Today 04:17
» Replies: 6
» Views: 125
Can't fill outside of tex...
Last Post by: ofnuts
Yesterday 22:27
» Replies: 3
» Views: 54
Help with adding image to...
Last Post by: Mandzukic
Yesterday 19:21
» Replies: 3
» Views: 100

 
  How to change this arrow
Posted by: chrisj - Today 21:12 - Replies (1)

I like the size of the image, but I's like to make the arrow thinner (about half as wide) and then change it's color. How can I accomplish this, please?



Attached File(s) Image(s)
   
Print this item Send this item to a friend

  GIMP 2.8 on Mac // Huion h610 Pro pressure sensitivity not working!
Posted by: XxMiakatxX - Today 18:06 - Replies (1)

I've read so many forum posts and seriously have met a dead end! Undecided

So, I'm running mavericks, with a huion h610 pro graphics tablet, the pressure sensitivity does work on this (as tested in the tablet's settings) - but when it comes to running gimp, literally nothing will work.

I can draw, but there's no pressure sensitivity. I'm not sure if my tablet is even recognised in gimp? 'Input Devices' just shows: Core Pointer, Quartz Pointer, Quartz Eraser and Quartz Paintbrush...they're all set to "Screen" - but still nothing??

I've tried creating a dynamic brush of Pressure Size, but that doesn't work either...still no pressure sensitivity. Huh

Does anyone have any ideas as to how to solve this?? I've tried a whole bunch of GIMP versions and none of them are working...I even tried downloading 2.6 with XQuartz but the applications just don't open, they literally just won't load! ):

Thanks~

Print this item Send this item to a friend

  How to Enlarge simple stick fence panel diagram?
Posted by: FenceGuy - Yesterday 21:40 - Replies (8)

Can anyone point in the right direction?

I would like to use Gimp to increase the size of the vertical pickets and horizontal rails... in the attached picture/diagram?

I want to make this fence panel bolder "looking" with larger sticks (rails and pickets).

Any suggestions would be most appreciated.

Thanks.



Attached File(s) Thumbnail(s)
   
Print this item Send this item to a friend

  Calling script from cmd under Linux outputs strange behaviour
Posted by: INV_SIG - Yesterday 17:48 - Replies (15)

This is supposed to be run under Linux, Ubuntu

I have made following script processingpart.py
[undefined=undefined]#!/usr/bin/python
# -*- coding: iso-8859-15 -*-
import os,glob,sys,time
import gimpfu
import shutil
from gimpfu import *

brightness = 10
contrast = 40
threshold_value1 = 225
threshold_value2 = 25

# processing function... called from exec function in php
def processme(infile):
print "Processing file %s " % infile

if infile.endswith('.png'):
image = pdb.file_png_load(infile,infile)
drawable = pdb.gimp_image_get_active_layer(image)
elif infile.endswith('.jpg'):
image = pdb.file_jpeg_load(infile,infile)
drawable = pdb.gimp_image_get_active_layer(image)

print "File %s loaded OK" % infile
# 1.colors -> levels, auto, ok
pdb.gimp_levels_stretch(drawable)
# 1.colors -> brightness-contrast
pdb.gimp_brightness_contrast(drawable,brightness,contrast)

# 2.creates two copies of a layer drawable
drawableOne = pdb.gimp_layer_copy(drawable, 0)
drawableTwo = pdb.gimp_layer_copy(drawable, 0)
pdb.gimp_image_insert_layer(image, drawableOne, None, -1)
pdb.gimp_image_insert_layer(image, drawableTwo, None, -2)
# 2a.hides layer drawable
pdb.gimp_item_set_visible(drawable,0)
# 3.sets desaturate to AVERAGE
pdb.gimp_desaturate_full(drawableTwo, 2)
# 4.creates three copies of a layer drawableTwo
drawableThree = pdb.gimp_layer_copy(drawableTwo, 0)
drawableFour = pdb.gimp_layer_copy(drawableTwo, 0)
drawableFive = pdb.gimp_layer_copy(drawableTwo, 0)
pdb.gimp_image_insert_layer(image, drawableThree, None, -3)
pdb.gimp_image_insert_layer(image, drawableFour, None, -4)
pdb.gimp_image_insert_layer(image, drawableFive, None, -5)
# 5. sets mode from normal to dodge
pdb.gimp_layer_set_mode(drawableFive, 16)
# 6. filter->blur->gaussian blur, sets pixels to 4.0 for horizontal and vertical
pdb.plug_in_gauss(image, drawableFive, 4.0, 4.0, 1)
# 7. colors-> invert
pdb.gimp_invert(drawableFive)
# 8. merges down
cc = pdb.gimp_image_merge_down(image, drawableFive, 0)
# 9. applies treshold from 127 to 240.
pdb.gimp_threshold(cc,threshold_value1, 255)
# 10. sets mode from normal to miltiply
pdb.gimp_layer_set_mode(cc, 3)
# 11. selects second layer, applies treshold from 127 to 30
pdb.gimp_threshold(drawableThree, threshold_value2, 255)
# 12. sets mode from normal to miltiply
pdb.gimp_layer_set_mode(drawableThree, 3)
# 13. sets mode from normal to divide
pdb.gimp_layer_set_mode(drawableTwo, 15)
# 14. merges down
tt = pdb.gimp_image_merge_down(image, drawableTwo, 0)
# 15.hides layer drawable
pdb.gimp_item_set_visible(drawable,1)
# 15a. sets mode from normal to value
pdb.gimp_layer_set_mode(tt, 14)
# 16 image flattening
ee = pdb.gimp_image_flatten(image)
outfile='prcsd'+os.path.basename(infile)
originalFile=os.path.join('original',os.path.basename(infile))

outfile=os.path.join(os.path.dirname(infile),outfile)
#originalFile=os.path.join(os.path.dirname(infile),infile)
print "Saving to %s" % outfile
# 17. saves as PNG file
pdb.file_png_save(image, ee, outfile, outfile, 1,9,1,1,1,1,1)
print "Saved to %s" % outfile
pdb.gimp_image_delete(image)
pdb.gimp_quit(1)[/undefined]

Now I have made another script, callme.py, to call it like

[undefined=undefined]import glob,sys
import os

def callme(imagee):
cmd0 = 'gimp -b -idf --batch-interpreter python-fu-eval -b "import sys,os;sys.path=[\'.\']+sys.path;import processingpart;'
cmd1 = 'processingpart.processme({0!r})'.format(imagee)
cmd2 = '"-b "pdb.gimp_quit(0)"'
cmdfinal = cmd0 + cmd1 + cmd2
os.system(cmdfinal)

if __name__ == "__main__":
a = sys.argv[1]
callme(a)[/undefined]

When I call it from cmd line by
[undefined=undefined]python /usr/libs/gimp/2.0/plug-ins/processingpart.py /var/www/html/files/1.jpg[/undefined]
I get following output in cmd
[undefined=undefined] Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
Killed
$ Killed
Killed
Killed
Killed
Killed
Killed
Killed
...x200 Killed
Killed
Killed
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 68, in <module>
import os
File "/usr/lib/python2.7/os.py", line 398, in <module>
import UserDict
File "/usr/lib/python2.7/UserDict.py", line 83, in <module>
import _abcoll
File "/usr/lib/python2.7/_abcoll.py", line 11, in <module>
from abc import ABCMeta, abstractmethod
File "/usr/lib/python2.7/abc.py", line 8, in <module>
from _weakrefset import WeakSet
ImportError: No module named _weakrefset

(gimp-console:13227): LibGimpBase-WARNING **: gimp-console: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 68, in <module>
import os
File "/usr/lib/python2.7/os.py", line 398, in <module>
import UserDict
File "/usr/lib/python2.7/UserDict.py", line 83, in <module>
import _abcoll
File "/usr/lib/python2.7/_abcoll.py", line 11, in <module>
from abc import ABCMeta, abstractmethod
File "/usr/lib/python2.7/abc.py", line 8, in <module>
from _weakrefset import WeakSet
ImportError: No module named _weakrefset

(gimp-console:13227): LibGimpBase-WARNING **: gimp-console: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 68, in <module>
import os
File "/usr/lib/python2.7/os.py", line 398, in <module>
import UserDict
File "/usr/lib/python2.7/UserDict.py", line 83, in <module>
import _abcoll
File "/usr/lib/python2.7/_abcoll.py", line 11, in <module>
from abc import ABCMeta, abstractmethod
File "/usr/lib/python2.7/abc.py", line 8, in <module>
from _weakrefset import WeakSet
ImportError: No module named _weakrefset

(gimp-console:13227): LibGimpBase-WARNING **: gimp-console: gimp_wire_read(): error
GIMP-Error: Unable to run plug-in "python-eval.py"
(/usr/lib/gimp/2.0/plug-ins/python-eval.py)

Too many open files

batch command experienced an execution error:
Failed to run plug-in "python-eval.py"
GIMP-Error: Unable to run plug-in "python-eval.py"
(/usr/lib/gimp/2.0/plug-ins/python-eval.py)

pipe() failed: Too many open files

batch command experienced an execution error:
Failed to run plug-in "python-eval.py"

Killed
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/python-eval.py", line 19, in <module>
from gimpfu import *
ImportError: No module named gimpfu
$ $ -sh: 444: Too: not found
$ $ -sh: 446: batch: not found
$ -sh: 447: Failed: not found
$ -sh: 448: GIMP-Error:: not found
$ Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/python-eval.py", line 19, in <module>
from gimpfu import *
ImportError: No module named gimpfu
$ $ $ $ -sh: 453: batch: not found
$ -sh: 454: Failed: not found
[/undefined]

Print this item Send this item to a friend

  Help with adding image to gif
Posted by: Mandzukic - Yesterday 06:47 - Replies (3)

Hello everyone i need your help.
I am using gimp 2.8

I want to learn how to make gif like this

https://www.youtube.com/watch?v=obJTg2m2fU8

Anyone have turitorial on youtube or can make one ? Smile

Print this item Send this item to a friend

  Need help skinning .tga
Posted by: digital_entropy - Sep 17, 2014 22:25 - Replies (1)

I'm skinning a weapon for Counter Strike global offensive. Whenever I open the file it looks like this (attachment).



Attached File(s) Thumbnail(s)
   
Print this item Send this item to a friend

  What is the algorithm used for "Equalize"?
Posted by: Videogamer555 - Sep 16, 2014 18:39 - Replies (1)

Can somebody tell me what algorithm is used by Gimp for "Equalize"? I'm writing a program of my own, and it uses histogram equalization according to Wikipedia's article:
http://en.wikipedia.org/wiki/Histogram_equalization

The results of my program are visibly different from the results of Gimp. I turned off color management in Gimp, since my program doesn't use color management, so that I could compare the results more accurately. Unfortunately, the results still don't match. I hope someone here can explain just what Gimp is doing for the "Equalize" function. Anybody here in these forums have access to the Gimp source code?

Print this item Send this item to a friend

  Help with calling gimp in linux
Posted by: INV_SIG - Sep 16, 2014 18:16 - Replies (7)

I have made following script in Python,


[undefined=undefined]def process(infile):
print "Processing file %s " % infile

if infile.endswith('.png'):
image = pdb.file_png_load(infile,infile)
drawable = pdb.gimp_image_get_active_layer(image)
elif infile.endswith('.jpg'):
image = pdb.file_jpeg_load(infile,infile)
drawable = pdb.gimp_image_get_active_layer(image)
....


.....
outfile=os.path.join(os.path.dirname(infile),outfile)
#originalFile=os.path.join(os.path.dirname(infile),infile)
print "Saving to %s" % outfile
# 17. saves as PNG file
pdb.file_png_save(image, ee, outfile, outfile, 1,9,1,1,1,1,1)
shutil.move(infile, './images/original')
#pdb.file_png_save(image, ee, originalFile, originalFile, 1,9,1,1,1,1,1)
print "Saved to %s" % outfile
pdb.gimp_image_delete(image)[/undefined]


Now I need to call this from linux cmd on particular image, however I don't know how? Any help is appreciated.

Print this item Send this item to a friend

  Intelligent background blur?
Posted by: ianp5a - Sep 14, 2014 17:11 - Replies (7)

Is there a clever tool or plugin that can automatically create a blurred background to a portrait based on multiple images?
There are techniques for calculating the depth map from pitures taken from differetn locations. EG the Google camera on Android phones can do this by taking 2 pictures. You have to move the phone up a bit for the second picture

Print this item Send this item to a friend

  A Few Questions
Posted by: anon_private - Sep 14, 2014 12:16 - Replies (1)

How do I draw straight lines?

Where are the graphics brushes: circles, squares, etc. - hollow, solid.

Various pens, etc

The fonts are a little different to PowerPoint. I assume presentations will show very similarly in PPT.

I find layering a little diifficult to understand at present - sometime layer on layer, if deleting

Thanks

Ps. What is a Poll used for (under Thread Subscriptions)

Print this item Send this item to a friend


GIMP ForumPortalArchiveContactTermsRSS