Hi,
I am having a problem drawing a GenralPath onto a Graphics2D created from a BufferedImage. It works fine on a Graphics2D created from downcasting a Graphics object and displayed on the screen though. Any suggestions? I have posted the code stripped out of the whole program to keep it short below. I was trying to save a jpg file created from a BufferedImage and have to use a GeneralPath to draw the image as it's shape will change based on the arguments provided.
Please help.
I didn't find the right solution from the Internet.
References:-
https://coderanch.com/t/272128/java/Gra ... feredImage
Product animation studio
Thanks!