I have to enlarge the whole image... if I understand row then i can get column (same concept)
For horizontal stretch..I have to duplicated the column of each pixel in a photo.
For vertical...
Type: Posts; User: noobiecode
I have to enlarge the whole image... if I understand row then i can get column (same concept)
For horizontal stretch..I have to duplicated the column of each pixel in a photo.
For vertical...
In the prompt, I have to try and duplicate an extra column or row.
For Horizontal stretch I have to duplicate an extra column...So in instead of have (for first row) {(0,0), (0,1), (0,2), (0,3)} I...
Thanks for your help. Do you have any hints as to how I would go about approaching rotating an image or enlarging it.
For rotating 90 degrees i know the new Column = row and new_Row = col. And 180...
Here is what I have so far for stretch. The user will input 0 or 1 in the driver.
---------------------------------------------------------
public static Photograph stretched(Photograph photo,...
I am using a custom class created by someone.
Photograph Class
Constructor Summary
Photograph(int width, int height)
Create a blank photo of a specified size.
Method Summary
Hi. Beginner here. I have a question about a Java program on manipulation of photos.
I want to learn how to rotate a photo 90 degrees, rotate it 180 degrees, enlarge it by doubling its width and...