Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GIMP and stereograms / 3D-pictures ("Magic Eye")

557 views
Skip to first unread message

Markus Triska

unread,
Jun 5, 2004, 4:31:41 PM6/5/04
to
Good news if you want to create stereograms with the GIMP: I have ported
Alexander Schulz' "Magic Eye" plug-in to the GIMP 2.0 API. It can be
downloaded from the plug-in registry:

http://registry.gimp.org/plugin?id=260

(choose magiceye-0.4.0.tar.gz)


Vanilla install instructions:

tar -xvzf magiceye-0.4.0.tar.gz
cd magiceye-0.4.0
./configure
make
cp src/magiceye ~/.gimp-2.0/plug-ins/


The plug-in registers itself in Filters->Render->Magic Eye... on
startup. It only works on greyscale images (= depth information). You
can choose another image (for example, filled with a pattern) to
"obfuscate" (= make stereogram of) the picture.

Feedback is appreciated.

Best regards,
Markus.

Michael Schumacher

unread,
Jun 6, 2004, 6:18:46 AM6/6/04
to
Markus Triska <tri...@gmx.at> writes:

> http://registry.gimp.org/plugin?id=260
>
> (choose magiceye-0.4.0.tar.gz)

> Feedback is appreciated.

Works, but I get the following message:

(magiceye:2532): Gtk-WARNING **: Attempting to add a widget with type
GtkTable to a container of type GtkFrame, but the widget is already
inside a container of type GtkFrame, the GTK+ FAQ at
http://www.gtk.org/faq/ explains how to reparent a widget.


I'm on Win32, using the goimp-2-0 branch with GTK+ 2.4.1.

HTH,
Michael

--
The GIMP > http://www.gimp.org | IRC: irc://irc.gimp.org/gimp
Sodipodi > http://sodipodi.sf.net | IRC: irc://irc.gimp.org/sodipodi

Markus Triska

unread,
Jun 6, 2004, 11:06:21 AM6/6/04
to
> Works, but I get the following message:
>
> (magiceye:2532): Gtk-WARNING **: Attempting to add a widget with type
> GtkTable to a container of type GtkFrame, but the widget is already
> inside a container of type GtkFrame, the GTK+ FAQ at
> http://www.gtk.org/faq/ explains how to reparent a widget.
>
>
> I'm on Win32, using the goimp-2-0 branch with GTK+ 2.4.1.
>

Thank you, this will be fixed in the next release. In the meantime, you
can delete line 185 from dialog.c:

gtk_container_add(GTK_CONTAINER(frame), table);

(This is an accidental and unnecessary duplicate of line 101.)

Best regards,
Markus.

0 new messages