Coordinates of rotated textframe

With the help of itemtransform horizontal, vertical distance and path point arrays, I can find out the coordinates of text frame (x1,y1), (x2,y2), (x3,y3), (x4,y4). If the textframe is rotated then item transform values are getting changed, but the path point array values are same. I can find rotation angle by the matrix [cos(θ) sin(θ) -sin(θ) cos(θ) 0 0], But I could not get the exact coordinates of rotated textframe. The textframes are given below.
Normal Text frame
<TextFrame Self="u136" ParentStory="u124" ItemTransform="1 0 0 1 101.72727272727272 -349.41818181818184">
            <Properties>
                <PathGeometry>
                    <GeometryPathType PathOpen="false">
                        <PathPointArray>
                            <PathPointType Anchor="-101.72727272727272 -46.581818181818164" LeftDirection="-101.72727272727272 -46.581818181818164" RightDirection="-101.72727272727272 -46.581818181818164"/>
                            <PathPointType Anchor="-101.72727272727272 -0.3272727272727103" LeftDirection="-101.72727272727272 -0.3272727272727103" RightDirection="-101.72727272727272 -0.3272727272727103"/>
                            <PathPointType Anchor="115.9090909090909 -0.3272727272727103" LeftDirection="115.9090909090909 -0.3272727272727103" RightDirection="115.9090909090909 -0.3272727272727103"/>
                            <PathPointType Anchor="115.9090909090909 -46.581818181818164" LeftDirection="115.9090909090909 -46.581818181818164" RightDirection="115.9090909090909 -46.581818181818164"/>
                        </PathPointArray>
                    </GeometryPathType>
                </PathGeometry>
            </Properties>          
</TextFrame>
Rotated textframe
<TextFrame Self="u136" ParentStory="u124" ItemTransform="0 1 -1 0 320.3805483338268 -125.07900895050204">
            <Properties>
                <PathGeometry>
                    <GeometryPathType PathOpen="false">
                        <PathPointArray>
                            <PathPointType Anchor="-101.72727272727272 -46.581818181818164" LeftDirection="-101.72727272727272 -46.581818181818164" RightDirection="-101.72727272727272 -46.581818181818164"/>
                            <PathPointType Anchor="-101.72727272727272 -0.3272727272727103" LeftDirection="-101.72727272727272 -0.3272727272727103" RightDirection="-101.72727272727272 -0.3272727272727103"/>
                            <PathPointType Anchor="115.9090909090909 -0.3272727272727103" LeftDirection="115.9090909090909 -0.3272727272727103" RightDirection="115.9090909090909 -0.3272727272727103"/>
                            <PathPointType Anchor="115.9090909090909 -46.581818181818164" LeftDirection="115.9090909090909 -46.581818181818164" RightDirection="115.9090909090909 -46.581818181818164"/>
                        </PathPointArray>
                    </GeometryPathType>
                </PathGeometry>
            </Properties>         
</TextFrame>
Can anyone help me to find out the cordinates of rotated textframe.
Thanks in advance.

I suspect you'll do better asking here: http://forums.adobe.com/community/indesign/indesign_sdk

