Can I put an image in Dr. Geo?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Can I put an image in Dr. Geo?

Anthony Tekatch
Dragging an image from the file browser directly in the Dr. Geo window
does not work for Ubuntu 10.10

Any suggestions?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Can I put an image in Dr. Geo?

HilaireFernandes
Administrator
Hello Anthony,

It works for me with 10.04 LTS, it should work with 10.10.
Is there any things special with your set up?

See the enclosed screenshot, with two dragged and dropped images.

Hilaire

2011/3/26 Anthony Tekatch <[hidden email]>
Dragging an image from the file browser directly in the Dr. Geo window
does not work for Ubuntu 10.10

Any suggestions?

Thanks



--
Dr. Geo, to discover geometry on Linux, Windows, MAC and XO
http://community.ofset.org/index.php/DrGeo

drgeo-and-image.jpg (130K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can I put an image in Dr. Geo?

Anthony Tekatch
Thank you Hilaire,

Ah I see the problem now. I'm using GNU Dr.Geo 1.1.0 from the Ubuntu 10.10 64 bit repository. And the downloadable DrGeo 11.03.01 from this site gives me this error "This Squeak version does not support Linux-x86_64". Is there an easy solution?

I can get the new Dr.Geo (11.03.01) to start in Wine, but dragging a PNG or BMP image from the GNOME file manager does not seem to work. Does it have to be done within Wine?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Can I put an image in Dr. Geo?

Anthony Tekatch
I see from another post that the "Renaming the directory Linux-i686 to Linux-x86_64 solve it!" , and that did work for my 64 bit install.

Now I can have these options when dropping an image:
1. Read Graphics into ImageImports - does not show up.
2. Open Graphic in a Window - allows me to drop in the graphic, but it does not scale/zoom with the geometry.
3. Use as background image - brings graphic outside of DrGeo window.

What I really wanted was to be able to lay geometry over a graphic for measurements etc. Do you know if that is possible.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Can I put an image in Dr. Geo?

Hilaire Fernandes
Administrator
Le 26/03/2011 15:47, Anthony Tekatch a écrit :
> I see from another post that the "Renaming the directory Linux-i686 to
> Linux-x86_64 solve it!" , and that did work for my 64 bit install.

Yes I will integrate a fix in the next release.

> Now I can have these options when dropping an image:
> 2. Open Graphic in a Window - allows me to drop in the graphic, but it does
> not scale/zoom with the geometry.


> What I really wanted was to be able to lay geometry over a graphic for
> measurements etc. Do you know if that is possible.

and you need to scale it right? I have noted this problem when scaling
imported graphic, I have forwarded this problem to the Smalltalk Pharo
developers.

Nevertheless you can lay a graphic in a DrGeo window and ask it to
adhere to an edge. You may want it to scale and move when using the
DrGeo wheels but this feature is not implemented yet.

Hilaire


--
Education 0.2 -- http://blog.ofset.org/hilaire
Was this message helpful?
Tell us!
Reply | Threaded
Open this post in threaded view
|

Re: Re: Can I put an image in Dr. Geo?

Hilaire Fernandes
Administrator
In reply to this post by Anthony Tekatch
I found a temporary workaround: if you first rotate a little the
graphic, then you can scale it as wished. It is because rotating mutate
the ImageMorph in a TransformationMorph. It will be better if the image
could be imported in this later form first.

Hilaire

Le 26/03/2011 15:47, Anthony Tekatch a écrit :
> 2. Open Graphic in a Window - allows me to drop in the graphic, but it does
> not scale/zoom with the geometry.


--
Education 0.2 -- http://blog.ofset.org/hilaire
Was this message helpful?
Tell us!
Reply | Threaded
Open this post in threaded view
|

Re: Re: Can I put an image in Dr. Geo?

Anthony Tekatch
I can see how to scale and rotate now (Shift middle-button), thanks for the tip. But I just wanted to apply geometric shapes over an image for measurement purposes, and the wheels only scale the geometry and not the image.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Can I put an image in Dr. Geo?

Hilaire Fernandes
Administrator
Anthony,

I have filled a ticket in the DrGeo bug tracker. Add any comments, here
or in the ticket

I have this DrGeo example with a Newton telescope picture and an
interactive model build with DrGeo canvas, but so far I have not
investigated much in integrating picture in the canvas.

Hilaire

Le 26/03/2011 20:10, Anthony Tekatch a écrit :
> I can see how to scale and rotate now (Shift middle-button), thanks for the
> tip. But I just wanted to apply geometric shapes over an image for
> measurement purposes, and the wheels only scale the geometry and not the
> image.
Was this message helpful?
Tell us!