KVCD Cropping issue?
Lately the last couple of days i have come accross a few scripts with this in them
Code:
crop(24,80,672,416,align=true) Code:
BicubicResize(512, 352, 1/3, 1/3, 11, 0, 698, 480) You cannot use crop to enlarge or a shift a clip BTW I RTFM and still didn't understand :D |
Crop is fro cropping (i.e. cutting) the picture to get a smaller one.
The values are : Crop(x,y,width,height). (X,Y) are the coordinates of the upper/left corner of the rectangle you want to cut. (width,height) are the dimensions of this rectangle. Now, if you have a picture that is (100,100) pixels, you can't crop it with (20,20,90,90) because if you start yo cut at the point (20,20) you only have 80 pixels that left on the right, and the same under the cutting point. Do you understand ? Imagine you are cutting a piece of paper with a blade. You will see that you can't enlarge the piece of paper :-) In other words, the value you used (28,80,672,416) aren't compatible with the actual size of your picture. To be valid, the source must be at least (28+672,80+416) pixels. That is a minimal resolution of the source of (700,496). DO you have this ? I don't think so. Note that in the bicubic line, the 4 last parameters are in fact a cropping. So "BicubicResize(512, 352, 1/3, 1/3, 11, 0, 698, 480)" is equivalent to "Crop(11, 0, 698, 480).BicubicResize(512, 352, 1/3, 1/3)". |
Thanx Phil ,believe it or not i do actually understand :D ,i thought i was getting the error forn using crop but it was actually just the numbers that i was using(i just copied and pasted)
BTW thanx for putting it into easy terms that i could understand |
You're welcome.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.