How Image size changes when zoomed ?

Hi,
I am using the following method code to zoom-in and zoom-out my images.
    public void zoom(double zoomFac) {
        this.zoomFac = zoomFac;
        atx.setToScale(zoomFac, zoomFac); // global attribute AffineTrasform
        ParameterBlock pb = new ParameterBlock();
        pb.addSource(getDefaultOrjImage());
        pb.add(atx);
        pb.add(Interpolation.getInstance(Interpolation.INTERP_BICUBIC_2));
        rImage = JAI.create("affine", pb);
        repaint();
        this.setPreferredSize(new Dimension(rImage.getWidth(), rImage.getHeight()));
        updateUI();
    }One can notice that I am using Bicubic interpolation for the purpose.
I want to predict the size of Image for a given zoom factor. How can I do this?
I've seen the algorithm of Bicubic Interpolation, but coulndt figure out how I can use its details to predict the size change of the image.
clearly speaking if my image's
width = 512, height = 512,
What will be the width and height when the image is zoomed with zoomFac = 1.2
Thank u for ur time.
Regards,
Rajesh Rapaka.

The penny will drop soon or maybe the cloud will lift.
In Lightroom all editing is undoable/nondestructive.
Hence a crop of 3x2 is not inches, centimetres, pixels or anything else. It is jst a ratio. When a file is exported, either to PS or disk, then the crop ratio has size determined in respect of pixels and inches or cms.
So my 6000x5000 pixel image I will crop to 3x2 that leaves (before exporting) a 6000x4000 file.
Now when exported it can be set to export at
100pixels per inch and will end up at 60x40" when printed.
200pixels per inch will end up at 30x20"
300ppi will end at 20x13.3"
You will notice in the Crop Tool there are no size denominations such as inches or centimetres as an image file only has pixels and the determination of size is done through exporting or printing.
Hope that helps somewhat..