Similar Messages

  • How to find out the coordinates of rotated textframe

    Hi All,
    With the help of (idml) itemtransform horizontal / vertical distances and path point arrays, I can find out the coordinates of text frame (x1,y1), (x2,y2), (x3,y3), (x4,y4). If the textframe is rotated then item transform values are getting changed, but the path point array values are same. I can find rotation angle by the matrix [cos(θ) sin(θ) -sin(θ) cos(θ) 0 0], But I could not get the exact coordinates of rotated textframe. The textframes are given below.
    Normal Text frame
    <TextFrame Self="u136" ParentStory="u124" ItemTransform="1 0 0 1 101.72727272727272 -349.41818181818184">
                <Properties>
                    <PathGeometry>
                        <GeometryPathType PathOpen="false">
                            <PathPointArray>
                                <PathPointType Anchor="-101.72727272727272 -46.581818181818164" LeftDirection="-101.72727272727272 -46.581818181818164" RightDirection="-101.72727272727272 -46.581818181818164"/>
                                <PathPointType Anchor="-101.72727272727272 -0.3272727272727103" LeftDirection="-101.72727272727272 -0.3272727272727103" RightDirection="-101.72727272727272 -0.3272727272727103"/>
                                <PathPointType Anchor="115.9090909090909 -0.3272727272727103" LeftDirection="115.9090909090909 -0.3272727272727103" RightDirection="115.9090909090909 -0.3272727272727103"/>
                                <PathPointType Anchor="115.9090909090909 -46.581818181818164" LeftDirection="115.9090909090909 -46.581818181818164" RightDirection="115.9090909090909 -46.581818181818164"/>
                            </PathPointArray>
                        </GeometryPathType>
                    </PathGeometry>
                </Properties>         
    </TextFrame>
    Rotated textframe
    <TextFrame Self="u136" ParentStory="u124" ItemTransform="0 1 -1 0 320.3805483338268 -125.07900895050204">
                <Properties>
                    <PathGeometry>
                        <GeometryPathType PathOpen="false">
                            <PathPointArray>
                                <PathPointType Anchor="-101.72727272727272 -46.581818181818164" LeftDirection="-101.72727272727272 -46.581818181818164" RightDirection="-101.72727272727272 -46.581818181818164"/>
                                <PathPointType Anchor="-101.72727272727272 -0.3272727272727103" LeftDirection="-101.72727272727272 -0.3272727272727103" RightDirection="-101.72727272727272 -0.3272727272727103"/>
                                <PathPointType Anchor="115.9090909090909 -0.3272727272727103" LeftDirection="115.9090909090909 -0.3272727272727103" RightDirection="115.9090909090909 -0.3272727272727103"/>
                                <PathPointType Anchor="115.9090909090909 -46.581818181818164" LeftDirection="115.9090909090909 -46.581818181818164" RightDirection="115.9090909090909 -46.581818181818164"/>
                            </PathPointArray>
                        </GeometryPathType>
                    </PathGeometry>
                </Properties>        
    </TextFrame>
    When I converted the values of rotated textframe in to coordinates and drawn in a screen then  I am not getting the exact position where it drawn in the original.
    Can anyone help me to find out the cordinates of rotated textframe.
    Thanks in advance.

    It seems pretty straightforward to me.
    Your center point is (42.375 mm, 27.458 mm) and your box is 58.417 mm x 28.417mm.
    IDML defines the rectangle by its corners, not its center, so let's find the upper-left corner. Divide the width by two and subtract from the x, same for the height and the y. You get (13.665 mm, 13.2495 mm).
    That is in page coordinates relative to the upper-left corner of the page, we can see from your rulers.
    But IDML coordinates are spread-relative from the center of the spread. Your spread is a single page that is 85 mm x 55 mm.
    So if we translate your upper-left corner, it is (13.665, 13.2495) mm - (85/2, 55/2) => (29.3335 mm, 14.2505mm) in spread-relative coordinates.
    But IDML coordinates are in points, not in mm. So we convert (multiply by 2.835). And we get (83.150 pt, 40.395 pt).
    But that doesn't match up with your IDML file, which has  (-82.650 pt, -39.890pt).
    But look at the difference: (0.500 pt, 0.505 pt). That's really 1/2 point, because your box has a 1-pt border and that gets split evenly across all 4 sides. And there's 0.005 of round-off error, bceause floating point math sucks.
    Any questions?

  • Multiplying image to coordinates and rotation

    Hi,
    I was wondering if anyone could help me write a Adobe Illustrator script.
    The script must be able to:
    1. Read a file containing several coordinates (X,Y) and angles.
    2. Select an image (or load an image).
    3. Copy and paste an image to the coordinates and rotate the images by the given angles.
    4. Repeat pasting/rotating until all coordinates are pasted with images.
    The result should be something like the image attached below.
    Can this be possible with an illustrator script?
    Could anyone guide me how I should approach this?
    Could you recommend any online references on programming an illustrator script?
    I don't always have access to Illustrator.
    Many thanks in advance,
    Anthony

    Hi Carlos,
    I have a bit of programming background. I'm familiar with VB, C, C++. I'm a novice on illustrator.
    I attempted at writing quick "copy, paste & rotate" script in javascript, see below. But I need to somehow get the coordinates from another file (a text file).
    Can I use something like this on the Illustrator script?
    http://www.javapractices.com/topic/TopicAction.do?Id=42
    var selectedObjects = app.activeDocument.selection; var topObject = app.activeDocument.selection[0];
    var msgType = "";
    if (app.documents.length>0)
         myselection = app.activeDocument.selection;
         if (myselection.length>0)
    for (var i=0; i<myselection.length; i++) {
         myselection[i].duplicate()
         myselection[i].translate(200,0)
         myselection[i].rotate(13)
         myselection[i].duplicate()
         myselection[i].translate(300,50)
         myselection[i].rotate(50)
         myselection[i].duplicate()
         myselection[i].translate(600,10)
         myselection[i].rotate(45)

  • Coordinates of rotated rectangle

    I have a rectangle that is rotated by a script.
    When outputting the geometric bounds of the rectangle, I get the coordinates of the outside rectangle that is aligned horizontally.
    How can I get the actual coordinates of the rotated rectangle?

    Here's a basic example of using resolve()
    Note: This will only work if your object is (directly) on a page. Generalizing it to work whether it's on a page or a spread is very hard, and I don't have the time right now to break my head over this...
    var coord = getPointCoordinates(app.selection[0],AnchorPoint.TOP_LEFT_ANCHOR);
    alert(coord);
    function getPointCoordinates(obj,anchorPoint){
        var oC = obj.resolve(anchorPoint,CoordinateSpaces.SPREAD_COORDINATES);
        var page = obj.parentPage;
        var pC = page.resolve(anchorPoint,CoordinateSpaces.SPREAD_COORDINATES);
        return [oC[0][0]-pC[0][0],oC[0][1]-pC[0][1]];
    HTH
    Harbs

  • How do you find out the angle degree of type that has been rotated?

    I have manually rotated some type. It's not rotated a standard number of degrees and I'd like to find out what that number is. Do you know if there is a place in Illustrator that gives this informatiion because I sure as heck can't find it.

    You are supposed to be able to measure angles using the Measure Tool. I find this completely unreliable, because it fails to abide by Snaps. (Absolutely hideous.)
    This page describes an AI Javascript you can download and try, for un-rotating textframe objects.
    JET

  • 3D rotationX/Y/Z with local coordinate?

    Hi,
    When I use 3D rotation tool, there is an option called global transform, if it turned off, the object would rotate by its own axes, this is exactly what I want. How can I do rotatation like that with AS3 code?
    Is there any property if changed then rotationX/Y/Z would rotate object by its axes?
    Thanks

    Thanks,
    I have found an easier way to do local rotation, so write here for someone needs it in the future:
    + Put the object you want to rotate by local coordinate in a container (make it a symbol again, name it, example cont1 and obj1.
    + If you want to rotate it by local coordinate, then write: cont1.obj1.rotationZ +=1; // it will rotate by local coordinate.
    + If you want to rotate it by global coordinate, then rotate its container, just: cont1.rotationZ +=1;
    Regards

  • How do I dial in the anchor point for 3D rotation?

    Flash knows where the anchor point is in 3D space in order for the symbol to rotate around it, but I can't seem to figure out how to see the coordinates of the anchor point or type in new ones. Please tell me how to do this. I am already very annoyed that Lynda, a pay service, doesn't think this is vital information. Apparently they think we would never want to do anything more visually stimulating than one simple spinning logo! But I digress...
    Just to be clear, I know how to move the anchor point visually on the stage, but I want accuracy. I want to be able to give two symbols the exact same coordinates to rotate around.
    Thanks for your help.

    Thank you! That's exactly what I was looking for.
    I also found a work around to what I was trying to do. You can select multiple symbols and rotate them around one axis, but that's not as accurate. BTW if you have any links to using 3D in CS4 that are beyond basic, I would love to see them.
    Thanks again,
    -Red-Mike

  • Animation

    heloo
    i did put this animation in my Japplet and when the game state change i want it to show different image
    i tried every thing i know but it change to fast or it do not work i have 4 different state in my game and i want to call this class and tell the class to change picture how can i slow it down with out interupting its move.
    i will be thank full if some one give different way to do it or tell
    me how to solve my error
    Thanks in advance
    class DemoAnimation extends JPanel implements Runnable {
    Thread thread;
    JApplet Demm;
    Image image;
    BufferedImage bi;
    int picture;
    double x, y, xi, yi;
    int rotate;
    double scale; int UP = 0; int DOWN = 1;
    int scaleDirection;
    Image [] butterflyURL= new Image [9] ; // URL for butterfly image ...
    // 7. DemoAnimationCanvas constructor ...
    public DemoAnimation(JApplet De) {
    setBackground(Color.black); // For canvas background color
    Demm=De;
    MediaTracker mt = new MediaTracker(this);
              // Construct URL for image icon ....
    butterflyURL[0] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    butterflyURL[1] = Toolkit.getDefaultToolkit().createImage( "ac516.gif");
    butterflyURL[2] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    butterflyURL[3] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    butterflyURL[4] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    butterflyURL[5] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    butterflyURL[6] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    butterflyURL[7] = Toolkit.getDefaultToolkit().createImage( "wpawn.gif");
    // Download and save image icon ....
    for (int i=1;i<8;i++)
    {mt.addImage(butterflyURL[i], 1);
              try {
    mt.waitForAll();
    } catch (Exception e) {
    System.out.println("Exception while loading image.");
    // If the image has an unknown width, the image is not created
    // by using the specified file. Therefore exit the program.
    if (butterflyURL.getWidth(this) == -1) {
    System.out.println("*** Make sure you have the image "
    + "(*.gif) file in the same directory.***");
    System.exit(0);
    rotate = (int) (Math.random() * 360);
    scale = Math.random() * 1.5;
    scaleDirection = DOWN;
    xi = 50.0; yi = 50.0;
    //i try to add this method to let me change the image in animation
    // but i can not tell to call just one image
    // i call this meythod in the paintComponent()
    public int changeAnimation()
         { int l=picture;
    picture++;
    return picture;
    // This method computes the step size for animation.
    public void step( int w, int h ) {
    // upgrade the translation coordinates
    x += xi; y += yi;
    // the x and y exceed the dimensions of canvas
    if (x > w) {
    x = w - 1;
    xi = Math.random() * -w/32;
    if (x < 0) {
    x = 2;
    xi = Math.random() * w/32;
    if (y > h) {
    y = h - 2;
    yi = Math.random() * -h/32;
    if (y < 0) {
    y = 2;
    yi = Math.random() * h/32;
    // upgrade the rotation coordinates
    if ((rotate += 5) == 360) {
    rotate = 0;
    // upgrade the scaling coordinates depending on the
    // increase or decrease in size. If the increase in size
    // exceeds a limit of 1.5, decrease the size. If the
    // decrease in size falls below 0.5, increase the size.
    if (scaleDirection == UP) {
    if ((scale += 0.5) > 1.5) {
    scaleDirection = DOWN;
    // upgrade the scaling coordinates
    else if (scaleDirection == DOWN) {
    if ((scale -= .05) < 0.5) {
    scaleDirection = UP;
    public void paintComponent(Graphics g) {
    super.paintComponent(g);
    // | i call the method here
    // it change to fast and i can get fix image{how can i slow it down}
    picture = changeAnimation()%4;
    Dimension d = getSize();
    bi = new BufferedImage(d.width, d.height, BufferedImage.TYPE_INT_ARGB);
    Graphics2D big = bi.createGraphics();
    step(d.width, d.height);
    AffineTransform at = new AffineTransform();
    at.setToIdentity();
    at.translate(x, y);
    at.rotate(Math.toRadians(rotate));
    at.scale(scale, scale);
    big.drawImage(butterflyURL[picture], at, this);
    System.out.println(+picture);
    Graphics2D g2D = (Graphics2D) g;
    g2D.drawImage(bi, 0 , 0, Demm);
    // Starts the thread
    public void start() {
    thread = new Thread(this);
    thread.setPriority(Thread.MIN_PRIORITY);
    thread.start();
    // Stops the thread
    public void stop() {
    if (thread != null)
    thread.interrupt();
    thread = null;
    // Runs the thread
    public void run() {
    Thread me = Thread.currentThread();
    while (thread == me) {
                   repaint();
    thread = null;

    You've been pasting bits of your game all over the place and I also KNOW YOU'VE ALSO BEEN TOLD THIS;-
    USE THE FLAMING [code] ... [/code] tags and use [j] instead of [i], or write it like this;- [ i ]
    Noone will bother to read you code otherwise ... GRRRRR!

  • Editing Polaroid Image Viewer

    So, not sure if this is the right section to put this in, so if not I'm sorry!
    Anyways, I'm currently making a polaroid image viewer working off of this tutorial: http://active.tutsplus.com/tutorials/design/create-a-nifty-polaroid-photo-viewer-with-flas h-and-photoshop/comment-page-1/#comment-47571. It's my first time working in Flash, so I'm kind-of on the verge of a mental breakdown. Anyways, to my own surprise I've actually gotten it to work and look great. My issue? I'm making the overall project larger and with more images (800 x 600 with seven images). Anyways, when I publish preview the flash document it shows up 800 x 600 but all of the polaroids are squished together as though it's still 600 x 600. Is there a way that I can space them out a bit? Or, even better, is there a way that I can have each of the polaroids sit in a specific spot on the flash document?
    Thanks for any help you can give, sorry if this is a really basic question. I'm just so lost, haha. 

    Thank you for your help! Yes, I found the following code in the Polaroid.as coding:
    private function whenAdded(event:Event):void {
                                  //store the Polaroid's original coordinates and rotation
                                  origX = x;
                                  origY = y;
                                  origRotation = rotation;
    And then in the PolaroidHolder.as file there's a chunk of coding that looks like this:
    public function PolaroidHolder(images:Vector.<Bitmap>) {
                                  // constructor code
                                  for each (var image:Bitmap in images) {
                                            //create a new Polaroid
                                            var polaroid:Polaroid = new Polaroid(image);
                                            //position and rotate it
                                            polaroid.x = Math.random() * 500 + 100;
                                            polaroid.y = Math.random() * 400;
                                            polaroid.rotation = Math.random() * 60 - 30;
                                            //add a clicking eventListener
                                            polaroid.addEventListener(MouseEvent.CLICK, onPolaroidClick);
                                            addChild(polaroid);
                                            //add it to the polaroids vector
                                            polaroids.push(polaroid);
    My issue is that there are 7 polaroids on the image, not just one, so if I get rid of the random element and give it an exact location then they'll all be in the same spot. Even if there was a way to add padding to each image so that they wouldn't touch that would be amazing. I don't even know if that statment made sense, sorry, I'm so very lost with this project.

  • Request a .jpg image from Indesign server via script?

    hello,
    I have a scenario in which I am switching from using QuarkXpress Server to Indesign Server. With Quark Server I am able to request a jpg image from a quark Document. Basically, by providing the right parameters, I can get a JPG preview of what a picture box or text box looks like in the Quark Document.
    I need to do something like this with InDesign Server. Is it possible to write a script specifying an Indesign Document and maybe a TextFrameID or PictureFrame ID and get a JPG rendering of it?
    I know I can export the whole document as a PDF but I need to be able to get images of single textframes/pictureframes or grouped frames.
    Does anyone know if this is possible or how to do this?
    thanks in advance!!!
    -Lloyd

    Or maybe the only way to achieve this (hopefully not, though) is to export the whole document as a JPG, and then find a way to programmatically crop the part I need based on the coordinates of the textframe/pictureframe (or grouped framed) that I need?
    thanks in advance,
    Lloyd

  • How do I get the coordinates of the text block (TextFrame) help me please!

    Dim myApp As New Illustrator.Application
    Dim myDoc As Illustrator.Document
    myDoc = myApp.ActiveDocument
    Dim textRef = myDoc.TextFrames.Add
    For Each ArtPageItems In myDoc.PageItems
    If TypeName(ArtPageItems) = "TextFrame" Then
    '========It is necessary to obtain the coordinates of the text block and move closer to the object (ie the text)============
    Else
    End If
    Next

    Hi Todd, you're welcome, please explain better, I don't understand the question.
    are you trying to "move" a textframe (Dim textRef = myDoc.TextFrames.Add) closer to other text frames? or do you want to "zoom" to this textframe?

  • Rotated coordinates

    when i rotate an image how do i get the new cordinates of the image.
    This image is rotated around 0,0 but what is the coordinates of the other corners now it os rotated?
    img1.rotation=_angle;

    The new coordination after the rotation would be:
    x' = x*cosθ - y*sinθ
    y' = x*sinθ + y*cosθ
    So the AS equivalent would be something like:
            private function rotatedPoint(originalPoint:Point, rotation:Number):Point {
                return new Point(originalPoint.x*Math.cos(rotation) - originalPoint.y*Math.sin(rotation), originalPoint.x*Math.sin(rotation) + originalPoint.y*Math.cos(rotation));
    So Point(0, 20) after 10 degrees rotation would be:
    trace(rotatedPoint(new Point(0, 20), 10*Math.PI/180));
    // (x=-3.4729635533386065, y=19.69615506024416)
    Sounds about right...?

  • Single Precision "3D Cartesian Coordinate Rotation (Direction) (Array)"

    Hi there
    I am using "3D Cartesian Coordinate Rotation (Direction) (Array).vi" but this VI used Double Precision XYZ numbers.
    Is there equivalent in Single Precision?
    My reason is to save memory space and time. I am already using 64-bits LabVIEW  with 16 GB or RAM.
    LabVIEW 2013
    Thank you
     Peter

    No, unfortunately LabVIEW provides very few Single Precision VIs (see my idea here).  You might have success by reimplementing it yourself (it's just a matrix multiplication - look in the Help), and using the Multicore Analysis and Sparse Matrix Toolkit which does provide both SGL and DBL paralellized forms of most of the Linear Algebra VIs, among other things.

  • Rotation around global coordinates?

    hey, i wanna to make an animation of camera. the situation looks in this way:
    i have a box in center of global coordinates and i want to make a rotation of camera around y axis (y of global coord.). when i use setOrientation(...) it makes a rotation around local coordinates of camera. how change it if i want to rotate it with global coordinates? im completly new in 3dmobile, i tried to found any solutions with api documenation but i couldnt :(. i have to make it quickly so i dont have time to read all spec.
    please help me!
    thanks in advance

    ok nevermind :]

  • Probleme rotation coordinate

    Hi everybody,
    I`m going to try to be clear, but I have juste one problem with the coordinate about a rotate rectangle.
    So, first I have this data, and when I put in Excel I have a right rectangle.
    SO now I know that I have to modify the data with the rotation, It`s what I did.
    It worked very well, I tried with graph and to modify the degree of rotation it was perfect I had good rotated rectangle.
    My next step and final step was just to put the coordinate on excel and reproduce the same rectangle on one graph in Excel.
    And it`s there that I met the problem.
    I have no Idea why, and I don`t see what to change to fix that......
    I now that just one rotation of 90 degree it`s enough to correct the position but where can I change something?
    If somenody know something about that or have the solution, you`re welcome.
    Sorry about this big post but I think is more clear with picture than more text.
    Thank you again for your answers (in advance)
    Maxime
    Solved!
    Go to Solution.

    Direction of rotation?
    In Excel, it looks like a postive rotation causes it to rotate clockwise.
    I didn't dig into your math, but in a lot of programs (like Autocad), a positive rotation angle is counter clockwise following the right hand rule.  Where 0 is the + X axis and a line from there rotates towards the + Y axis with a + angle.

Maybe you are looking for

  • Typing hang ups on Iphone 3G??

    sometimes when I am typing texts or sending emails that the text is very far behind my typing and very slow to catch up. I usually hold down the home button to completly close the program within the Iphone. I even sometimes have to do a full reset (h

  • How do I access getServletPath() in a scriptlet?

    Hi there, We have a scriptlet that needs to get information similar to the CGI variable "SCRIPT_NAME". The only method we've found is javax.servlet.http.HttpServletRequest.getServletPath(), but java won't let us access this method from a scriplet as

  • Problem with transition between tracks of imported mp3 compilation

    We publish audio travel guides. I just received 17 mp3 files from our sound engineer and imported them into iTunes and set them as a compilation. I then manually moved them to my G4 iPod. There is a problem with the end of track 1 and the beginning o

  • How does a parent block phone number of unwanted friends of teenage daughter?

    How does a parent block phone number of her teenage daughter's friends who use free phone number app to get new phone number every time we block it?

  • Poor quality DVDs

    I shoot on canon GL2's, import into final cut, edit with titles, export to QuickTime movie, make a DVD in dvdsp. The quality of the DVD is not good. Dark, grainy, some pixilation. Why? How can I fix this? What am I doing wrong?