freesoft_2000 9 Practically a Master Poster

Hi everyone,

I have a question about the graphics 2d. I have a buffered image which i read in and what i want to do is to draw a simple black line around this image something like a simple border(nothing fancy).

This is what i have so far

Dimension Size4 = image.getSize();

BufferedImage Image1= new BufferedImage(Size4.width, Size4.height,
BufferedImage.TYPE_INT_RGB);

Graphics2D g2 = Image1.createGraphics();

Can anybody explain to me or show me any codings on how this can be achieved.

I hope someone can help me with this

Thank You

Yours Sincerely

Richard West

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.