Simple Composition Size (and Output) Question!

Guys,
I have a CS4 composition which is 921 x 290 pixels and yet when I render it to an H.264 file, the resultant dimensions of the output file are 920 x 290. Oh and I'm not checking the 'stretch' or 'crop' option.
The video is going on to a website and the missing pixel is causing a problem...
Chummy

Thanks. So what do I adjust the comp size to?
Surely, if I want an H.264 file that is 921 pixels wide, that's impossible, right?
Chummy

Similar Messages

  • Image size and resolution question.

    Is an image at W 48.667 x H 32.444 inches at 72 res the same as an image that I could convert in photoshop to 300 res and then the with "Resample Image" clicked off would be W 11.68 x H 7.78 at 300 res for printing purposes? I'm asking this questions because after exporting 200 images from Lightroom 1.4, putting them into an wedding album I realized the images were not at 300 res but the first size listed above. I'm trying not to have to rebatch and have to put them back into the album. I sent the question to NAPP and got this back"
    "If you do the math you'll see that the answer is "no."
    48x72=3456 pixels; 32x72=2304 pixels
    11.68x300=3504 pixels; 7.78x300=2334 pixels."
    I did the math and it comes up to 5760 vs 5830. Pretty darn close. So would an image printed out with both settings print the about the same quality or am I missing something?
    Thanks
    Bob

    Bob's question is a common one. And one of the first that most of us struggled to understand. Let's see if I can shed some light to help clarify the matter.
    o The image starts out with a given number of pixels from the camera, scanner, or whatever was its source. The resolution only matters when it comes time to print the image.
    72 dpi was once a common resolution for displaying on a computer monitor. Today 90 dpi is more common monitor resolution.
    o Let's assume that the image is 3504 x 2336 pixels (which I got from his size @ 72 dpi).
    o In "image size", if you do _not_ have 'resample image' checked, all you are doing is _rescaling the image. The image resolution is whatever you enter ...
    For example, if you enter 360 dpi -- the native printing resolution of many Epson printers -- you get a print size of 9.733 x 6.489 inches
    o Let's say you want to print this image at 360 dpi in portrait on 13 x 19 inch paper with a one inch border on the sides. That would make the short dimension of the image 11 inches and the long would work out to 16.5.
    To do that you need to _resample_ the image to change the size. More pixels will be made. The resolution stays at 360 dpi. So check the 'resample image' box.
    After resampling to get the print size and resolution you want, the pixel dimension goes to 5960 x 3960 (from 3504 x 2336). Those new pixels came at a price, but that is a matter for another thread and a lot of personal bias.
    Hope that helped.
    P.S. The answer to your question, Bob, is yes. With resample off in PhotoShop, your original images should have gone to 11.68 x 7.787 inches @300 dpi.
    In looking at the rest of your original post, it seems that the export didn't work the way that you wanted. Do I read right that the images turned out to be 11.68 x 7.787 @ 72 dpi? Can't help with that as I don't do Lightroom.

  • Adjusting size and resolution question!

    I'm trying to adjust size/resolution of a collage that I created so that it will look good when printed on a 20 X 30 canvas.  How do I know the proper size and resolution to change it to?

    We don't even know what program you are referring to, so it will be impossible to advise. In any case, usage questions are best asked in the product specific forums.
    Mylenium

  • Image size and output restrictions

    Do I understand it correctly, that it isn't possible to even open larger files than 1600x1600 in this app and the only local output possibility is a low quality jpeg? it's not mentioned in the description or tech data (why? ) just in some of the reviews, so I want to make sure as it is the key decision factor for me - I need an app that will allow me to adjust and export my DSLR pictures on the spot for immediate presentation e.g. at a wedding party, or to my own web gallery.

    Thanks for both of your answers, so the problem of opening images is solved (my problem was that the tech specs don't state what will happen to images larger than 1600x1600, auto crop on opening would mean the app is unusable as I really don't use just the center of the image, same as not opening larger images at all. Auto resize to fit canvas size is logical, but from some of the reviews on the Android market I wasn't sure that this is what the app does and wanted to be sure. I still think that the canvas size restriction is unnecessarilly tight and eg. 2000x2000 or 2500x2500 possibility would be much more useful and not a problem for faster tablets (as I normally work with 12 Mpix raw files on a 4year old laptop), but I think I could live with this.)
    But the second problem with image saving isn't solved - I need to know, what options there are for local output to the memory or SD card/USB port device in the tablet. From some of the reviews, it seems to me that it is possible to output files only by email or cloud, which seems crazy to me, but I want to make sure they are wrong... Not mentioning that it would be impossible in certain situations. eg. when photographing a wedding somewhere without wi-fi connection and with the need to output photographs for example to somebody elses computer for a slideshow or for printing them, so that the newlyweds get them at the evening party, etc...
    And I don't need just the pixel dimensions of the output file, but also the possible quality settings. 1600x1600 is usually usable, but it depends on the jpeg compression setting too.

  • Aperture Exporting JPEG's from RAW: file size and quality questions?

    Hey Everyone,
    So, I'm using Aperture 2 and I've got some questions about exporting from RAW to JPEG. I shoot with a Nikon D70 so original RAW files are 5-6mb in size. After doing some basic post processing when I export the pics at "full size" with picture quality of 11 out of 12 then the resulting JPEG is about half the file size of the original RAW file. For example a 5.6mb RAW becomes a 2.6mb JPEG. The resolution in pixels per inch and and the overall image size remain unchanged. Have I lost picture quality due to the exporting JPEG being smaller in file size?
    My friend who works with me prefers to edit in Photoshop and when he follows the same workflow his saved JPEG from the identical RAW file in Photoshop is minimally smaller in file size, say 5.6mb to 5.3mb. He's telling me that my Aperture edited photos are losing quality and resolution.
    Is he right, are my pics of lesser quality due to being a smaller file size? I've always been told that the quality of a picture is not in the mbs, but the pixel density.
    I've bee told that Aperture has a better compression engine and that the resulting files are of the exact same quality because the PPI and image size are the same. Is that what explains the much smaller file sizes in Aperture?
    I tried changing the picture quality in the export menu to 12 out of 12, but the resulting JPEG then becomes larger than the original RAW at over 7mbs.
    Can someone please help me understand this better? I don't want to lose picture quality if that is indeed what is happening.
    Thanks in advance for your help.

    mscriv wrote:
    So, I'm using Aperture 2 and I've got some questions about exporting from RAW to JPEG. I shoot with a Nikon D70 so original RAW files are 5-6mb in size. After doing some basic post processing when I export the pics at "full size" with picture quality of 11 out of 12 then the resulting JPEG is about half the file size of the original RAW file. For example a 5.6mb RAW becomes a 2.6mb JPEG. The resolution in pixels per inch and and the overall image size remain unchanged. Have I lost picture quality due to the exporting JPEG being smaller in file size?
    JPEG is a "lossy" file compression algorithm. Whether Aperture or PS, *every time a JPEG is saved some loss occurs*, albeit minimal at the 11 or 12 level of save, huge losses at low save levels. Some images (sky, straight diagonal lines, etc.) are more vulnerable to showing visible jpeg artifacts.
    My friend who works with me prefers to edit in Photoshop and when he follows the same workflow his saved JPEG from the identical RAW file in Photoshop is minimally smaller in file size, say 5.6mb to 5.3mb. He's telling me that my Aperture edited photos are losing quality and resolution.
    *Both of you are losing image data when you save to jpeg.* IMO the differences between the apps is probably just how the apps work rather than actually losing significantly more data. The real image data loss is in using JPEG at all!
    Is he right, are my pics of lesser quality due to being a smaller file size?
    I doubt it.
    I've always been told that the quality of a picture is not in the mbs, but the pixel density.
    The issue here is not how many pixels (because you are not varying that) but how much data each pixel contains. In this case once you avoid lossy JPEG the quality mostly has to do with different RAW conversion algorithms. Apple and Adobe both guess what Nikon is up to with the proprietary RAW NEF files and the results are different from ACR to Apple to Nikon. For my D2x pix I like Nikon's conversions the best (but Nikon software is hard to use), Aperture second and Adobe ACR (what Photoshop/Bridge uses) third. I 98% use Aperture.
    I tried changing the picture quality in the export menu to 12 out of 12, but the resulting JPEG then becomes larger than the original RAW at over 7mbs. Can someone please help me understand this better? I don't want to lose picture quality if that is indeed what is happening.
    JPEG is a useful format but lossy. Only use it as a _last step_ when you must save files size for some reason and are willing to accept the by-definition loss of image data to obtain smaller files (such as for web work or other on-screen viewing). Otherwise (especially for printing) save as TIFF or PSD which are non-lossy file types, but larger.
    As to the Aperture vs. ACR argument, RAW-convert the same original both ways, save as TIFF and see if your eyes/brain significantly prefer one over the other. Nikon, Canon etc. keep proprietary original image capture data algorithms secret and each individual camera's RAW conversion is different.
    HTH
    -Allen

  • Help with simple OS upgrade and backup questions for a dumb old previous PC user...?

    Ok...have mercy on me, please...
    I am not completely dumb, I know typical board etiquette, and I have searched for various answers (and found many)...but I just want to confirm my personal "research" and get all of this clear up before I proceed with this insanity.  I know I could probably search more, but this is taking hours, because of all my various questions, one leads to 10 more...
    I have an iMac with Mac OS X Version 10.5.8 (which, though not mentioned anywhere?...is apparently "Leopard", right?  Told you I was dumb...)
    Processor:  3.06 GHz Intel Core 2 Duo
    Memory: 2 GB 800 MHz DDR2 SDRAM
    My main goal:  install an app that was in the Mac App store.
    However, with Leopard, I can't access the Mac App store with Leopard, apparently. 
    I click on the Mac App store, and up pops up a Lion advertisement...telling me I should upgrade.  Ok, fine...probably a good idea, anyway...
    But how do you upgrade to Lion?  Apparently through the Mac App store!
    The web-redirects on the Apple site are amusing...taking me on an endless cycle...purchase Lion in the app store...click..."you need to upgrade to Lion"...OK...click..."you need Lion at the app store"...OK...click..."you need to upgrade to Lion to get to the app store"....etc.
    OK...fine...google searches...ahh, I need to upgrade to Snow Leopard first, apparently!  Yes?
    (Maybe the Apple redirects should detect that I have Leopard, and direct me to a screen that explains that I must upgrade to Snow Leopard...and then Lion!  Do you hear that, Apple?  Thanks.)
    Anyway...so here's my plan:
    1) Upgrade to Snow Leopard
    2) Access the Mac app store
    3) Upgrade to Lion
    Question A:  With my iMac (specs above), is it really advisable for me to do this?  Can my computer really handle Lion?  It seems I barely meet the minimum with my intel core 2 Duo and 2 GB ram...yes?  Is this a dumb idea, even if "OK"?  I know that "minimum requirements" on a PC often meant:  "Well, it will work...but it will be slower than a snail and crash if you run 5 programs at the same time" (which I usually do...)  I don't want to upgrade if the "minimum" is really not enough. 
    Question B:  If the answer to A is "not a good idea", then  do I just need a new computer (i.e. better processor)?  Or do I need more Ram?  And can I add Ram to this computer, and is it relatively easy?  I have added Ram to PCs tons of times, and you always have to determine type of Ram for your board, make sure they "match", or whatever, and then open up the machine and install.  Kind of a pain, but once I have the "right" type of Ram, opening the CPU and installing is within my abilities.  Will it be harder for a Mac?
    = = =
    Next:
    When upgrading an OS on a Windows, you pretty much format the harddrive and start all over.  Back in the day I was a PC user, there wasn't really a "great" way to back up programs and files, so this was a nightmare.  You could NOT just back-up software.  You typically had to re-purchase and install it all from scratch.  Is this the same with Macs?  Furthermore, personal files were scattered all over the hard-drive for the individual software...so trying to back all that up to get it back on the new system = nightmare!  I hate PCs.
    Anyway...so, my iMac has Time Machine.  I am pretty ignorant about this, and based on my previous PC backup program nightmares, I have a distrust for it...and don't really understand how it works.  But in any event, my external drive crashed a few months ago, and I haven't replaced it, yet.  So, I am replacing it soon and will get Time Machine back up and running...setting it up again, etc...leading to question C...
    Question C: When upgrading from Leopard to Snow Leopard to Lion, what is the best way to ensure I keep all my programs and files.  My wife and I both access the computer, so two user accounts.  Does Time Machine really do a good job backing up everything and all things?  Is it just a matter of upgrade to Snow Leopard...then immediately to Lion...and then some sort of "Restore" from Time Machine?  Anything for me to "watch out for"...or to do when I buy a new external hard-drive and setup up Time Machine for the first time on it, in order to make this work well?  Will I have to re-install all the various applications I have installed on this thing?  (like with PCs?)
    Thanks for any sincere help. 

    yachadhoo wrote:
    I have an iMac with Mac OS X Version 10.5.8 (which, though not mentioned anywhere?...is apparently "Leopard", right?  Told you I was dumb...)
    Processor:  3.06 GHz Intel Core 2 Duo
    Memory: 2 GB 800 MHz DDR2 SDRAM
    Apple has discontinued support for 10.5, it's a plaque of our platform that Apple only supports the last two operating systems in circulation.
    Where as on Windows you can run the same OS version for 10 years and get updates free (if not stolen), on a Mac we get one year, two tops now and if you don't upgrade and break all your third party software and hardware drivers in the process, then your denied security updates.
    On top of that, the OS X upgrades tend to break your older hardware too, or slow it down so much that it drives you to want to buy newer hardware.
    It's funny Apple places the AppStore on your OS X version along with iTunes and Safari updates, but then doens't supply necessary security updates, your machine may be compromised and here you enter vital credit card info, banking  etc. thinking you have a secure machine.
    My advice, since that's a 10.5 era Mac, is to upgrade to 10.6.3 via this disk, then use Software Update until clear. You'll get security updates and your present installed 10.5 software will work in 10.6 using Rosetta.
    http://store.apple.com/us/product/MC573Z/A
    Rosetta is not avaialble in 10.7 so it could be a lot of your software will no longer function
    http://roaringapps.com/apps:table
    I don't see the sense in you buying all new software for a machine that's at it's end of life stage.
    You can buy software in the AppStore with 10.6.
    Question A:  With my iMac (specs above), is it really advisable for me to do this?  Can my computer really handle Lion?  It seems I barely meet the minimum with my intel core 2 Duo and 2 GB ram...yes?
    You will need to buy 4GB of RAM to run Lion well, the 2GB is just a bare minimum, and your processor is a bit dated.
    Lion 10.7 is certainly slower than Snow Leopard 10.6, in fact so many wanted to go back to Snow Leopard and one of the resons was Lion was slow.
    So I wrote a User Tip, here, but the Tips were implemented only recently.
    How to revert your Mac to Snow Leopard
    Question B:  If the answer to A is "not a good idea", then  do I just need a new computer (i.e. better processor)?  Or do I need more Ram?  And can I add Ram to this computer, and is it relatively easy?  I have added Ram to PCs tons of times, and you always have to determine type of Ram for your board, make sure they "match", or whatever, and then open up the machine and install.  Kind of a pain, but once I have the "right" type of Ram, opening the CPU and installing is within my abilities.  Will it be harder for a Mac?
    RAM is easy, you can buy it at Otherworld Computing or Crucial.com and install it yourself, there is a little door under the monitor.
    Videos online at YouTube.
    When upgrading an OS on a Windows, you pretty much format the harddrive and start all over.  Back in the day I was a PC user, there wasn't really a "great" way to back up programs and files, so this was a nightmare.  You could NOT just back-up software.  You typically had to re-purchase and install it all from scratch.  Is this the same with Macs?  Furthermore, personal files were scattered all over the hard-drive for the individual software...so trying to back all that up to get it back on the new system = nightmare!  I hate PCs.
    Mac'soperaing system is seperate, it can be replaced or upgraded indepentantly of programs or user accounts on the machine.
    There are some programs that install a kernel extension file at boot into OS X, those get knocked out, but those can be replaced with a new install of the software.
    You should always backup your users files as those can't be repalced.
     Most commonly used backup methods explained
    Question C: When upgrading from Leopard to Snow Leopard to Lion, what is the best way to ensure I keep all my programs and files.
    OS X upgrades dont' affect User accounts but they can have a affect on programs installed, which most of your 10.5 programs likely will no longer work in 10.7
    However they will (with a slight update) work in 10.6 just like before.
    You need to backup regardless, I suggest a manual backup of users files to a storage drive, a 10.5 clone on another drive, the your ready to upgrade to 10.6
    10.5 to 10.6 upgrade is rather painless, also 10.6 gives accelerated video drivers, so your machine will appear faster.
    However once you install 10.7, you will slow down.
    Does Time Machine really do a good job backing up everything and all things? 
    No, you shouldn't rely upon TM, have a multiple backup stragedy, TM files are hard to access directly.
    Is it just a matter of upgrade to Snow Leopard...then immediately to Lion...and then some sort of "Restore" from Time Machine?
    No need to restore, OS X upgrades and leaves everything else in place, just some programs (with 10.6) or a lot (with 10.7) when you try to launch them they will fail.
    Also when you connect TM it will do a substancial change to reflect the new boot drive.
    If you were using TM as a "storage drive" thinking you can use the archived versions later, that wil change upon the new OS X  upgrade.
    But in any event, my external drive crashed a few months ago, and I haven't replaced it, yet.  So, I am replacing it soon and will get Time Machine back up and running...setting it up again, etc...leading to question C..
    You need not only TM drive, but a bootable clone and user files on a storage drive.
     Most commonly used backup methods explained
    Will I have to re-install all the various applications I have installed on this thing?  (like with PCs?)
    No, depending upon what OS X version you stop at depends how many programs no longer work.
    You will have to buy a lot of new or upgrade versions with 10.7, not so with 10.6 only updates mostly because of Rosetta on 10.6 and not on 10.7
    My opinion, since that machine is a bit dated, is to upgrade to 10.6, Software update to 10.6.8, and stay there.
    Later on 10.8 is being released after this summer, you may want to consider getting a new machine with 10.8 a few months later to ensure all the bugs are worked out of it.
    Your not a comptuer savvy person, you like most Apple users expect your machine to "just work" I think going to 10.7 will be a bad experience for you.
    10.6.8 will server your needs until 10.8 is released and on new hardware where Apple will hold your hand for free for three months, 3 years with AppleCare.
    Your not a "OS X upgrader type of a person" and Apple needs to get of thier collective assets and pay better attention to it's most common users.

  • Envelope sizes and Beginner Questions

    -I want to print on envelopes that are 3 5/8 x 6 1/2. How do I modify the existing templates in '08 to accommodate the change in envelope size? Or is there another approach I should take?
    -I'm very new to iWorks and WP in general. I'm looking for iWorks assistance for a BEGINNER, help that doesn't assume an understanding of WP terminology and basics. The "Getting Started" booklet scratches the surface, but doesn't help much. I realize that it's too soon for an "iWork for Dummies" or "Missing Manual" but I'm wanting to get started and need some references.
    - Thanks! -

    What I did was create a custom template based on what you described. Here is how I did it:
    1. Open a blank document in Pages
    2. Use the page set up menu to define a custom size (6.5 in wide by 3.53 tall)
    3. Inserted two Text boxes. One for the return address and one for the addressee
    4. Saved as template.
    When you open this, you will need to type both addresses. I just didn't type the return address prior to saving the template.
    Hope this helps...

  • Finding the correct render size and output

    Hey guys,
    I took a project in After Effects after having some experience in the past with it, and haven't had any problems up until the most crucial part. I am using AE CS5, and am making a 1.5 minute highlight video for a company event. This video will be played on a large screen in a 100 person conference room by an employee's Windows laptop with limited video software. The file I want to output has to be fairly small and in a very accessible file format.
    They want me to output it for Windows Media Player, but I can't figure out for the life of me how to get from A to B. I can output in .mov format fine, but the file is way too big. The client will accept .mov, but I would be looking at a file that is 1 gig or more, which is unacceptable. I do not know the right compression to use with Adobe Media Encoder or After Effects to get to where I need to be, and this thing has a deadline.
    Bottom Line: I need a 1.5 minute video from After Effects in .wmv, .mov, or .avi rendered in a couple hundred mbs or less. How can I do this with Mac Adobe CS Master Suite? Thanks in advance for any help.

    I'd put it on a DVD. That will give you the best chance of smooth playback on marginal equipement. Do you have access to DVD burning software?

  • Vault size vs APerture library size and related questions

    My aperture library is 50GB for some 65,000 referenced pictures...how does this compare with others? To me, it seems a bit big.
    Also odd. The vault backup of my libarary is 9.1GB ONLY! How come?
    I think that all of my pictures are referenced.....is there an easy way to check?
    If I make a new fresh library and restore from the vault, what will I loose, if anything? Will I need to reconnect pictures or anything?

    that seems about right to me. what's taking up space are previews and thumbnails. afaik, the vault doesn't hold any of those, only the database, albums, projects and configuration files.
    if you restore from a vault, all the previews and thumbnails have to be rebuilt. you can save a little space that way, because the thumbnail files don't shrink when you erase photos or move them to another project, but personally i don't think it's worth the time and effort.
    j

  • Compositing Graphics and transparency question

    Hi there
    I am drawing a floorplan on a jpanel. The floorplan consists of several "layers", meaning, I draw the floorplan and other geometrical things (representing real world things such a batch of plants).
    Those things drawn on the floorplan are partially transparent. I did this is to get a more intense color if some things are drawn on top of eachother. However, the background of the floorplan I don't want to see when those obects are drawn on a particular location. So for that reason I drew the background (not to confuse with the background of the JPanel) later with an AlphaComposite "DST_OVER", hoping that I would not see this background where the previously drawn object were. This worked partially, meaning, because those objects were semi transparent to begin with, I can see the background also.
    Does anyone know how to solve this?

    I think we're in agreement: try it!
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class Composing {
        public static void main(String[] args) throws IOException {
            URL url = new URL("http://today.java.net/jag/bio/JagHeadshot-small.jpg");
            BufferedImage background = ImageIO.read(url);
            int w=background.getWidth(), h=background.getHeight();
            BufferedImage foreground = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
            Graphics2D g = foreground.createGraphics();
            g.setColor(new Color(0,0xff,0,0x40));
            g.fillRect(0,0,w/8,h);
            g.setColor(new Color(0,0,0xff,0x40));
            g.fillRect(0,7*h/8,w,h);
            g.setColor(new Color(0xff,0,0,0x40));
            g.fillRect(7*w/8,0,w,h);
            g.setColor(new Color(0xff,0xff,0,0x40));
            g.fillRect(0,0,w,h/8);
            byte[] identity = new byte[256];
            for(int i=0; i<256; ++i)
                identity[i] = (byte) i;
            byte[] adjust = new byte[256];
            for(int i=0; i<256; ++i)
                adjust[i] = (byte) ((i<1) ? i : 255);
            ByteLookupTable table = new ByteLookupTable(0, new byte[][]{identity, identity, identity, adjust});
            LookupOp op = new LookupOp(table, null);
            op.filter(foreground, foreground);
            g.setComposite(AlphaComposite.getInstance(AlphaComposite.DST_OVER));
            g.drawRenderedImage(background, null);
            g.dispose();
            JFrame f = new JFrame("Composing");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JLabel(new ImageIcon(foreground)));
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);

  • In SAP 4.6c In classical reports output how to change Font size and Font type

    Dear Experts,
    In SAP 4.6c, in classical and interactive reports  output how to change font size and font type.
    Regards,
    Zaker.

    These are HTML formatting questions. Nothing to do with the Oracle SQL and PL/SQL languages.
    With old-style HTML, the font size and family are set using the font tag.
    With modern style HTML, that is done using cascading style sheets (CSS).
    Your favourite search engine will turn up tons of information on both.

  • Question about composite index and index skip scan

    Hi,
    I have a confusion.
    I have read Burleson's post on composite index column ordering (http://www.dba-oracle.com/t_composite_index_multi_column_ordering.htm) where he writes that
    "......for composite indexes the most restrictive column value(the column with the highest unique values) should be put first to trim down the result set..."
    But 10g performance tuning book tells this about INDEX SKIP SCAN ::
    "... Index Skip scanning lets a composite index be split logically into smaller subindexes. In skip
    scanning, the initial column of the composite index is not specified in the query. In other words, it is skipped.
    The number of logical subindexes is determined by the number of distinct values in the initial column.
    Skip scanning is advantageous if there are few distinct values in the leading column of the composite index and many distinct values in the non-leading key of the index......."
    So if we design Composite indexes acc. to what Burleson said then how can we take advantage of index skip scanning. These two staements oppose each other,don't they ?
    Can anybody explain this ?

    Dear,
    For the moment forget the distinct values and the compressibility. I've tried to reproduce your case here below (using jonathan lewis table script)
    create table t1
    as
    with generator as (
        select    --+ materialize
            rownum id
        from dual
        connect by
            rownum <= 10000
    select
        rownum              c1,
        mod(rownum,1000)    c2,
        mod(rownum,5000)    c3,
        mod(rownum,10000)   c4,
        lpad(rownum,10,'0') c5,
        rpad('x',5)         c6
    from
        generator    v1,
        generator    v2
    where
        rownum <= 1000
    alter table t1 add constraint t1_pk primary key (c3,c4,c5,C6);
    create index idx_1 on t1 (c1,c2);
    begin
         dbms_stats.gather_table_stats(
              ownname           => user,
              tabname           =>'T1',
              estimate_percent => 100,
              method_opt       => 'for all columns size 1'
    end;
    /and here are what I got with your two selects
    mho.sql>> SELECT c1,c2
      2  FROM t1
      3  WHERE c2 = 3;
            C1         C2
             3          3
    Elapsed: 00:00:00.00
    mho.sql>> start dispcursor
    PLAN_TABLE_OUTPUT
    SQL_ID  4dbgq3m2utd9f, child number 0
    SELECT c1,c2 FROM t1 WHERE c2 = 3
    Plan hash value: 3723378319
    | Id  | Operation            | Name  | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |*  1 |  INDEX FAST FULL SCAN| IDX_1 |      1 |      1 |      1 |00:00:00.01 |       7 |
    Predicate Information (identified by operation id):
       1 - filter("C2"=3)
    17 rows selected.
    Elapsed: 00:00:00.34
    mho.sql>> SELECT c3,c4,c5,c6
      2  FROM t1
      3  WHERE c4 = 3
      4  AND c5 = '0000000003'
      5  AND c6 = 'x    ';
            C3         C4 C5         C6
             3          3 0000000003 x
    Elapsed: 00:00:00.00
    mho.sql>> @dispcursor
    PLAN_TABLE_OUTPUT
    SQL_ID  fv62c9uqtktw9, child number 0
    SELECT c3,c4,c5,c6 FROM t1 WHERE c4 = 3 AND c5 = '0000000003' AND c6 = 'x    '
    Plan hash value: 2969533764
    | Id  | Operation            | Name  | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |*  1 |  INDEX FAST FULL SCAN| T1_PK |      1 |      1 |      1 |00:00:00.01 |       9 |
    Predicate Information (identified by operation id):
       1 - filter(("C4"=3 AND "C5"='0000000003' AND "C6"='x    '))
    17 rows selected.I didn't succeed to reproduce your index skip scan situation.
    Best Regards
    Mohamed Houri

  • What value does CROP have in editor if you cannot define output document size and document resolution

    Cannot define document size in EDITOR or output resolution. Document can only be defined as RATIO and output is fixed at 300. This problem does not allow you to edit in EDITOR then crop to a specific size so you don't know what the x,y dimension will be once opened in elements. My images are 36x54 at 72 which are 3:4 and can be resized to 4x6 8x12 and so on. Once document is in elements you cannot resize.....either for print or screen to these values without doing another crop or maybe I want something larger than the given crop.

    I don't comprehend this at all.
    On the crop tool's option bar, there should be a drop-down where one can get away from the default crop preset options to "Custom." The replacement values can be entered in inches, and the resolution can be changed to suit as well. Just highlight what you see, and type in new value for px/in.

  • Simple input and output in a loop

    I'm trying to get some user input in a loop. This is a simplification.
    import java.util.Scanner;
    public class Main {
        public static void main(String[] args) {
            Scanner input = new Scanner(System.in);
            for (int i = 0; i < 3; i++) {
                System.out.println("Enter a string:");
                String myString = input.nextLine();
                System.out.println("output: " + myString);
    }In NetBeans, it usually runs fine for a few loops, but eventually (running the program 5 times or so) I get output like this:
    run:
    Enter a string:
    1
    output: 1
    Enter a string:
    output: 2
    Enter a string:
    2
    3
    output: 3
    BUILD SUCCESSFUL (total time: 9 seconds)It starts writing the prompt before the output and gets all jumbled. The problem is worse if I have more input and output statments in the loop. I thought it might just be a timing issue, but it doesn't matter how fast or slow I enter the information. After a few successive runs, the output always gets out of order. How can I keep in line?

    hi!
    why dont you try using printf it will give you a better formating capasities.
    it work like this.
    import java.util.Scanner;
    public class Main {
        public static void main(String[] args) {
            Scanner input = new Scanner(System.in);
            for (int i = 0; i < 3; i++) {
                System.out.println("Enter a string:");
                String myString = input.nextLine();
                System.out.printf("output: %s  \n" ,  myString );  // the %s is the place the string will apear
                                                                                       //and the \n is a escape caracter that creates a new line.
    }if you need more help with printf read this:
    http://en.wikipedia.org/wiki/Printf

  • Composite photo and background layer question

    I would appreciate some help with a workflow problem when dealing with a composite, selection and background layer. My normal workflow is to start of in LR4, and if need be do an "edit in, CS6". I am relatively new to CS6, so bear with me.
    I have some portraits I want to put different backgrounds on. I am using Matt Kloskowski's Layers book and Composites books written for CS5. I also have Martin Evening's book on CS6 and the workflow for doing a composite is pretty much the same. The catch is that none of them start off in LR with the original photo. They all describe the following basic workflow pattern:
    1. Bring up the main photo in CS using "edit in CS6"
    2. Change the photo from a background layer to a regular layer
    3. Make a selection.
    4. Make a layer mask
    5. Refine the edge
    6. open the background photo you want to place the selection in (steps 4 and 5 are sometimes reversed so you are refining the edge on the new background)
    7. copy and paste the original photo onto the new background
    8. Refine the edge if not already done
    9. Save and exit back to LR with the composite
    If I follow this procedure I run into a couple of problems:
    1. My backgrounds are in a separate folder on my computer and not cataloged in LR. So, if I open them in photoshop and paste the original photo onto that image, LR will not know that I want to take the new composite back to the original folder along with the protrait. If I go to save the image, CS want to take the composite back to the folder on my computer where I got the background from. I tried playing around and tried renaming the composite similar to the naming convention I use for my photos in LR and then importing it into that folder after I have saved it in the background folder. This had some unintended consequences. First, I had trouble renaming the composite photo. For some reason Windows kept plugging in an old photo file name from one of my photos taken two years ago. After I discovered that  I could work around it. But after the first composite finally got into LR, when I tried to do it again, the import button on the left side of my LR went dark and I couldn't import the second composite photo I was working on. This could have been a coincident and unconnected LR glitch, but I have never had that problem before.
    So...I was thinking of modifying the workflow to the following:
    1. Bring up the main photo in CS using "edit in CS6"
    2. Change the photo from a background layer to a regular layer
    3. Make a selection.
    4. Make a layer mask
    5. Refine the edge
    6. open the background photo you want to place the selection in
    7. copy and paste the new BACKGROUND onto the original photo
    8. Move or make the new background layer THE "Background" layer
    10. Refine the edge
    11. Save and exit back to LR with the composite
    I am envisioning this will ensure that my composite will wind up back in LR because it is still keeping track of the original photo which now has gotten the new background, regardless of what the file name of the new background was.
    Does any of this make sense? Does any one know a better way of handling this?
    Thanks for any help,
    Jim

    Yes, it makes sense and I think you should go ahead and try it.

Maybe you are looking for

  • External Keyboard

    I am using my Mac Book Pro as a desktop computer with an external keyboard. Every time I use the numeric keypad the computer screen freezes, everything still works, such as I get emails, but I can't do anything because the screen is frozen. Help!!!

  • Single click to show selected file in editor when in "edit view"?

    Anyone know if there is an option to set single click to show selected file in editor when in "edit view"?  Instead of having to double click?

  • Code for button is affecting the entire movie

    The following code is on the timeline and the button instance, cancelMC, is also on the same timeline in a different layer and appears 4 times throughout the timeline. I've asked this question (worded differently) at kirupa and the post has gone igno

  • CS6 Setup Errors and Warnings

    After running set up I've received the following errors and warnings: Error:          1310.Error writing to file: C:\Windows\Installer\d7e50.msi Error:          Install MSI payload failed with error 1603 - Fatal error during installation MSI Error:  

  • Error encountered when clicking on the UWL

    Hi, I have this exception when selecting on the pending task in the UWL where it accompany with PAGE_NOT_FOUND. Any idea how to resolve? Error looking up url: portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.