General JAR Questions 101

I just completed my first ever app using the Netbeans IDE 3.6 w / sdk 1.4.2_04
My GUI app has a main class name of : "AddRFSwitchMain" residing in a package named "AddRFSwitchPac" all in a project folder named "OW_A"
My app requires the resources of an external multi -container "OneWireAPI" jar file.
My app also makes use of the timer bean that came already residing in the netbeans IDE bean palette.
All of the GUI code was constructed by using the GUI form builder tool including the timer bean56.
Question:
(1) To run my app outside of the IDE, I created a "jar file recipe" named "OWProject" This OWProject recipe then becomes my "compiled jar" named "ProjectOW" and runs fine when mounted "inside" the IDE . It looks to me like my "ProjectOW.jar" only makes "file location references" to the needed external "OneWireAPI.jar" I thought that my jar file would contain the "actual files" of the needed "external files" inside my jar .... is this not true? ..... as it stands, to run my app as a stand alone on another computer , with an installed "jre" , I would need to also include the "OneWireAPI".jar also to be installed on a computer running my app.
(other questions to follow this one)

>
OK ... so ... "third party software" is only made
reference to its "location" as spec'd in my app's
manifest.
.... and I do this in the " Class-Path: " of my app's
manifest.Yes. (see below)
>
.... and I can include the "external jar" in my app's
package for transport to other computers as one Jar.I'm not sure if that would work. (a jar within a jar). ??
How about something like this:
\Package Folder\
     - MyApp.jar (the main jar)
     \bin\    (folder)
          - Other Jar needed for execution of the programThen in your main jar's manifest, include "bin/OtherJar.jar".
So the second jar will be packaged separately, away in a folder that clearly states what it contains.
All the user would have to do is to execute the main jar. this is the only file they would have to see, from an
execution perspective.
Question:
(2) As my app now stands in the netbeans IDE , my app
"imports" these required external files from thier
respective locations "mounted" in my IDE. ... When I
move these external files to my "Package folder" ..I
must now go back into my app and change any location
reference (import statements, etc) to reflect this
move ... correct?I don't think so: as long as your classpath (got from the manifest of the jar) includes the new locations of
these external files.
I think NetBeans works like this: a 'mounted' directory or file is included in the classpath.
ie. when you click 'Compile', NetBeans passes a command to javac, specifying a few different parameters,
and including in the classpath all the mounted files and directories (looks something like:
"javac -classpath .;C:\Programming\Java;C:\Java\ThirdParty\OneWire; etc.", where those directories
specified in the '-classpath' parameter are the mounted directories)
So when you move your app out of NetBeans, all you need to do is to ensure that the required files are
included in the classpath. If you're still working on your app in an editor, you'll need to tell the editor what to
include in the classpath (that's how IDEs make your life easier*).
If you are packaging your app as a jar file, you will need to specify (in relative locations) where your
required files will be located.
Your actual code should not need to be modified.
Does this make sense?
:) lutha
* but, as you can see, they should perhaps only be used when the programmer already understands concepts like classpath! ;-) This is the view of many programmers here on these forums.

