Adding Adjustable Shapes to Drawing Editor

Asked by misterich

Hello,

- Ubuntu 10.10 (Maverick Meerkat )
- Shutter 0.86.3 (Rev.881)

You've got a great tool here! I have some questions that maybe you can help me with. I can send examples of what I'm after if you would like, and I'd be happy to contribute code if need be (Perl, Java, C/C++, Python, shell, whatever)

1. I'd like to be able to create my own adjustable shapes in the drawing editor. For example, right now Shutter has arrows, boxes, ellipses, etc. However, I'd like to be able to create my own shapes --- for example, a rounded rectangle, or some sort of polygon. Perhaps some sort of importer from an SVG file or something?

2. I'd like to be able to able to change the background and border of text labels. It's similar to #1 -- essentially, a polygon where I can put text into it.

3. I'd like to be able to edit annotations in the drawing editor between sessions. For example:
a. Editor > Add some text, a box, and an arrow to a screenshot
b. Save / Close editor
c. Editor > change box size

I realize that the annotations are merged back into the saved file, however if the annotations could be saved off as an SVG (where the screenshot image is merely linked) that would be **awesome**

4. On the screenshot names, it would be very helpful if there were an option to remove spaces from the file names that are saved automatically (e.g.: replace w/ underscore). Often I find myself having to take tens (sometimes hundreds) of screenshots, make an annotation or three, and then use ImageMagick commands to do some batch processing. For example,

    for file in `ls -1 raw/*.png`;
    do
        convert raw/$file -crop 1024x768+1+23 +repage raw/1024x768/$file;
        convert raw/1024x768/$file -resize 784 +repage 768w/$file;
        pngnq -vn 256 -e .png -d 768w/web/ 768w/$file;
    done

When the name of the window has a space in it (for example, my VNC window might be "VNC: MacOS X Test Machine") it *really* wreaks havoc with the for loop.

Thanks again for a great tool!

Question information

Language:
English Edit question
Status:
Answered
For:
Shutter Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Mario Kemper (Romario) (mario-kemper) said :
#2

Sorry for the delay:

1) This is not possible and I think it never will be. The DrawingTool was designed to be a simple editor.

2) This is partially implemented already. I will add that soon.

3) You can export it to SVG, but it is not possible to edit this SVG file with Shutter's editor again. You can use Inkscape or something.

4) Using "$file" instead of $file should do the trick, doesn't it?

Revision history for this message
Mario Kemper (Romario) (mario-kemper) said :
#3

changed from "expired" to "answered".

Can you help with this problem?

Provide an answer of your own, or ask misterich for more information if necessary.

To post a message you must log in.