locked
How to edit an image? RRS feed

  • Question

  • I have an image which i want to edit. e.g. say i took a screenshot of a win form and pasted in bmp file and opened in expression design. Now i want to change that winform and add few controls to it. how to do this? thanks!


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 25, 2008 10:39 PM

Answers

  • There are no ready control images in design. If you wanna to draw a button, for example, over the image of your form, you should draw a rectangle, put some text over it and then draw the borders with some lines to give the impression of a raised item (or put a gradient on it for XP styled items).

    You have to consider that Designer is mainly a vector tool. You cannot directly change the bitmap but you can draw anything you like over it. When you are satisfied with your drawing, you can use the export function to save the original bitmap and the overlaid vectorial objects as a new updated bitmap. As Annie told you, use a slice to export only the part of the drawing canvas you need.

    Some other ideas that may help you:

    Check the Object-->Image-->Create image object tool. This tool will allow you to clone anything on your drawing into a new bitmap. So if you already have the image of a button, or of a textbox, on your bitmap, you can use the Create Image Object to make a clone of it and then place it anywhere you like. Then you can use the text tool to draw a different caption on it.

    If you need to use the very same colors of your bitmap, use the color eyedropper located in the color swatches area to pick colors from the bitmap. It works like the "pick color" in paintbrush.

    You can also enable the grid to help you size correctly what you draw.

    • Marked as answer by Vikas-Ahuja Thursday, November 27, 2008 10:34 PM
    Saturday, April 26, 2008 1:36 AM

All replies

  • You might just create a new layer above the bitmap and create some vector controls where you want them. When you're done you could create a slice around the bitmap and export the slice as a bitmap. Because the controls would be on top of the bitmap, the vector objects would be included in the slice. Does that work for you?
    Annie
    Saturday, April 26, 2008 1:06 AM
    Moderator
  • There are no ready control images in design. If you wanna to draw a button, for example, over the image of your form, you should draw a rectangle, put some text over it and then draw the borders with some lines to give the impression of a raised item (or put a gradient on it for XP styled items).

    You have to consider that Designer is mainly a vector tool. You cannot directly change the bitmap but you can draw anything you like over it. When you are satisfied with your drawing, you can use the export function to save the original bitmap and the overlaid vectorial objects as a new updated bitmap. As Annie told you, use a slice to export only the part of the drawing canvas you need.

    Some other ideas that may help you:

    Check the Object-->Image-->Create image object tool. This tool will allow you to clone anything on your drawing into a new bitmap. So if you already have the image of a button, or of a textbox, on your bitmap, you can use the Create Image Object to make a clone of it and then place it anywhere you like. Then you can use the text tool to draw a different caption on it.

    If you need to use the very same colors of your bitmap, use the color eyedropper located in the color swatches area to pick colors from the bitmap. It works like the "pick color" in paintbrush.

    You can also enable the grid to help you size correctly what you draw.

    • Marked as answer by Vikas-Ahuja Thursday, November 27, 2008 10:34 PM
    Saturday, April 26, 2008 1:36 AM