Need help: BufferedImage and zooming

please help me understand what i am doing wrong. i am having a hard time understanding the concept behind BufferedImage and zooming. the applet code loads an image as its background. after loading, you can draw line segments on it. but when i try to zoom in, the image in the background remains the same in terms of size, line segments are the only ones that are being zoomed, and the mouse coordinates are confusing.
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.awt.geom.*;
import javax.swing.*;
import javax.imageio.*;
import java.io.*;
import java.util.ArrayList;
import java.io.IOException;
import java.net.URL;
import java.awt.image.*;
public class Testing extends JApplet {
     private String url;
     private Map map;
     public void init() {
     public void start()
          url = "http://localhost/image.gif";
              map = new Map(url);
             getContentPane().add(map, "Center");
             validate();
             map.validate();
class Map extends JPanel implements MouseListener, MouseMotionListener{
     private Image image;
     private ArrayList<Point2D> points;
     private ArrayList<Line2D> lineSegment;
     private Point2D startingPoint;
     private int mouseX;
     private int mouseY;
     private BufferedImage bimg;
     private AffineTransform xform;
     private AffineTransform inverse;
     private double zoomFactor = 1;
     public Map(String url)
                     super();
          //this.image = image;
          try
               image = ImageIO.read(new URL(url));
          catch(Exception e)
          Insets insets = getInsets();
          xform = AffineTransform.getTranslateInstance(insets.left, insets.top);
          xform.scale(zoomFactor,zoomFactor);
          try {
               inverse = xform.createInverse();
          } catch (NoninvertibleTransformException e) {
               System.out.println(e);
          points = new ArrayList();
          startingPoint = new Point();
          bimg = new BufferedImage(this.image.getWidth(this), this.image.getHeight(this), BufferedImage.TYPE_INT_ARGB);
          repaintBImg();
          addMouseListener(this);
          addMouseMotionListener(this);
     public void paintComponent(Graphics g)
        Graphics2D g2d = (Graphics2D)g;
          g2d.addRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON));
          g2d.addRenderingHints(new RenderingHints(RenderingHints.KEY_RENDERING , RenderingHints.VALUE_RENDER_QUALITY ));
        bimg = (BufferedImage)image;
        g2d.drawRenderedImage(bimg, xform);
        if(!points.isEmpty())
             for(int i=0; i<points.size(); i++)
                  if(i > 0)
                       drawLineSegment(g2d,points.get(i-1),points.get(i));
                  drawPoint(g2d, points.get(i));
        if(startingPoint != null)
            drawTempLine(startingPoint, g2d);
        else
            mouseX = 0;
            mouseY = 0;
     private void repaintBImg()
          bimg.flush();
          Graphics2D g2d = bimg.createGraphics();
          g2d.addRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON));
          g2d.addRenderingHints(new RenderingHints(RenderingHints.KEY_RENDERING , RenderingHints.VALUE_RENDER_QUALITY ));
        g2d.drawRenderedImage(bimg, xform);
        g2d.dispose();
     private void drawPoint(Graphics2D g2d, Point2D p)
        int x = (int)(p.getX() * zoomFactor);
        int y = (int)(p.getY() * zoomFactor);
        int w = (int)(13 * zoomFactor);
        int h = (int)(13 * zoomFactor);
          g2d.setColor(Color.ORANGE);
          g2d.setStroke(new BasicStroke(1.0F));
        g2d.fillOval(x - w / 2, y - h / 2, w, h);
        g2d.setColor(Color.BLACK);
        g2d.drawOval(x - w / 2, y - h / 2, w - 1, h - 1);
     private void drawLineSegment(Graphics2D g2d, Point2D p1, Point2D p2)
          double x1 = p1.getX() * zoomFactor;
             double y1 = p1.getY() * zoomFactor;
             double x2 = p2.getX() * zoomFactor;
             double y2 = p2.getY() * zoomFactor;
             g2d.setColor(Color.RED);
             g2d.setStroke(new BasicStroke(3.0F));
             g2d.draw(new java.awt.geom.Line2D.Double(x1, y1, x2, y2));
         private void drawTempLine(Point2D p, Graphics2D g2d)
             int startX = (int)(p.getX() * zoomFactor);
             int startY = (int)(p.getY() * zoomFactor);
             if(mouseX != 0 && mouseY != 0)
                     g2d.setColor(Color.RED);
                      g2d.setStroke(new BasicStroke(2.0F));
                      g2d.drawLine(startX, startY, mouseX, mouseY);
     public void mouseClicked(MouseEvent e)
     public void mouseDragged(MouseEvent e)
          mouseX = (int)(e.getX()*zoomFactor);
          mouseY = (int)(e.getY()*zoomFactor);
          repaint();
     public void mousePressed(MouseEvent e)
          if(e.getButton() == 1)
               points.add(inverse.transform(e.getPoint(), null));
               if(points.size() > 0)
                    startingPoint = points.get(points.size()-1);
                    mouseX = mouseY = 0;
               repaint();
          else if(e.getButton() == 2)
               zoomFactor = zoomFactor + .05;
               repaintBImg();
          else if(e.getButton() == 3)
               zoomFactor = zoomFactor - .05;
               repaintBImg();
     public void mouseReleased(MouseEvent e)
          if(e.getButton() == 1)
               points.add(inverse.transform(e.getPoint(), null));
          repaint();
     public void mouseEntered(MouseEvent mouseevent)
     public void mouseExited(MouseEvent mouseevent)
     public void mouseMoved(MouseEvent mouseevent)
}Message was edited by:
hardc0d3r

