Lyoko Freak: 2005 - 2015. Return to the past now....

It is currently Tue Jun 03, 2025 5:24 pm

GIMP GAP help

For discussion of computers and the Internet, as well as a place for you to post your websites to gain more traffic.

Moderators: The Administrators, Moderators


GIMP GAP help

Postby Astro-Xana » Thu Mar 08, 2007 7:07 pm

When I try to scale or crop an image with measurements such as 2.44 pixels, the value rounds down to 2 pixels. And the same is obvious if I were to have a measurement such as 1.67 pixels which would round that up to 2 pixels. I wish to scale and crop images using fractional pixels and I do not want the values to round at all. So what would I do so that I can scale and crop images with fractional pixels and not have the values round?

Now here's another problem. Under the video menu (when you have GAP), you have the option of scaling frames as well as cropping them. I do not wish to scale or crop all the video frames to one specific value (such as scaling all frames at 320 x 240 or cropping all of them at like 160 x 80 either). I wish to scale one frame at 320 x 240, the next one at 321 x 241, the next one at 322 x 242, etc. Meaning, I wish to scale all video frames at an increasing rate of one pixel. Same thing goes with cropping. So how would I go about doing that?

Astro-Xana offline
Teacher's Pet
Teacher's Pet
 
Posts: 52
Joined: Sat Sep 23, 2006 1:29 pm
Location: Fighting Xana's demon monsters in the Nexus Core Star Center of the Network

Postby Overcaffeinated Sloth » Thu Mar 08, 2007 8:43 pm

... Man, Gap's really not my specialty...

However, it's impossible to have only a portion of a pixel. I'm afraid there's no way for a computer to safely comprehend it, unless it's opened in an advanced image editing program and re-scaled in like, 300-600 dpi. Which for an animation would be pointless.

If possible, can you scale the framess in GIMP, then import them back into GAP? If it's just scaling one frame at a time, then I'm afraid GAP's not the tool to use. It's like eatng soup with a knife. You just can't get around it!

However, if you do use the GAP to save all the scaled frames (If you did so in GIMP) It may need to scale them to the same size, to save space.

If so, I'd suggest if the number of pixels on one side is even, cutting off one row of pixels (I doubt you'll miss it) and scaling it, then creating a new layer (Set on transparency) underneath it of the same cropped size, and centering it the best it can. When these are imported to GAP, it'll view the layers themselves as the same sixe, but since the border of the image will be transparnt, AKA no value to it, then it'll show up as nothing, just the color underneath the image. A very useful tool.

Be warned though, Re-sizing an image in GIMP or any intermediate image editing program will lower the quality. It may only work well if it's scaled in blocks, (100x100 to 200x200 to 400x400, to 800x800) and even still there'll be four of each pixel. Only something like Photoshop will have the mathematica formulas to properly anti-alias something, giving a much smoother effect.

Kaykayz?

Overcaffeinated Sloth offline
 

Postby Astro-Xana » Thu Mar 08, 2007 10:02 pm

Thanks for the info! But I have another question which is how would you put an animated portion of an animation into all of the frames of whatever animation you're currently working on? For example, if there were to be a video clip of William with his hair blowing and another separate video clip of Aelita walking (the video clips of William and Aelita both split into frames with the Aelita one as the current animation I'm working on), how would I take the portion of the William animation (which is just the portion of his hair blowing) and put this animated portion onto (covering) Aelita's hair as she is walking, making it look like Aelita has William's hair which is blowing in the air? I know that the move path feature is used for source layers (which are stationary) meaning that I could only take a non-animated selection of William's hair and use the move path feature by putting this non-animated selection of William's hair onto Aelita's as she is walking which would again, make her look like she has William's hair as she is walking, but would not be animated (blowing hair). So how would I be able to have an animated GIF inside another animated GIF? In this case, if I were to make an animated GIF of William's blowing hair (William himself excluded), how would I treat this animated GIF just as if it were to be a source layer in the move path feature for all of the frames of my Aelita animation?

Astro-Xana offline
Teacher's Pet
Teacher's Pet
 
Posts: 52
Joined: Sat Sep 23, 2006 1:29 pm
Location: Fighting Xana's demon monsters in the Nexus Core Star Center of the Network


Who is online

Users browsing this forum: No registered users and 2 guests