Similar Messages

  • General dreamwevaer question

    hello dreamweavers.
    im a newbie going to use dreamweaver from next week and beyond,so id like to ask the following:
    should i design the website in photoshop and then import it into dreamwevaer,in order to code it?
    is dreamwevaer flexible in design point of view,or is it mostly getting finished designs such as headers,footers,flash banners,
    and then building up the site where things so and such.
    thank you.

    Hello Nancy.
    seems like an informative website,i can see it is easy to understand the
    basics.
    Στις 23 Μαρτίου 2012 4:29 π.μ., ο χρήστης Nancy O. <[email protected]>έγραψε:
       Re: general dreamwevaer question  created by Nancy O.<http://forums.adobe.com/people/Nancy+O.>in
    Dreamweaver - View the full discussion<http://forums.adobe.com/message/4283588#4283588

  • Yup, a Jar question

    i have really really tried to answer this question.
    i searched the forums. i read the api.
    so please, haha, please help.
    i know jar questions dont typically get a warm reception.
    I have a folder containing a couple folders and one jar file.
    Images/
    Data/
    MyApp.jar
    i cannot access the images in the Images folder.
    im getting this error:
    Resource not found: /Images/ToolBar/pic.gif
    Uncaught error fetching image:
    java.lang.NullPointerException
    at sun.awt.image.URLImageSource.getConnection(URLImageSou
    9)
    at sun.awt.image.URLImageSource.getDecoder(URLImageSource
    at sun.awt.image.InputStreamImageSource.doFetch(InputStre
    rce.java:248)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    this is the code i use to load images:
    String imgLocation = "Images/ToolBar/" + imageName + ".gif";
    URL imageURL = MyClass.class.getResource(imgLocation);i also tried it with a "/" before "Images" in the code.
    I tried adding the folder to the manifests classpath.
    I also tried knocking on wood and counting sheep.

    the way my computer is configured i never use "-cp . " when
    running a java program.
    it usually uses the present directory as the class path.
    but i have looked into that (maybe im doing it wrong).
    im running "java -jar MyApp.jar" from the command-line (in XP)
    from the directory that holds the .jar and the Images/ folder.
    i tried "java -cp . -jar..."
    i also tried putting the class path in the manifest file but every\ytime
    i did that i got "no class in main" error.
    if C:\My\Program contains MyApp.jar and directory Images/
    Class-Path: C:\My\Program\Images
    didnt work
    Class-Path: C:\My\Program ; C:\My\Program\Images
    didnt work
    i tried the / both directions
    ive tried countless permutations of this.getclassloader / getclass blah blah also.
    every thread gives the class loader as the answer but so far
    nothing has worked.
    its amazing how many times this question has been asked and
    there usually isnt an answer.
    im depressed, haha.

  • A few general agent questions

    We've been asked some general questions by our agents that I have been unable to find answers for, (although 4 and 5 are likely working as designed). We are running IPCC Express 7.0(1)SR05_Build504 and these are all phone agents. We do not run the agent desktop client. Any assistance in answering these questions would be greatly appreciated.
    1. TransfertoVM softkey "grayed out" while on a CSQ call. Can it be enabled?
    2. While logged in to CSQ, is there a way to start dialing prior to
    lifting the receiver?
    3. Is it possible to handle more than one CSQ call at a time, e.g. put a call on hold and answer
    another CSQ call.
    4. Upon selecting Agent Login (single-button login), can the agent automatically be put into Ready?
    5. Upon Logout, can the phone be returned to the main screen, rather than getting the manual agent login screen?
    Again, any assistance in answering these questions would be greatly appreciated.
    Thanks,
    Roger

    Hi
    1) Isn't that an IPMA softkey? Never tried it, but whilst it's not in the 'unsupported' list, I wouldn't expect using any IPMA features in conjunction with CAD would get you good results. If it doesn't cause you stuck/ghost calls, I would expect erroneous reports...
    2) Being logged into a CSQ doesn't affect the way the phone works.
    - You can dial the number then either lift the handset or hit dial (for speakerphone)
    - You can press speakerphone or headset then dial
    I guess what you are referring to is if you are using the IP Phone Agent in conjunction with a headset? If you are, then the IPPA usually obscures the 'new call' and 'end call' softkeys that you might use if you leave the headset button lit. I guess this isn't the case, as you refer to lifting the receiver? Unless you have motorized lifters.. If that's what you have, you can try getting users to either :
    - Manage their onhook/offhook state using the headset key as if it was the speakerphone key (i.e. press it to hang up or pickup)
    - Use a headset/phone combination that supports HHC
    - Switch to CAD, or CAD-BE if you can't install PC software for some reason.
    3) No. The system is designed specifically so that this should never happen.
    4) No.
    5) Again, no... you can't customize the BIPPA service... If you use CAD or CAD-BE this wouldn't be an issue.
    Regards
    Aaron
    Please rate helpful posts...

  • Workflow and General Use Questions

    Hello,
    I'll apologize right off the bat for these novice question because I'm sure the information is probably somewhere in the forum, I just haven't been able to find it. I just purchased Aperture after completing the demo as my library is getting too large to manage using standard file folders. I'm now trying to figure out the best practices for workflow and general use before I invest some serious time into importing and keywording all my pictures.
    1) Store files in the there current location, or in the Aperture Library? It seems to me that once they are moved to the Aperture library, you can only access them from within Aperture. I'm thinking I would be better off leaving them in their current location. For one, if I want to quickly grab a picture as an attachment to an email or something it seems easier to grab it from the standard folders. Second (and more important) I do not have room to keep all my pictures on my Macbook, thus most of them are stored on the Time Capsule.
    So... Keeping photos in their current location appears to be the best choice for me even though it adds an additional step every time I bring in new photos from my camera. Does this sound right?
    2) Is there a way to mark the photos that I have uploaded to my website (Smugmug)? Ideally, I would like to badge photos that have already been uploaded so I can quickly recognize them and ensure I'm not duplicating. I've considered using the rating, or keywords to indicate that a photo has been uploaded but both methods have disadvantages.
    3) Any suggestions for general workflow and organization resources (tutorials, books, websites, etc.)? I've looked at the videos on Apple's site but they obviously didn't get that detailed.
    Thanks for the help, sorry for the length.

    I recommend to Manage by Reference with Master image files stored on external hard drives (note that Aperture defaults to a Managed-Library configuration rather than a Referenced-Masters Library). Especially important for iMacs and laptops with a single internal drive. The workflow as described below in an earlier post of mine uses a Referenced-Masters Library.
    I feel pretty strongly that card-to-Aperture or camera-to-Aperture handling of original images puts originals at unnecessary risk. I suggest this workflow, first using the Finder (not Aperture) to copy images from CF card to computer hard drive:
    • Remove the memory card from the camera and insert it into a memory card reader. Faster readers and faster cards are preferable.
    • Finder-copy images from memory card to a labeled folder on the intended permanent Masters location hard drive.
    • Eject memory card.
    • Burn backup hard drive or DVD copies of the original images (optional strongly recommended recommended backup step).
    • Eject backup hard drive(s) or DVDs.
    • From within Aperture, import images from the hard drive folder into Aperture selecting "Store files in their current location." This is called "referenced images." During import is the best time to also add keywords, but that is another discussion.
    • Review pix for completeness (e.g. a 500-pic shoot has 500 valid images showing in Aperture).
    • Reformat memory card in camera, and archive originals off site on hard drives and/or on DVDs.
    Note that the "eject" steps above are important in order to avoid mistakenly working on removable media/backups.
    Also note with a Referenced-Masters Library that use of the "Vault" backup routine backs up the Library only, not the Masters. Masters should be separately backed up, IMO a good thing from a workflow and data security standpoint.
    Max out RAM in your MB and keep the internal drive less than 70% full.
    Good luck!
    -Allen Wicks

  • General log4j question I can't answer myself

    I have developed an app using Eclipse that uses log4j and everything seems to work fine. But when I copy the code to our Unix box and run it with Ant (just upgraded to 1.7 if that makes a difference), all the logging gets redirected to stdout. It WAS working at some point, but now I can't seem to get it to work correctly and I think it has something to do with the location of my log4j.properties file. Where does this darn thing go? I jar the project if that makes any difference.
    Should it go in the same directory as the Main class? same dir as the base dir? current dir? Inside the jar? outside? etc...
    my directory structure is:
    ls .
    build.xml
    classes (dir)
    build (dir)
    src(dir)
    ls build
    MyProgram.jar
    so I call Ant from .
    And as a second question, does eclipse do any voodoo to get the pull the config file?

    I have developed an app using Eclipse that uses log4j
    and everything seems to work fine. But when I copy
    the code to our Unix box and run it with Ant (just
    upgraded to 1.7 if that makes a difference), all the
    logging gets redirected to stdout. It WAS working at
    some point, but now I can't seem to get it to work
    correctly and I think it has something to do with the
    location of my log4j.properties file. Where does
    this darn thing go? I jar the project if that makes
    any difference.
    Should it go in the same directory as the Main class?
    same dir as the base dir? current dir? Inside the
    jar? outside? etc...Question the first: What are we talking about here, a web app, desktop (swing) app or something else?
    >
    my directory structure is:
    ls .
    build.xml
    classes (dir)
    build (dir)
    src(dir)
    ls build
    MyProgram.jar
    so I call Ant from .
    And as a second question, does eclipse do any voodoo
    to get the pull the config file?No it doesn't. It only does what you tell it to though you may do so inadvertantly.
    The rough answer to your first question is that it doesn't really matter so long as the file system can find it. Likely this can be corrected with a handy path entry though you need to be wary that you don't have multiple files referenced in your path that have the same name.
    Knowing more about what you're deploying, and how you're deploying it would be helpful in trying to give you better answers.
    PS.

  • Simple applet jar question

    I'm sure this is an easy question, but how do you access subdirectories in your applet's jar file?
    For instance the contents of MyApplet.jar jar would be:
    * META-INF
    * images
    * net
    Say the main class is MyApplet.class in net/mydomain/myproject
    How in the main class would I get at images/MyImage.jpg?
    Obviously I did not get this code to work:
    ImageIcon upIcon = new ImageIcon("images/MyImage.jpg");
    Thanks alot!

    Actually now I am using:
    ImageIcon upIcon = new ImageIcon(MyApplet.class.getResource("/images/MyImage.jpg"));
    This way the 'absolute' resource is found (becuase the resource name starts with a '/').
    This seems to be the best way to do it.

  • General BADi question:Call BADi in background job/batch input. Possible?

    Hi out there,
    i'm using thoe following BADi: /SAPSLL/CTRL_SD0C_R3 (Global Trade Service).
    But also, this question is a general question.
    If we are calling on screen the transaction VF01, the BADi is called correctly.
    But unfortunately it seemes that the BADi is NOT called (im not really sure, cause i can't debug the background task) when we are calling a batch input sequence wth f.e. form bdc_transaction VF01 nothing happens.
    Maybe BADi cannot be called in a background task? If it's possible, how could it be monitored. Thare isw no spool entry or anything like that!
    Any answer can help.
    Thank you in advance!
    Regards,
    Timo
    Edited by: Timo Ehl on Apr 14, 2009 7:27 PM

    Hi,
    generally BADIs are called in background mode. You can use the following trick to debug your BADI. You just need to create an infinite loop in your BADI implementation. Something like this.
    DATA: l_a TYPE c.
    WHILE l_a IS INITIAL.
    ENDWHILE.
    Obviously when your BADI is called in background mode then program will get into infinite loop. You can easily connect and debug running programs from transaction SM50. You need to select your background process and go to Program/Session -> Program -> Debugging. You will jump directly into your BADI methos with infinite loop. Then you will just set value to l_a and you will start debugging your BADI. If you can not find any process then your BADI is not called in background mode.
    Cheers

  • Basic JAR Question

    Hello,
    I hate to ask such a simple question, but I'd like to get confirmation from people who know.
    It is possible to package non-EJBs into a deployed JAR containing EJBs, isn't it? I have heard that you cannot mix a non-EJB class into a JAR that contains EJBs, but my interpretation of the literature I've found about packaging EJBs seems to indicate otherwise.
    Basically, it looks like you would want to (or need to in some cases) package any class that an EJB depends upon through inheritance or through another association (e.g. a custom user Exception class that and EJB might throw) into the same JAR file.
    Please reply and set me straight on this. Thanks in advance.
    Jeff

    1. You can include any classes in your EJB jar file, and it is widely used. You can also include other files (e.g. properties) and access them through the class loader (as resources).
    2. If you use some libraries, you may reference them with Class-Path: element in your manifest file. It is not necessary to unpack the library and include its classes in your jar file. (About "Class-Path" -- look page about manifest in the java tutorial (in the JAR files trail)).
    3. Your JAR can contain no classes, just a deployment descriptor, if your classes are somewhere and you have referenced them with "Class-Path". ;)

  • A general OOP question

    Hi
    I have a general OOP design question, and am wondering if someone could relate an answer to the following design?
    I have a class called MediaFolderImport(); - it's designed to build a window with various editing tools in it.
    Within it's constructor, I'm calling a bunch of functions to build the window...
       createTitle();
       createInstructions();
       createToolPanel();
       createDataGrid ();
       createOpen();
       createSave();
    In my document class, I instantiate it...
    public var File_Folder_Import:MediaFolderImport=new MediaFolderImport();
    and then...
    addChild(File_Folder_Import);
    Voila! - the window appears. I WAS very proud of myself.
    Now I want to access something inside the window.  Specifically, there's a radio button that was created in createToolPanel(); - I want to update it to be selected or not selected when I receieve the user's preference from an xml settings file at start up (xml is loaded into the doc class).
    General question:
    What is the best practice, smart way to have designed this?
    - call createToolPanel(); from the doc class instead of within MediaFolderImport();, and somehow (magically) have access to the radio button?
    - leave the design as is, but add some sort of listener within MediaFolderImport that listens for changes to the xml in the doc class, and updates accordingly?
    - do it the way I'm trying to, ie try to access the radio button directly from the doc class (which isn't working):
    File_Folder_Import.myRadioButton.selected = true;
    - a better way someone can briefly explain the concept of?
    Another way to explain my design is...
    - a bunch of different windows, each created by a different class
    - xml file loads preferences, which need to be applied to different tools (radio buttons, check boxes, text fields etc) in the different windows
    I read a lot of posts that talk about how public vars are mostly bad practice.  So if you are making your class vars private, what is the best way to do the kind of inter-class communicating I'm talking about here?
    I think someone throwing light on this will help me solidify my understanding of OOP.
    Thank you for your time and help.

    You're already very used to using properties for the built-in AS classes and that's the best practice means of configuring your class. It's a "state" that you want to simply expose. The get/set method moccamaximum mentioned is the ideal route.
    The main reason you want to use get/set functions is validation. You want your class to act properly if you send an invalid value. Especially if anyone else besides yourself is going to use the class. Plan for the worst.
    The general concept is, make a private variable for any 'state' you want to remember using an underscore in the variable name to easily identify it as a private var, then make get/set functions with the same name with any required validation without the underscore.
    e.g.
    package
         public class MyClass
              // property called 'mode' to track something with an int
               private var _mode:int = 0;
              public function MyClass() {} // empty constructor
              // get (type enforced)
              public function get mode():int { return mode; }
              // set, requiring a value
              public function set isChecked(modeVal:int):void
                   // if no value is sent, ignore
                   if (!modeVal) { return; }
                   _mode = modeVal;
    Your validation will go a long way to easily debugging your classes as they grow in size. Eventually they should throw exceptions and errors if they're not valid. Then you will be best practice. Do note that if your validation requires quite a bit of logic it's common to upgrade the property to a public method. get/set should be reserved for simple properties.

  • Best Font for Subtitles? and other General Subtitling questions?

    I've never had to use subtitles, until my current project, so I am looking for some general advice and suggestions.
    I will be using PPCS3 (on XPpro) as the subtitles (as in the kind that translate a foreign language) will be permanent.
    So here are my questions:
    1. What is the best font and or what is the most standard font for subtitles? (Font size and other characteristics may be worth mentioning here too.)
    2. Is it possible to have an outline around the text as opposed to shadow?
    3. What are some general rules of thumb for subtitles that apply to broadcast and cinematic productions?
    Thank you.

    See also:
    FAQ:Why are my titles blurry/wrong?
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • General Java questions

    1) A program written in Java is supposed to be multi-platform. However, I notice alot of programs I've seen written in Java are distributed to specific systems using different file extensions. The Windows version usually uses the .exe extension and I'm wondering how come they don't use the default .class extension? One major company is Borland for their JBuilder. They had a Windows version long before a Linux version even though I hear it was created in Java.
    2) Is there a free install program for Java or are the only ones commercial products?
    3) Is there a personal database available for Java that will work on all platforms? In my Internet Programming with Java class we used mySQL but I don't want to use a server database let alone one that will require a seperate install.
    4) Is there a free multi-platform IDE for Java (not counting just a text editor)?
    5) Can you universally access a system with Java? Ex. If I wanted to load an application with Java in Linux and Windows do I need to write two seperate routines on how to do this or does Java have a built in function? If I wanted to delete a file is this written universally the same?

    1) A program written in Java is supposed to be
    multi-platform. However, I notice alot of programs
    I've seen written in Java are distributed to specific
    systems using different file extensions. The Windows
    version usually uses the .exe extension and I'm
    wondering how come they don't use the default .class
    extension? One major company is Borland for their
    JBuilder. They had a Windows version long before a
    Linux version even though I hear it was created in
    Java.Java programs are packaged (wrapped) to allow invocation using a .exe extension. It is not mandatory, nor is it a function provided within the native Java libraries. Standard Java is packaged in .jar files that allow execution within a Windows (or other) environment. Environmental setup is necessary to allow the O/S to find the Java libraries. This is a simple process that includes additions to the PATH and CLASSPATH environment variables.
    2) Is there a free install program for Java or are the
    only ones commercial products? I believe installAnywhere has a stripped down version of an installer that you can use for free. They also have a pay-per version that provides more extensive functionality.
    3) Is there a personal database available for Java
    that will work on all platforms? In my Internet
    Programming with Java class we used mySQL but I don't
    want to use a server database let alone one that will
    require a seperate install.There are several Java embeddable SQL compliant databases including Cloudscape and Pointbase. These are written and deployed as Java libraries, and can run within the same JVM as your application or in a seperate JVM on the same machine, or on a seperate machine with IP connectivity. I'm sure there are more, these are just two that I have used. I don't know that there are any free implementations of embeddable databases for Java (but just wait awhile, things change all the time).
    4) Is there a free multi-platform IDE for Java (not
    counting just a text editor)?For personal use, there is Borland JBuilder personal that can be downloaded and used for free. I personally use Sun ONE Studio CE (formerly Forte for Java) which is also free but uses a lot of resources, so be sure you have an adeqaute workstation to run it on. Again, I'm sure there are others, these are just the ones I have had success with.
    5) Can you universally access a system with Java? Ex.
    If I wanted to load an application with Java in Linux
    and Windows do I need to write two seperate routines
    on how to do this or does Java have a built in
    function? If I wanted to delete a file is this
    written universally the same?I'm a little unclear on your question, but you can invoke a seperate process (application) from Java using the O/S native interface through a Java function call. A seperate method is probably not necessary for each O/S, just different parameters passed to the exec function.
    File I/O and file manipulation can be done using Java, and does not have to be O/S specific (but you have that option if you want to).

  • Writing games for US wireless carriers - general newbie question

    I am a newbie to kvm and j2me so excuse me if these question are very basic or if i'm asking the wrong questions.
    I have been asked to quickly research writing games in java for US wireless carriers. Ideally I'd like to pick a carrier (e.g. Verizonwireless) and find out more about writing for them. How should I go about researching this?
    My research so far has found:
    General j2me info:
    I did some initial searching in the forum and found that the following link will give me a basic guide to j2me:
    http://access1.sun.com/SRDs/access1_srds.html.
    If I look at the documentation for -
    - Java 2 Micro Edition (J2ME)
    - Mobile Information Device Profile 1.0.1 (MIDP)
    Is this still the best place to look at online?
    Specific wireless carrier info:
    I had no luck finding where I should look for information on specific
    wireless carriers. Any suggestions? Also am I approaching this the right way or should I be looking at the specific java enabled mobile phones rather than the wireless carrier? Or is it a combination of the two?
    Thanks for any help.

    If the games are going to be networked then you should find out what type of network the carrier has (TDMA,CDMA,GSM with or without GPRS, etc. what bandwidths.... WAP or I-Mode). Regardless, you should be also concerned with what are the phones available on the carrier and what is their Java support.
    shmoove

  • Frmwebutil.jar Question w/ 10g (9.0.4)

    All over the Oracle documentation w/ Dev Suite and Webutil configurations it refers to frmwebutil.jar and sometimes f90webutil.jar.
    My question is, are we to use both files in various places w/ 10g (version 9.0.4) or use one or the other exclusively?
    If we are to use f90webutil.jar then I assume every reference directing us to frmwebutil.jar, we replace w/ f90webutil.jar, including signing the jar files adding to registry, .cfg files, etc...correct?
    thank you.

    Hello,
    using one of them is enough,Oracle Developer Suite 10g Release 2 (10.1.2) uses frmwebutil.jar. and the earlier release uses dev suite f90webutil.jar
    I think in your case you can use frmwebutil.jar alone.
    Regards
    Mohan

  • Some general photo questions

    I will be undertaking a major project soon that involves scanning all (and I mean every single one) of my family's photographs so that we have digital copies in case something bad happens to the originals. I plan on using iPhoto to store and catalog the photos. But my question is, when I scan the photos, what file format should I use? My scanner (HP Scanjet 3970) can scan to jpeg, tiff, tiff (compressed), bmp, and gif. which of those should I use? Also, I read somewhere that tiff for macs are different from tiff in windows. Is this true?
    Also, what resolution is optimal for keeping an archive of photos? File size is not really an issue since I'll be using an external hard drive that's plenty big.

    baldrambutan
    what file format should I use? My scanner (HP Scanjet 3970) can scan to jpeg, tiff, tiff (compressed), bmp, and gif. which of those should I use?
    iPhoto will handle any of those formats. My suggestion for maximum compatibility is to choose between tiff (uncompressed) and jpeg. Why? they're pretty universal, regardless of computer. As to choosing between them? Well jpeg is a lossy compressed format, tiff isn't. The files sizes are huge with tiff, quite acceptable with jpeg. How much editing will you do? IF not much, then there is little re-saving and jpeg will be absolutely fine.
    http://en.wikipedia.org/wiki/TaggedImage_FileFormat
    http://en.wikipedia.org/wiki/JPEG
    Also, I read somewhere that tiff for macs are different from tiff in windows. Is this true?
    Not that I know of.
    Also, what resolution is optimal for keeping an archive of photos
    The general rule of thumb is 300 dpi is what's required for printing. Screen images require less.
    Regards
    TD

