Gimp-Forum.net
bigger preview hack ? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: bigger preview hack ? (/Thread-bigger-preview-hack)



bigger preview hack ? - Espermaschine - 01-22-2018

I played around with a few more obscure filters in Gimp (Sinus and GIMPressionist).
They all have tiny previews....

There was a kind of hack years ago, that could be installed to get bigger previews but they stopped working in later versions of Gimp.

http://gimpchat.com/viewtopic.php?f=9&t=8437
http://gimpchat.com/viewtopic.php?f=9&t=3876

Theres also a guy here, who claims that the gtkrc can be hacked to get bigger previews:
http://www.gimpusers.com/forums/gimp-user/11966-how-do-i-increase-the-size-of-the-little-preview-window


So, is there a way for windows ?


RE: bigger preview hack ? - Ofnuts - 01-22-2018

IIRC that "gtkrc" file also exists in Windows, even though it can be hard to find (somewhere in your AppData, I would guess)


RE: bigger preview hack ? - Espermaschine - 01-22-2018

(01-22-2018, 01:33 PM)Ofnuts Wrote: IIRC that "gtkrc" file also exists in Windows, even though it can be hard to find (somewhere in your AppData, I would guess)

when i do a search on my computer for gtkrc, i get 16 entries...
which one is it ?


RE: bigger preview hack ? - Ofnuts - 01-22-2018

Without a list it's hard for me to guess. Installed Gimp 2.8.22 for Windows in a pristine VM, only one "gtkrc" file in my user directory, coincidentally in the Gimp profile directory. It reads:
Code:
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set>       style <style_name>
# class  <widget_class_set> style <style_name>
#
# You can add your own GIMP-specific GTK styles here.


#
# Adjust the size of previews in plug-in dialogs:
#
style "gimp-large-preview"
{
  GimpPreview::size = 256
}

# class "GimpPreview" style "gimp-large-preview"



RE: bigger preview hack ? - Espermaschine - 01-22-2018

Hmm, i have one gtkrc for Inkscape, one for Gimp 2.9 (thats probably for a portable i tested), etc.

Tried editing the one in my Gimp 2.8 user folder, but the previews are unchanged.


RE: bigger preview hack ? - Ofnuts - 01-22-2018

Hmmm. Works for me:

[attachment=1347]

Did you un-comment (remove the leading "#") the "Class" line?


RE: bigger preview hack ? - Espermaschine - 01-22-2018

(01-22-2018, 09:01 PM)Ofnuts Wrote: Did you un-comment (remove the leading "#") the "Class" line ?

Right ! That did the trick !

But unfortunately i doesnt work for the filters i wanted (Render -> Sinus).... Confused


RE: bigger preview hack ? - Ofnuts - 01-22-2018

Documented as only working for the "standard" filters... (unless some filter authors thought about re-using the style for its
own filters)