This extension is great, but I found a problem. On my OOo 2.3.1, Win 98 in Draw or Impress after croping is changed aspect ratio. See www.volny.cz/tombil/CropBugInDraw.png
Is it my problem only?
I love your macro. It makes it much easier to do simple cropping of images inside a document. However, when I tried to use it at first it kept giving me an error. So, I changed the following in the macro code and all is now well.
In the Sub Do_Crop_Impress function
I changed MyPage.Remove(rect)
to im.parent.Remove(rect)
I just changed where the error was I did not check your variable definitions.
Chad Frerichs
Director Of Technology
Okoboji Community Schools
I don't know if you are familiar with the work of Dr. Shamir (Efi Arazi School of Computer Science)¹. He introduced a great method to non-uniformly re-size pictures without any distortion or artifacts. Here is the original paper: http://www.faculty.idc.ac.il/arik/imret.pdf
GIMP is using it also (under the name Liquid Rescale²) as plug-in. Maybe the algorithm is worth checking out?
For my opinion, OpenOffice.org is not designed to performs such actions. Typically, I think you've to use an software specialized in image manipulation to do this (like GIMP).
But I agree with you that an easy way to launch GIMP (or other) from OOo would be great : Select an image, clic on a button which open the image in GIMP, do what you want and when you've finish, just find your modified picture in place of the old one...
That's a way to explore...
This extension is really great. It's simple and fast (saves a lot of time). The only downside is that there is no undo. However, there is actually no real need for this because images can be reloaded any time.
Do you plan to make your other extensions (PubOOo, ClipOOo) public here too?
Waow... Thanks a lot.
For PubOOo, I don't think is place is here, because this is not an extension, but a external program based on OOo macro...
For ClipOOo, I have some difficulties with English translations, but I'll release it here soon.
Oh sorry I did not check the sources of PubOOo, thus I did not see that this is an external program.
I speak some French (English and German). If you tell me what to do I can try to help you.
Comments
great extension
tanks, this works perfect on OpenOffice 2.4 on Linux Ubuntu 8.04 is very useful.
gracias, excelente extensión, la versión 0.2.1 trabaja perfectamente en OpenOffice 2.4 sobre Ubuntu 8.04
Cortar as imagens
Este suplemento permite cortar parte das imagens
Jacinto Leal
There's more
And when you close the file down in Draw it shows some new "window"
Can you help please. I want a simple crop tool and no strange window on closing.
Crop tool extension
I can't get it to work. What am I doing wrong?
Defect aspect ratio
This extension is great, but I found a problem. On my OOo 2.3.1, Win 98 in Draw or Impress after croping is changed aspect ratio. See www.volny.cz/tombil/CropBugInDraw.png
Is it my problem only?
Tom B.
Bug?
I love your macro. It makes it much easier to do simple cropping of images inside a document. However, when I tried to use it at first it kept giving me an error. So, I changed the following in the macro code and all is now well.
In the Sub Do_Crop_Impress function
I changed MyPage.Remove(rect)
to im.parent.Remove(rect)
I just changed where the error was I did not check your variable definitions.
Chad Frerichs
Director Of Technology
Okoboji Community Schools
Yes it was
Thanks for your post. Yes it was a bug... a stupid mistake between local and global variables...
Now It's OK. I have post a new release (0.2.1)
AlicVB
non-uniformly resizing of pictures
I don't know if you are familiar with the work of Dr. Shamir (Efi Arazi School of Computer Science)¹. He introduced a great method to non-uniformly re-size pictures without any distortion or artifacts. Here is the original paper:
http://www.faculty.idc.ac.il/arik/imret.pdf
GIMP is using it also (under the name Liquid Rescale²) as plug-in. Maybe the algorithm is worth checking out?
P.
-----------
¹ http://www.faculty.idc.ac.il/arik/
² http://liquidrescale.wikidot.com/
For my opinion,
For my opinion, OpenOffice.org is not designed to performs such actions. Typically, I think you've to use an software specialized in image manipulation to do this (like GIMP).
But I agree with you that an easy way to launch GIMP (or other) from OOo would be great : Select an image, clic on a button which open the image in GIMP, do what you want and when you've finish, just find your modified picture in place of the old one...
That's a way to explore...
AlicVB
my extension of the day
This extension is really great. It's simple and fast (saves a lot of time). The only downside is that there is no undo. However, there is actually no real need for this because images can be reloaded any time.
Do you plan to make your other extensions (PubOOo, ClipOOo) public here too?
Regards
Peter
Thanks
Waow... Thanks a lot.
For PubOOo, I don't think is place is here, because this is not an extension, but a external program based on OOo macro...
For ClipOOo, I have some difficulties with English translations, but I'll release it here soon.
AlicVB
Translation
Oh sorry I did not check the sources of PubOOo, thus I did not see that this is an external program.
I speak some French (English and German). If you tell me what to do I can try to help you.
Regards
P.
Thanks a lot. I have to find
Thanks a lot. I have to find an easy way to list all terms to translate. Then, if you want, i'll send you a mail for somme help.
AlicVB
Translation
Sorry for the late reply. Sure, just sent me the terms and I'll do my best.
Regards
P.