Similar Messages

  • Image size changes when moving an image between Lightroom and CC.

    Image size changes when moving an image between Lightroom and CC.
    I opened a .dng image in LR and then opened it in the Develop module.  I clicked on Crop Overlay and then on the ‘As Shot’ drop down menu (the lock is closed) and cropped to 11 x 17 and clicked ‘Done’-.
    I click Cntl-E and the image opens in CC.  There I click on Image > Image Size and the Image Size  is 13.288 inches by 20.533 inches.
    Why does the image size change?
    I believe there is a menu to control the size of the image and I've looked everywhere I can think of in LR and CC, I googled various descriptions and I checked two of Scott Kelby's books, but I just can't figure out how to keep the image a consistent size when moving between LR and CC.
    Help!...Please?

    The penny will drop soon or maybe the cloud will lift.
    In Lightroom all editing is undoable/nondestructive.
    Hence a crop of 3x2 is not inches, centimetres, pixels or anything else. It is jst a ratio. When a file is exported, either to PS or disk, then the crop ratio has size determined in respect of pixels and inches or cms.
    So my 6000x5000 pixel image I will crop to 3x2 that leaves (before exporting) a 6000x4000 file.
    Now when exported it can be set to export at
    100pixels per inch and will end up at 60x40" when printed.
    200pixels per inch will end up at 30x20"
    300ppi will end at 20x13.3"
    You will notice in the Crop Tool there are no size denominations such as inches or centimetres as an image file only has pixels and the determination of size is done through exporting or printing.
    Hope that helps somewhat..

  • Unwanted image size change when moving a image it's Tab to another Tab in CC 2014

    Hi, I opened a photo with a physical size 16"w 36"h. Since role paper comes in 24" width, I proceeded with expanding the canvas size to 24"w, height is unchanged at 36". Then I opened two photos in separate tabs in Photoshop, changed the image sizes to 8"w x 12"h. One Photo is from a 36megapixel camera and the other from a 16megapixel camera. Created two layers in the 24x36 image tab. Then I proceeded to copy each photo and paste in each of those layers (one image per layer in case you’re wondering). The problem is as follows, the copied images are larger when pasted into those layers, 10” wide and not 8”, 14”high and not 12”. Thinking maybe the canvas size had something to do with this, so I made that change. The result was the same, larger when pasted into those layers, 10” wide and not 8”, 14”high and not 12”. Could someone please advise what I’ve done wrong? Note, the ruler bars are visible. Thanks

    When you bring one image into another, it is the pixel size that counts.  The physical size of the source image becomes irrelevant.

  • Image size change when save as jpeg

    Hi
    I have recently encountered an issue when I save file as jpeg in CS6. I prepared my image for printing and my image is a bit smaller than the print size (20" x 40") so I created a new file (8 bit) with new exact print size. Then I placed my image into this newly created layer and adjust my image size to fit. After this, I flatterned the image and went to file>save as and picked JPG extension. Dialogue box appeared and I selected 10 for quality (scale 1-12) then I hit ok to save. After that I went to open the newly saved JPG file and check the file size and for somereasons, It has been halved to around 10"x20". However, pixle dimension of the image remained unchange because I have unticked resample option. Does anyone have any ideas of why this is the case as It's doing my head in.
    Thanks
    Dean

    This has been discussed ad nauseam here.  Please do a forum search.  < sigh >
    Bottom line:  If the pixel count remains the same, your image has not been "reduced or halved" at all.  Just change the ppi resolution accordingly without resampling.
    Save for Web defaults to 72 ppi regardless of what you had specified earlier,´.

  • How can i change the zoom mode?

    how can i change the zoom mode? the illustrator cc 2014 default is zoom with drag, like photoshop. i want to change to previous mode

    Just had this myself, you need to either...
    Start document with a 'Print' profile instead of 'Web' or 'TV' and it will use 'Marquee Zoom' instead of 'Scrubby Zoom'
    or
    Goto Edit >  Preferences > Experimental Feature and turn off 'Enable Animated Zoom'

  • My font sizes change when I send e-mails from Apple Mail.

    My font sizes change when I send e-mails in Apple Mail.  Sometimes the font style changes, too.
    This is unacceptable, as I use my e-mail for business applications. 
    Any suggestions for a fix?
    Thank you.

    Before you do that I must warn you that also with PC is the same.
    It's not the hardware nor the software that makes the difference, because e-mail must obey to certain rules that is RFC.
    Maybe what you are looking for is a message that looks like a web page.
    You can find something of that kind here.
    http://www.jumsoft.com/stationery/
    But again, the recipient e-mail could have little differences from the original that depend on many variables
    If you are curious enough to know a little more about electronic mail you can read this page
    http://en.wikipedia.org/wiki/Email
    P.S.
    IMHO you already have the best in Hardware and software. It would be a pity to give away that gem

  • Slide size change when clicking on pdf links (Acrobat 9 pro)

    Hello,
    I have a problem with an interface mock up I have to deliver to a client.
    The size of image is changing from a slide to another.
    For example, when I click on a home button (this button is a link made in acrobat pro, that send to another page of the pdf document), the slide size changes from full screen to a smaller size with a black border around.
    SOrry it's hard to explain, so I put 2 screenshots and hope it will be clear enough >
    This happen only if I use clicks on the links.
    If I just use the next / previous command (for example if I use keyboard's arrows), the size remain full screen and unchanged for the whole slides.
    Can you tell me how to fix this problem?
    Best regards,
    Mega

    Something to try.
    Using the link tool select the link.
    View the link's properties.
    Select the Actions tab.
    Select the show action then click the Edit button.
    Observe what is displayed.
    You'll note that you can configure the value for "zoom".
    Be well...

  • Photo size changes when printing

    This is my problem. When I view a photo in my event, I am happy with the image. When I go to print, I find that parts of my image are cut off. It looks like the image zoomed in a little. How can I print the image exactly like it is displayed in the event? Also, this doesn't seem to change when I print different sizes, parts of the original image are always missing on the print.

    Crop the photo to 11 x 14 before printing. That will insure that what you see in the cropped image will end up in the printed 11 x 14 image.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How Can I Change Default Zoom Settings For Safari?

    I just got my new iMac and hate the fact that everytime I open Safari everything is small and centered directly in the Safari screen.  How can I change the default settings so it either zooms in more or is in a landscaped mode so I don't have two big white patches on the sides of my window?

    The only way I know of, (and that I use) is as follows:
    Open textedit and create a new document.
    Add the following 3 lines to the file
    body {
    zoom: 175%
    Save the file as "somename.css". I called mine defaultzoom.css and saved it in Documents.
    In Safari go to Preferences | Advanced.
    In the Style sheet: dropdown box choose "other" and browse to the location of your somename.css file.
    That's it, now webpages will open with the default zoom level you used in the file (I use 175% but you need to tweak it for your screen size). Also, I do run into situations where some pages don't render correctly. If that happens you can go back to Safari | Preferences | Advanced and change the Style sheet dropdown box to none until you are done viewing that paticular website. Then just put it back when you are done.

  • After copying a file from NTFS to HFS volume, file size changed when viewing in Windows

    Hi guys,
    I have a Mac Air running Mavericks on a HFS partition and Windows 7 on a BOOTCAMP NTFS partition. I have some files that I want to read/write from/to both systems. Since OS X can't write NTFS and Windows can't write HFS either, and I don't want to use any 3rd-party tools/drivers, I have to adopt a "stupid" way: in OS X, I copy those files from NTFS to its HFS partition, make changes, then switch to Windows and sync them back to NTFS.
    The problem is, after I copied a file from NTFS to HFS in OS X, it seemed ok. But when I switched to Windows, the very copied file in HFS partition had its size changed (bigger) although I didn't make any changes to it in OS X yet. This happens to almost every file I copied, text and binary. For those text files, I tried to open it with EditPlus in Windows and EditPlus reports the correct size on the status bar.
    How could this happen?

    I am not sure if this is what your seeing but...
    The same unaltered file on two different volumes might use different amounts of disk space. This is because a 'disk' is divided in to 'blocks' and a block (also historically known as a 'sector') is a certain minimum size. So if disk-1 has a block size of 512 bytes and disk-2 has a block size of 1024 bytes then a file containing just 10 bytes will use up twice as much space on disk-2 as disk-1 even though it is the exact same file.
    Beyond that, Macs can add additional information like Spotlight tags, labels, icons, etc. which make a file bigger. If you are modifying a file then presumably that also implies adding additional content e.g. for a Word document more text and this will make it bigger. Also depending on some programs are configured or designed 'deleting' text may only mark it as deleted and not really delete. This can apply to older versions of Word which has a 'Fast Save' feature, new versions have removed this and do a proper delete.
    You would have to give more details like what you are doing to the document, what kind of document, and what the two sizes are.
    Finally, there is one other potential difference, some systems and manufacturers use 1024 as a unit for measuring file and disk sizes, some use 1000. It will be the same number of bytes in each case but 1000 bytes in one case would exactly equal 1MB, and in the other it would be 0.9765MB.

  • This is about the still image size changing from what I see on the computer monitor and what the burned DVD shows on the TV

    I have Prem.El 12 and have used PE4 for years.  I have a new PC that runs Win7Pro.  The still images on the computer monitor are within the "safe margins".  The still images after the movie has been burned to a disk are MUCH smaller on the TV screen.  Is this an issue of 16:9 vs 4:3 ratios?  My TV is 4:3.  Can I tell PE12 to make the movie a 4:3?

    retchemteach
    Although I have seen your post of today in my Inbox Email Notifications, that post has not yet appears in this thread. It will probably will sooner or later. But, to keep things moving along....this is a copy of what I am seeing as your message of today in my Indox Email Notifications
    Thank you for your patience in the time it is taking me to get back to you.
    I am still trying to buy some DVD-RW discs and will hopefully do that in a
    bit.  Meanwhile, I have more info for you and some simple (I hope)
    questions.  If you want to insert your answers, that would be fine.
    My camera (for stills and video) is set to the 4:3 ratio.  It is capable of
    being set to a 16:9 ratio if I wanted to do that.  I looked in its TOOLS
    menu and saw this info.
    My TV is definitely a 4:3 TV.  (I measured it with my tape measure and
    divided W/L to get 1.33)  The TV can show a 16:9 movie and just adds the
    black bars on the top and bottom.  Question: What will my old 4:3 movies
    look like on a 16:9 TV whenever we buy one of those?
    It seems to me that I want to set PE12 to the NTSC DV Standard you
    mentioned.
    I do NOT know how to “size your photos so that each has a 4:3 aspect”,
    unless you mean doing that in Photoshop Elements, which I know how to do
    (*see below)
    I had NOT considered that I would need to watch the preset for the
    ‘Publish+Share’ step; so that’s good to know (I copied and pasted your info
    for later use).
    BTW, years ago when I had difficulties with my XP computer working on PE4
    (had only 2 GB RAM), an Adobe tech told me to resize my photos * to have a
    720 pixel width (the height would be automatically adjusted) to lower the
    file size to something my computer could handle without crashing.  (That
    was back in the good ol’ days when Adobe support would actually talk with
    their customers and try to help them in the first month)
    My new computer has 16GB RAM.  Do you think I still need to reduce file
    size?  One does lose some sharpness in the resizing process…..however,
    these videos I’m making are travelogues and are for a fun way to view pics
    and videos of a trip…nothing Earth shattering….and just a hobby to keep me
    off the streets.
    I truly appreciate the time you take to help me (and others).  I was even
    tempted to try to install my old PE4 on my new computer just to be able to
    enjoy my hobby again.
    My reply to the above....
    1. If you camera is giving you 4:3 photos and your Premiere Elements 12/12.1 is running on Windows 7, 8, or 8.1 64 bit, then leave
    the photos as is unless you have a lot of photos and each has pixel dimensions sizes way over 1920 x 1080 pixels that are giving your computer resource issues. If you have to down size them because of computer resources, then copy the photos to a computer desktop folder and also create an empty folder on the computer desktop.
    a. Photoshop Elements Editor, File Menu/Process Multiple Files.
    Process Files form Folder
    Source - browse to and select the computer desktop folder with photos to be resized
    Destination - browse to and select the empty computer desktop folder
    Image Size
                 Check Mark Next To Resize Images
                (no check mark next to Constrain Proportions)
                Type in Width = 1000  (set units for pixels)
                Type in Height = 750 (set unites for pixels)
    File Size
               Check Mark Next to Convert Files To
               Set for JPEG High Quality
    The above should work fine for a NTSC DV Standard project with a burn to DVD disc with preset NTSC_Dolby DVD (4:3 video).
    2. With regard to the TV Set and 16:9 video....when you have the DVD-player attached to the TV, do you have the opportunity to bring up a display of menus with
    controls for Picture and Aspect Ratio? From what you have written so far, it looks like the answer is no. I am not sure how your TV DVD
    player will handle 16:9.
    Best do a mini test run
    1. Project preset set manually to NTSC DV Widescreen (please refer to post 1 link)
    A few photos sized for 1600 x 1200
    In the Premiere Elements project, use the Safety Margins inner rectangle for text placement
    Publish+Share/Disc/DVD disc with preset = NTSC_Widescreen_Dolby DVD.
    See what that looks like on your TV DVD player.
    If you discovered that your current TV DVD player can be set for a 16:9 display, then I have a preferred workflow for
    NTSC DV Widescreen which typically gives best possible results. Hints of things to come.
    Please review and consider. Thanks for the follow ups.
    ATR

  • Image size changes in report

    Post Author: dwtalso
    CA Forum: General
    I'm currently working on a set of reports that has two images embedded on the "cover page". They are embedded as OLE Objects. Very often when I open these report to work on them the images will have shrunk. The "object" is still the same size because the border then it's selected is correct, but the image within the object is shrunk and distorted. Grabbing the object and nudging it on the page resets the image size and it will not change again until I close and reopen the report.
    A little less frequently, I'll open a report and the image will be gone. The object is still there and can be select but there is no image. Nothing restores the image at all at this point.  I have to reinsert the image from it original source or I have to open a different report and, if the image is good, copy the image and paste it into the broken report.
    What am I doing wrong? What do I need to do to get these images to stop doing this?
    Thanks

    CR, being a report writing software, is not that good at manipulating graphics. We rely on the graphics to be in as "usable a format" as possible when passed in to the report engine. Having said that, there are suggestions I've seen on these forums that may be of help. See if using the search at the top right corner (Select "ALL of SAP") will help.
    - Ludek

  • Image size changes after saving and then reopening

    I'm using CS6. For example I change the image size to a 4X6 and then save it. Then when I open the file it will be 7.5X5. What's the fix? Thanks for your time.

    I'm using Photoshop CS6 on a Windows 7 - 64 bit system. I'm using the Image Size dialog box and saving the file as a 4X6 at 300 dpi from a psd file to a jpeg file. When I open the file it is 5X7.5 inches at 240 dpi. I've been playing with it and have just figured out that when I save the file as a psd file it stays the size I've created and it changes when I save as a jpeg file. This is change is recent. It's worked properly in the past. Thanks for your help.
    Steve

  • Snow Leopard, iPhoto, Mail - loss of image size option when mailing photos

    I just installed Snow Leopard on both my laptop and my desktop. Now I have lost one of the size options when I email images directly from iPhoto. This is a big problem for me, as I have the need to send photos out to colleagues for their review several times per week. Before the new OS, I could choose (from within iPhoto or from within Mail) from these options: small, medium, large, and full-size. "Large" was the choice that almost always worked best for me. Now an image is medium-sized no matter whether you choose medium or large. Small and full-size still work.
    If I add images to a mail using the photo browser in Mail (which is less convenient for me anyway), then I lose the titles and descriptions I have added to those images in iPhoto. Not good.
    Is there a setting I can change, or is this a bug, or what?
    Help.
    Marion

    Ernie,
    It's not the the image size buttons are not available. They are. It's that they don't work correctly. From within iPhoto: choosing "small" gives me a small image; choosing "medium" gives me a medium image; choosing "large" also gives me a medium image; choosing "full" gives me a full-size image. So, there are four buttons, but only three sizes. I need large, and it's the one that's not working.
    I am currently experimenting with your export-attach suggestion, and the results are very messy indeed as well as inconsistent. If I export an image as .jpeg and as full-size, and then attach them to a mail, the first problem is that I lose all the titles and descriptions, even though I have chosen to export them. In the past, all the images lined up neatly in the body of the message with titles underneath each one; now the images are all "stuck together" and you must mouse over to get the title info. Thus you can see this info for only one image at a time - inconvenient for my colleagues.
    The second problem is that, the size option buttons work for some images and not for others. I tried attaching three files of different sizes: 2.7MB, 5.2MB, and 6.2MB. All four size buttons work for the two larger files, but, once again "medium" and "large" choices both result in the same size image, "medium."
    Even if the export-attach option worked correctly, it would involve many more steps and much more time than my former method of sending direct from iPhoto.
    I have not upgraded to iLife9. Perhaps the problem has been corrected in it. I was holding out for iLife10, but might go ahead with 9 if I could be assured it would work. This is really a huge problem for me.
    Thanks,
    Marion

  • Importing Multi-Page PDF. Problems with Image Size Changing.

    I am working with CS4 on Windows XP.
    This has happened to numerous files...
    I open a multi-page PDF using PhotoShop using Grayscale. There are crop marks indicated on each page, so I will use the crop tool to crop each image accordingly. Then I convert each to a bitmap and save it as a .tiff file and close it. When I re-open the file, the image size has increased. It seems like it increases the same amount each time (maybe about 25%??) for each file.
    Any suggestions on how to fix this are greatly appreciated. Thank you.

    I'm still unclear why you are bothering to open these PDF in Photoshop only to crop.
    Acrobat can do this most easily. Placing the PDF files back in InDesign can also do this.
    Photoshop is the last tool you'd want to use as it is rasterizing the vector elements/text and producing a larger file.
    If you have neither Acrobat or InDesign, look to a free tool to crop PDF.

Maybe you are looking for

  • Is there a way to create subfolders in my POP inbox?

    Is there a way to create subfolders in a POP Inbox in Mail? I am using Mail 2.1.1 (752.3).

  • Is itunes compatible with windows 8.1

    is itunes compatible with windows 8.1

  • Serious bootcamp problem please help.

    I already installed boot camp once, everything was fine. But my windows had a virus, so i decided to delete the partition and make another one. well after i formatted the windows partition and isntalled it, my mac partition was deleted. it had very i

  • SP3 install causes error in WL Commerce Server

    Hi Support, After we installed SP3 for our Weblogic Server and Commerce Server, our Example portal failed at the login step with the following error on html page: Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

  • Keyboard not working correctly in Finder

    Hello Everyone, Lately I have been having a problem where suddenly the letter and number keys stop working in the Finder, but JUST in the Finder. For example, if I make a new folder on the desktop, I cannot rename it, because the letter keys aren't w