import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.awt.geom.*;
import java.io.*;
import java.net.URL;
import java.util.*;
import javax.imageio.*;
import javax.swing.*;
public class ZoomTesting extends JApplet {
    public void init() {
        //String dir = "file:/" + System.getProperty("user.dir");
        //System.out.printf("dir = %s%n", dir);
        String url = "http://localhost/image.gif";
                     //dir + "/images/cougar.jpg";
        MapPanel map = new MapPanel(url);
        getContentPane().add(map, "Center");
    public static void main(String[] args) {
        JApplet applet = new ZoomTesting();
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(applet);
        f.setSize(400,400);
        f.setLocation(200,200);
        applet.init();
        f.setVisible(true);
class MapPanel extends JPanel implements MouseListener, MouseMotionListener {
    private BufferedImage image;
    private ArrayList<Point2D> points;
    private Point2D startingPoint;
    private int mouseX;
    private int mouseY;
    private AffineTransform xform;
    private AffineTransform inverse;
    RenderingHints hints;
    private double zoomFactor = 1;
    public MapPanel(String url) {
        super();
        try {
            image = ImageIO.read(new URL(url));
        } catch(Exception e) {
            System.out.println(e.getClass().getName() +
                               " = " + e.getMessage());
        Map<RenderingHints.Key, Object> map =
                    new HashMap<RenderingHints.Key, Object>();
        map.put(RenderingHints.KEY_ANTIALIASING,
                RenderingHints.VALUE_ANTIALIAS_ON);
        map.put(RenderingHints.KEY_RENDERING,
                RenderingHints.VALUE_RENDER_QUALITY);
        hints = new RenderingHints(map);
        setTransforms();
        points = new ArrayList<Point2D>();
        startingPoint = new Point();
        addMouseListener(this);
        addMouseMotionListener(this);
    private void setTransforms() {
        Insets insets = getInsets();
        xform = AffineTransform.getTranslateInstance(insets.left, insets.top);
        xform.scale(zoomFactor,zoomFactor);
        try {
            inverse = xform.createInverse();
        } catch (NoninvertibleTransformException e) {
            System.out.println(e);
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2d = (Graphics2D)g;
        g2d.setRenderingHints(hints);
        g2d.drawRenderedImage(image, xform);
        if(!points.isEmpty()) {
            for(int i=0; i<points.size(); i++) {
                if(i > 0)
                    drawLineSegment(g2d,points.get(i-1),points.get(i));
                drawPoint(g2d, points.get(i));
        if(startingPoint != null) {
            drawTempLine(startingPoint, g2d);
        } else {
            mouseX = 0;
            mouseY = 0;
    private void drawPoint(Graphics2D g2d, Point2D p) {
        int x = (int)(p.getX() * zoomFactor);
        int y = (int)(p.getY() * zoomFactor);
        int w = (int)(13 * zoomFactor);
        int h = (int)(13 * zoomFactor);
        g2d.setColor(Color.ORANGE);
        g2d.setStroke(new BasicStroke(1.0F));
        g2d.fillOval(x - w / 2, y - h / 2, w, h);
        g2d.setColor(Color.BLACK);
        g2d.drawOval(x - w / 2, y - h / 2, w - 1, h - 1);
    private void drawLineSegment(Graphics2D g2d, Point2D p1, Point2D p2) {
        double x1 = p1.getX() * zoomFactor;
        double y1 = p1.getY() * zoomFactor;
        double x2 = p2.getX() * zoomFactor;
        double y2 = p2.getY() * zoomFactor;
        g2d.setColor(Color.RED);
        g2d.setStroke(new BasicStroke(3.0F));
        g2d.draw(new java.awt.geom.Line2D.Double(x1, y1, x2, y2));
    private void drawTempLine(Point2D p, Graphics2D g2d) {
        int startX = (int)(p.getX() * zoomFactor);
        int startY = (int)(p.getY() * zoomFactor);
        if(mouseX != 0 && mouseY != 0) {
            g2d.setColor(Color.RED);
            g2d.setStroke(new BasicStroke(2.0F));
            g2d.drawLine(startX, startY, mouseX, mouseY);
    public void mouseClicked(MouseEvent e) {}
    public void mouseDragged(MouseEvent e) {
        mouseX = (int)(e.getX()*zoomFactor);
        mouseY = (int)(e.getY()*zoomFactor);
        repaint();
    public void mousePressed(MouseEvent e) {
        if(e.getButton() == 1) {
            points.add(inverse.transform(e.getPoint(), null));
            if(points.size() > 0) {
                startingPoint = points.get(points.size()-1);
                mouseX = mouseY = 0;
        } else if(e.getButton() == 2) {
            zoomFactor = zoomFactor + .05;
            setTransforms();
        } else if(e.getButton() == 3) {
            zoomFactor = zoomFactor - .05;
            setTransforms();
        repaint();
    public void mouseReleased(MouseEvent e) {
        if(e.getButton() == 1) {
            points.add(inverse.transform(e.getPoint(), null));
        repaint();
    public void mouseEntered(MouseEvent mouseevent) {}
    public void mouseExited(MouseEvent mouseevent) {}
    public void mouseMoved(MouseEvent mouseevent) {}
}

Similar Messages

  • I need help deleting and adding text

    i need help deleting and adding text, can soneone help
    Adobe Photoshop Elements 10

    You should delete your phone number from the topic line.
    Spambots search these forums for contact info.
    You don't want to get even more telemarketing/scam calls than you probably already get.
    It seems like the "Do Not Call" lists are ignored these days.
    Message was edited by: Bo LeBeau       Looks like someone already took care of this.

  • I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8

    I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8

    I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8

  • I need help, motherboard and RAM

    Tomorrow morning I have to buy all the parts, and only left me two.
    My options were: Deluxe Asus P9X79-WS, Asus X79 Rampage or ASRock Fatal1ty Champion,Gigabyte  Ga-X79s- UP5
    Any other options?
    Hare 3930k OC without touching the voltage.
    In thinking about the G.Skil RAM but it is 1.6 v ...
    Please i need help.
    My system:
    Gigabyte GeForce GTX 670 OC 2GB GDDR5 http://www.pccomponentes.com/gigabyt...2gb_gddr5.html
    Intel I7-3930K  http://www.pccomponentes.com/intel_c...cket_2011.html
    Corsair HX650 650W 80 Plus Gold http://www.pccomponentes.com/corsair...plus_gold.html
    Noctua NH-D14  http://www.amazon.es/gp/product/B002...A1AT7YVPFBWXBL
    Corsair 500R Carbide Series Blanca http://www.pccomponentes.com/corsair...es_blanca.html
    Samsung 840 Pro SSD Series 256GB SATA3 Basic Kit http://www.pccomponentes.com/samsung...basic_kit.html
    2x Seagate Barracuda 7200.14 1TB SATA3  http://www.pccomponentes.com/seagate...1tb_sata3.html
    Thanks

    You might go to the CS5 Benchmark http://ppbm5.com/ and see if there is a motherboard sort... I think ASUS is used more than either of the other two brands you mention
    A note from Harm about ram http://forums.adobe.com/thread/1089842

  • I have and ipod touch 4th gen and it will show up on my computer but not on my itunes i need help please and thank you

    I have an ipod touch 4th gen and when I plug it into my computer it shows up but it wont on iTunes and I was trying to put more music on it today and it wasn't showing up can u help please and thank you.

    Hey Babetta94,
    Thanks for using Apple Support Communities.
    After reviewing your post, the iPod is not recognized in iTunes. A frustrating situation to be sure. You haven't mentioned what OS the computer you are using uses. You can choose what article to use either OS X or Windows from this quoted section.
    iPod not appearing in iTunes
    http://support.apple.com/kb/TS3716
    If you have an iPod touch:
    For Windows: See iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    For Mac OS X: See iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    Have a nice day,
    Mario

  • Need help calling and looping custom classes

    Hi, I am writing a code with custom classes in it and another program that calls upon all of the classes in the first program. I can get the second one (L6) to call upon and execute all of the classes of the first (Foreign). However, I need the second one to loop until quit is selected from the menu on Foreign and I can't seem to figure out how to do it. Here are the codes:
    L6:
    public class lab6
    public static void main(String[] args)
    Foreign camount = new Foreign();
    camount = new Foreign();
    camount.get();
    camount.print();
    camount.intake();
    camount.convert();
    camount.vertprint();
    System.out.println(camount);
    Foreign:
    import java.util.Scanner;
    public class Foreign
    private String country;
    private int choice;
    private float dollars;
    private float conversionValue;
    private float conversionAmount;
    public Foreign()
    country = "null";
    choice = 0;
    dollars = 0;
    conversionValue = 0;
    conversionAmount = 0;
    public void get()
         Scanner Keyboard = new Scanner(System.in);
              System.out.println("Foreign Exchange\n\n");
    System.out.println("1 = U.S. to Canada");
    System.out.println("2 = U.S. to Mexico");
    System.out.println("3 = U.S. to Japan");
    System.out.println("4 = U.S. to Euro");
    System.out.println("0 = Quit");
    System.out.print("\nEnter your choice: ");
    choice = Keyboard.nextInt();
    public void print()
    System.out.print("\nYou chose " + choice);
    public void intake()
         Scanner Keyboard = new Scanner(System.in);
              if (choice >= 1 && choice <= 4)
    switch (choice)
              case 1: System.out.println("\nU.S. to Canada");
                        conversionValue = 1.1225f;
                        country = ("Canadian Dollars");
                        break;
              case 2: System.out.println("\nU.S. to Mexico");
                        conversionValue = 10.9685f;
                        country = ("Mexican Pesos");
    break;
              case 3: System.out.println("\nU.S. to Japan");
                        conversionValue = 118.47f;
                        country = ("Japanese Yen");
    break;
              case 4: System.out.println("\nU.S. to Euro");
                        conversionValue = 0.736377f;
                        country = ("European Union Euros");
    break;
                   System.out.print("\nEnter U.S. dollar amount: ");
              dollars = Keyboard.nextFloat();
    public void convert()
    conversionAmount = conversionValue * dollars;
    public void vertprint()
    System.out.println("\nCountry = " + country);
    System.out.println("Rate = " + conversionValue);
    System.out.println("Dollars = " + dollars);
    System.out.println("Value = " + conversionAmount);
    public String toString()
    String line;
    line = "\n" + country + " " + conversionValue + " " + dollars + " " + conversionAmount;
    return line;
    I appreciate any help anyone can give me. This is driving me crazy. Thanks.

    1. first you need to write method to get choice value from Foreign class.
    simply add this method.
       public class Foreign {
          // ... Add this
          public int getChoice() {
             return choice;
       }2. Then in your main, you can obtain with previos method.
    public static void main(String[] args) {
       Foreign camount = new Foreign();
       // remove this. you alredy create an instance in last statement.
       //camount = new Foreign();
       int choice = 0;
       do {
          camount.get();
          choice = camount.getChoice();
          // your process...
       } while (choice != 0);
    }

  • Trying to inistall itunes keep getting error code 2330 need help unistalling and reinstalling

    Im trying to install itunes but keep getting an error message. (The installer has encountered an unexpected error installing this package, this may indicate a problem with this package. Error code 2330
    I need some resolution please assist. I did call microsft but they want to charge just to get help.  I need assistance please.
    Thank  you

    Although it's a better bet with a 2330 than a 2349, I'd try running a disk check (chkdsk) over your C drive. 
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Need help with screen zoom please

    I just upgraded from Tiger to Leopard. When I had the old Tiger software installed, I was able to zoom in and out on my screen by holding down the Control key while scrolling with my mouse. But since I installed Leopard (not Snow Leopard, since I am using a G5 Tower PowerPC), this key combination no longer works. This former screen zoom feature is important to me because I am a graphic designer with a neurological condition (tremors in my hands) that makes selecting fine points in graphic applications (like Illustrator) difficult unless I zoom in to make selection points larger and more manageable. Note: using Illustrator's magnifying glass feature does not help me, because the select points still stay small when I magnify and image, but using the old screen zoom method made the points larger and easier for me to select. Can anyone help me?
    F.Y.I. I also updated my trackball drivers as well, but my trackball preference settings did not change.

    Thanks for your input. I hear what you are saying. I have found a couple of applications that worked better with my old Tiger system than with Leopard. When I contacted the developers of these mis-behaving apps, I learned that while Intel machines seem to have no problem with their app's Leopard updates, they do report problems with those of us who still use our old big honking tower PPC's. Maybe that is what I am experiencing here.

  • Total newbie needs help installing and setting up Solaris 10 as a server

    i'm attempting to set up one computer to act as a file and print server on my home network, so that i can store all of my music and video files on it instead and print to my parallel-only laser printer. 80% of the time i'm using my laptop, so i need the mass storage and printer to be handled by another device - the server!
    i'm not sure if i'm even installing Solaris 10 correctly. how should it be installed to then act as a server? my two (incredibly long, like 3+ hours each) install attempts so far have resulted in an OS that looks like a nice fancy GUI-laden desktop which doesn't appear to show me my 750G SATA storage drive (the OS is on a 40G IDE drive).
    in the end, i'd like to have the system working so that my only interaction with it is the power button - press it once to power it on and it'll boot up and long in automagically and make itself seen over the network (with printer and files stored on drives accessible to my laptop or any other PC that's on the same network), and then press the power button again to shut down the entire system gracefully (so far, when i press the power button, it's a quick kill like pulling the power cord - i'm pretty sure that's a bad way of having the system shut down, so how do i change it?)
    i'm really hoping to use Solaris due to the promising ZFS scheme. my only exposure so far to unix / linux has been with ubuntu, which i usually like but sometimes loathe (primarily file permissions and network manager).

    Let's try step by step rather than asking for setting up a server as a while and I'll try to help you as much as I can.
    For setting up a printer, it's not that easy or quick setting up a printer on Solaris, I mean it's not like plug-n-play. Tell us about your printer and how it's connected to your system (usb, ethernet, parallel, serial).
    As for shutting down the system, it's recommended to use the shutdown commnad like this:
    # shutdown -y -i0 -g0
    --gibb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Beginning Programmer needs help - JSP and databases?

    1. I have never used JSP before, but have been given an assignment to create a webpage to query a database. The database is in Access. Does anyone have a snipet of code in JSP that will query an MS Access database. Is there a function that I can use and pass it an SQL (select statement) and have it return a list of results.
    -OR-
    If there is a way for JSP to transform the MS Access database into a text file that would be good also.
    2. Has anyone created a search functionaly using JSP (or know of a tool) that can search documents, PDF files, HTML files, etc.
    Thank you for any help!

    hi , there is no big deal in JSPs, Servlets, EJBs e.t.c its olnly a matter of committing time and getting urself familar and in areas where you have problems this forum is a nice place for you to share all what u have.
    to start with i will give you some sites where you can start learning jsps, servlets, ejbs and the rest.
    1) http://java.sun.com/j2ee -> look for JSPs , Servlets, EJB, JavaBeans e.t.c
    2) http://www.jspinsider.com
    3) http://www.coreservlets.com
    4) http://www.jakarta.apache.com (download tomcat for your container)
    for databases u can use this code snippet but u will have to read more about databases to be able to chagne some things in this snipper such as your database username, password , url and the rest.
         <%@page import="java.sql.*" %>
         try
            Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
            Connection con = DriverManager.getConnection ("jdbc:odbc:test_dsn", "sa", "");
         Statement stat = con.createStatement ();
         ResultSet res = stat.executeQuery("select * from authors");
         while (res.next())
              //process the results of this query
         catch (Exception e)
            //process this also
    %>
    You will need to become farmilar with the java programming language and also database conventions so you have a proper understanding.
    study those db codes and modify to suit your needs.
    buzz on me in case you are stuck.
    Regards

  • I need help with and Error PLEASE!!

    Everytime i try to upgarde my itunes 6 to itunes 7 i get and Error Drive E:/ message and then i get a message saying The installer encountered errors before Itunes could be configured.
    WHAT DO I DO? I NEED SERIOUS HELP HERE!

    After installing iTunes 7, it tried to update my daughter's 20G wheel iPod but failed crashing the iPod. After the crash, my daughter got a 1418 error reporting the iPod could not be restored. An iPod salesman sold her a new iPod – blaming her for screwing up her iPod, so much for sales “experts.”
    Her iPod problem was merely caused by upgrading to Apple’s iTunes to version 7 with its dysfunctional built-in updater (OS = Windows XP), not by anything to do with the iPod hardware.
    The fix was to uninstall the iPod in Windows/Device Manager/disk Drives and rename the c:\program files\ipod\bin\ipodservice.resources folder – thereby disabling it - uninstall iTunes v. 7, reboot and install the last iPod updater, dated 6/2006. Then restore the iPod (wiping out everything) using the 6/2006 updater. Next, reinstall iTunes ver7.1, which will report all is well with the restored iPod. (Or, buy another iPod).
    Also, if the “do not disconnect” iPod message is persistent, just go into My Computer and “eject” the iPod to clear the iPod error message.

  • Newbie needs help, advice and alternatives to imovie

    Hey all,
    I am running into problems using imovie 08. Here is the project: Importing large amounts of VHS footage using a canopus input device. I have no problem importing. the problem exists when I try to delete rejected footage. I know this has been posted before, but i really did not notice a solution. I hear things like, "be patient. it takes time" but I am getting spinning wheel that wont go away. I click on the imovie icon in the toolbar and it says, 'imovie not responding" in the greyed out area of the box. So i am forced to shut down or force quit.....losing not only the clip, but the entire import.
    Is there any way to avoid this? it is a fairly new imac, so its not as if the cpu or memory cant handle the project.
    Now part two.....I want to import all these ideally with imovie, then edit ideally with idvd. First, i want to import everything (i am borrowing a work imac for winter break) and later (summer?) i want to edit. but, i dont think i will be able to do this since i cannot get rid of the scenes...or do i just wait and do this in idvd? IS there an easier way? snap pro? final cut? i want to avoid the rendering times (takes imovie over an hour just to open!) and the freezing. my end product will be DVD's slideshows,
    Could I easily, using these programs, simply make a copy of the DVD's on a LG dvd recorder (stand alone) and edit this video later? or do i have to then import that in DV format, and end up with the same problems? eventually, i want to do lots of editing so the stand alone is not a good permanant solution. I also dont get it: are these DV files or MOV files? the computer shows both. what else imports this format that may allow me to edit the video in an easier, non freezing way?
    thanks for reading. meanwhile, i will continue to scan the forums.
    Mike

    But, let me see if i understand you correctly: import with imovie, but THEN use QT or Mpeg streamclip? or do i import with those programs.
    Actually, I would probably use Vidi (free) to import the source files. It is an older utility and does just one thing -- it captures the raw DV footage and stores it wherever I want. This is handy if I have yet to determine which video editor I plan to use. Once the raw footage is stored on my hard drive, and can perform preliminary cuts of footage I definitely don't plan to use. This saves time importing/re-rendering the content I do actually keep and plan to use, as well as, the thumbnailing of content if it went directly to iMovie '08.
    also, can you explain why this is what you call destructive editing?
    Destructive editing is editing that actually modifies the source file. All versions of iMovie have the ability to "split" the source content into smaller segments and trash ones you don't want. By this I mean it actually divides a source clip into smaller segments, re-writes the segments you want to keep, and deletes those you don't. This is destructive. Once the segments are deleted and the project updated, they are gone for good. iMovie '08, FCE, and FCP, on the other hand, are intended to be used non-destructively. This means You can select a segments and add the segment to one or more projects one or more times without physically changing the source file. In other words, there is no real need to physically remove content you don't want since you can simply tell the project which frames to include in the project. Think of it as either copying the source frames you want to project. In actually, in iMovie '08 you are just copying frame references to the project and not the physical content itself -- which is why I call it "by-reference" editing. Since not actual footage is copied to the project in iMovie '08, the project files are much smaller. In addition, unlike iMovie HD, your edits do not have to be rendered to physicals which also ad to a projects size. Instead, in iMovie '08, the status of the project is simply rendered in real time for viewing which is why the CPU requirements are so high for this application.
    do i loose quality on this?
    Generally speaking, you lose quality every time you transcode your content. Since there is no physical intermediate file in iMovie '08, every frame in our output is transcoded at least once. In iMovie HD, only the titles, filters, transitions, special effects and such are re-rendered (re-compressed to the default project compression format) which means that all other content is exported as a "reference" file pointing to the original source content as it was imported into the project. This is why you will probably see a lot of talk about DVDs made with iMovie HD looking better than those made with iMovie '08.
    a lot?
    That really depends on what you are doing and how good the original content is in terms of quality. If you are importing content that is automatically transcoded or manually transcoded as part of the import and then re-render it part of a special effect and then convert it to a target compression for a particular use, then you could end up with the equivalent of a third generation copy of your original content. If the original content was of outstanding quality, then you may see little or no visual deterioration. If starting with something like QVGA digital camera content, then you may be tearing your hear out when you see the finished product.
    do i really need to jump thru all these hoops just to primarily delete rejected clips? a process that imovie 08 should be able to handle quite easily, but does not.
    The best approach you be for you to do your preliminary editing as you import. Since you will be importing manually, you can plan ahead and only import the content you actually plan to use by starting and stopping the import process manually. By blocking or importing individual segments manually and allowing them to thumbnail independently, you should not be constantly running into the problem where the computer locks up for hours because you are importing an hour plus of content all at once. I have never run any timing tests, but it often seems that the import time sometimes grows geometrically with the amount of content imported simultaneously and not linearly on my rather old G5. (It may just be my imagination, but I'm not sure.)
    the second comment i get. So, i can really keep all the cruddy stuff in my import, and simply do not add it to the idvd project?
    Normally, each project you create in iMovie will end up as a separate "title" on your DVD. You can crate a single long movie or several shorter projects than can be selected as independent playback selections in your DVD project. The basic function of iDVD is to take the files you send to it and convert them to MPEG2/PCM content to be burned to a DVD along with the interactive menus needed to play them back on a commercial DVD player which access content written to specific types of files. While an application like DVDSP will offer limited editing options, they are nowhere as good as what you can do in the video editor. Use iMovie to create the file as you wish to play it back and use iDVD to write those files to your DVD.
    that might help me avoid the issue i am having, but will not help me save drive space.
    As I have already said many times before, the best way to save drive space is not to import content you don't really want. The average DV25 file video content alone takes up an average of about 28.5 mbps for or about 12.825 GB of hard drive space for every hour of imported video plus whatever space is needed for your audio. (There are different "flavors of DV but most often it is imported as DV/DV for iMovie.)
    that might help me avoid the issue i am having, but will not help me save drive space.
    The best way to see what is going on is to simply open one of the files and look at the "Inspector" window. The "Format:" entry should tell you what compression formats were actually used to create the files. The DV file will be DV video with DV audio. The MOV files will likely depend on the actual source file and/or the default project type selected in the case of iMovie HD imports. Basically, if the import routine automatically transcoded the content, it will often end up in an MOV file container as explained previously.
    i like the sound of vidi and will check it out now.....ok. did that. looks good! so, basically, i get one big file at no signal loss, that i can mess with first, then bring into imovie?
    Exactly.
    any reason i would NOT want to do that?
    Probably not as long as you import and do your preliminary editing one tape at a time. In this way you can get rid of most of the dross immediately. If however, there is a long segment you know you'll never use, why import it at all.
    I only have so much time off work here, and hope to do it all during my vacation. this issue was causing me a headache. hopefully this will now make things a little easier.
    Best of luck. Consider it a "learning experience." (I.e., "no pain, no gain.")

  • Need help! my zoom is not working

    Hello everyone!
    I dont know if anyone can help me. My zoom was working fine until last week. Now, when i get in the CAMERA application, i can see the "+" sign in the screen, but the "-" sing just disappear. Can anyone help me? 
    Thank you!
    S.

    maybe your zoom is set to the farthest position ?
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • New and need help - drag and drop with dynamic text

    So I'm doing this project and as an animator I'm not familiar with the whole action script side of flash
    Okay so far I've managed to create the whole Drag and Drop feature and it works well, the thing is I want to make it so when you drag in object in the correct spot and new text appears, and I need like six different object with the dynamic text. but I have no idea how to integrated it in my code or where I should start!
    So i based myself on some tutorial so theres some code in there that had dynamic text, but not exactly what i wanted
    Your help would be much appreciated!
    This is my code:
    var counter:Number = 0;
    var startX:Number;
    var startY:Number;
    six_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    six_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    five_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    five_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    four_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    four_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    three_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    three_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    two_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    two_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    one_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    one_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    function pickUp(event:MouseEvent):void {
        event.target.startDrag(true);
    reply_txt.text = "";
    event.target.parent.addChild(event.target);
    startX = event.target.x;
    startY = event.target.y;
    function dropIt(event:MouseEvent):void {
        event.target.stopDrag();
    var myTargetName:String = "target" + event.target.name;
    var myTarget:DisplayObject = getChildByName(myTargetName);
    if (event.target.dropTarget != null && event.target.dropTarget.parent == myTarget){
        reply_txt.text = "Good Job!";
    event.target.removeEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    event.target.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
    event.target.buttonMode = false;
    event.target.x = myTarget.x;
    event.target.y = myTarget.y;
    } else {
    reply_txt.text = "Try Again!";
    event.target.x = startX;
    event.target.y = startY;
        if(counter == 6){
            reply_txt.text = "Congrats, you're finished!";
    six_mc.buttonMode = true;
    five_mc.buttonMode = true;
    four_mc.buttonMode = true;
    three_mc.buttonMode = true;
    two_mc.buttonMode = true;
    one_mc.buttonMode = true;

    where you have
    xxx.text = ....
    is where you're assigning text.

  • I need help finding and removing an adware?

    Hi everyone,
    So i'll try and explain this as best i can. I've got some kind of adware/spyware playing havok with my web browsers. I found and removed the TERRIBLE spigot extensions in google chrome but theres something unwanted that remains.
    Whatever is still in there has a few signs of its existence, none of which lead me to searchable queries online. The first sign is a bunch of youtube adverts that appear when i watch a video. The advert has at the bottom of the screen " ads by cm movies". It also has an "i" information button which when you click sends you to a very non specific (generic/madeup) website which apparently allows you to opt out of the ads but wont actually allow it.
    It also strangles my internet. Pages take ages to load, or quite often the loading icon will come up and the cooling fans? Will ramp up to full and i have to turn the computer off by using the button. I've tried searching the net for answers but no luck. I've looked at my extensions for chrome and safari. I've looked at my activity monitor for suspicious programs.
    Im on a 27" imac, osx 10.9.2 (does this exist as theres only 7.0 options below).
    Any help would be great.
    Thanks,
    Steve.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.evenflow.dropbox com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; BI () { $PB\ :CFBundleIdentifier "$1"; }; LC () { $2 launchctl list | awk 'NR>1 && !/0x|\.[0-9]+$|com\.apple\.(AirPortBaseStationAgent|launchctl\.(Aqua|Background|System))$/{print $3}' | grep -Fv "$1"; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps Model; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^EO]|x([^8]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm POST; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/s/^.*://p' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;/Apple|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm Heat; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; o=; fdesetup status | grep -q On && o=On; Ps FileVault; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel log"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; bi=`egrep '\.(kext|xpc)/(Contents/)?Info.plist$' <<< "$sys" | while read i; do [[ -f "$i" ]] && BI "$i"; done`; o=`kextstat -kl | grep -Fv "$bi" | cut -c53- | cut -d\< -f1`; Pm "Kernel extensions"; li=`egrep 'Launch[AD].+\.plist$' <<< "$sys"`; jl=`while read f; do [[ -f $f ]] && $PB\ :Label $f; done <<< "$li"`$'\n'"$bi"; R && o=`LC "$jl" sudo`; Pm Daemons; o=`LC "$jl"`; Pm Agents; o=`for d in {/,}L*/Lau*; do M; done | grep -Fv "$li" | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do i="$d"/Info.plist; [[ -f "$i" ]] || continue; ID=$(BI "$i") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=; defaults read /Library/Preferences/com.apple.alf globalstate | grep -q 0 || o=On; Ps Firewall; o=`scutil --proxy | egrep 'Prox.+: [^0]'`; Pm Proxies; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print}; /v6:/{if ($2 !~ "A") print}'`; Pm TCP/IP; [[ "$I" =~ [AW]i ]] && { o=`/S*/*/P*/*/*/*/*/airport -I | awk '/lR/{print $2}'`; o=$((o<=-87?o:0)); Ps RSSI; }; R && o=`sudo profiles -P | grep : | wc -l`; Ps Profiles; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc hosts <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "App check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`find .??* -path .Trash -prune -o -type d -name *.app -print -prune`; Pm "Hidden apps"; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font issues"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps UID; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for