Maybe you are looking for

  • Problem about using GOS to store business document!

    Hi Everyone,     I am using Generic Object services toolbar to archive document.    When I attach thru Create Attachment button and display by clicking on the attachments list, it is showing Creator name and the real name of document .But If I attach

  • Error during execution phase of sps10 update in CRM system

    Hi all, I am applying SPS10 on my CRM system and getting the following error during the execution phase. The system is running on Windows/MaxDB. ETP360 Begin: Act. of Shadow-Nametabs with DDL ("2014/03/10 04:26:51") 2 ETP301 -------------------------

  • PDFs disappear from iBooks on iPad

    Recently, I installed video material on my iPad which brought it "0.01GB over capacity". I deleted one film to free some space. Soon thereafter, I received an "iTunes can't read the contents of my iPad" error in iTunes and I was unable to install any

  • Error 9672 when adding wireless HP printer

    I am trying to add a HP 1315 printer for wireless printing through a Airport Express. I am using a MacBook Pro. Each time I attempt to add the printer, I receive a "error -9672". I am using the most uptdate HP driver downloaded from the HP site. The

  • Cannot (re)-active CS3, Adobe does not help

    Hello All, My wife has a macbook running Photoshop CS3 and Illustrator CS3. These are not part of the CS but applications that were bought separately. They still work and are perfectly fine for the work that needs to be done. The Macbook crashed yest