Problem in diaporama (images cropped)

Hi,
I have a problem when I am looking at pictures in the Photos app.
I have a folder full of images that are about 600x850 (ranging from 600x848 to 600x863).
The problem is that the images that have a height of 850 and below fit the screen and have a black stripe above and under the image (which is good), but the images that have a height over 850 are cropped on the right and left sides to fit the screen completely (so there is no black stripe under and above).
In other words, the image with a height of 850 and below fit the screen with their width, and the other images fit the screen with their height.
If you are familiar with windows wallpaper, it is like if for the first category of image the option "Fit" was active and for the second category the option "Fill" was active.
Is their an option to have all images behave like the first category (850 and under).
Thank you

Where is the scaling done? In the ListCellRenderer? Regardless of where that is being done, I assume you are caching the scaled images after you scale them, right? If not, consider adding some sort of caching.
This should do the trick...
Rework your ListCellRenderer to check to see if a scaled version of the image is available. If not, start a thread to do the scaling and create an ImageIcon. In the meantime, while that thread is running, have the renderer return some sort of stock icon, like a little generic image icon. When the scaling thread completes, make a call to repaint() on the JList so the cell renderer gets re-asked for the icons. This time around, the renderer should notice that a scaled version (the ImageIcon) is available. Return that. So, this method doesn't guarantee that the images will be produced in order, 1...2...3..., but it will return images as they become available, and the overall JList rendering won't wait until all 100 are ready. If you want them returned in order, just do all of the scaling in a single thread and queue up the images to be scaled, in order.
I hoped this helps. (If it does, please throw me some Duke Dollars.)

Similar Messages

  • What is the BUG FIX for automatic image crop done to all imported Raw files on the 5DIII? I need to be able to get back to the original size image without doing it manually thousands of times using the plug in, that's a huge waste of time.

    all you can recommend is an unsupported plug in that forces me to reset each image manually? Can't images be altered in a batched way, or all at once, back to original without having to do them manually one at a time?!!! Time to change software? What is the official line on this problem please?

    Images unexpectedly cropped
    Yes, this is the official line and it is old news.  It is either that or BREAK everyone else's images who shot a Canon 5D-MKIII and didn't crop in-camera.

  • Problem scanning with Image Capture

    I have an Epson Photo NX110 all-in-one printer and scanner. I use the Image Capture software that comes with Snow Leopard to scan in photos using my printer's scanner. I have scanned lots of old photos using this set up and it has worked fine. About half an hour ago, I scanned in three photos and it worked fine. These are all 35mm 4 inch by 6 inch color photos.
    I am now trying to scan in another old photo, but the height and width of the photo keep being set to zero by Image Capture. As a result, the scanned TIFF file ends up being a blank image. I am using the default settings and the same work flow I have used before, but this particular photo of a relative holding her baby won't seem to scan in properly, even though it looks fine in the overview on the screen. I am using the default 300 dpi setting. This is just a photo of a woman sitting at her dining room table holding her baby in a fairly well lighted room. There is nothing out of the ordinary about this photo as far as its lighting or composition and the photo is in great condition. I tried moving the photo to a different location on the scanner surface, but the result was the same.
    If anyone has any ideas on how to fix this problem, please let me know.

    I spend my summers scanning old photographs and letters, and this happens to me, too. Sometimes a photo refuses to scan properly. No idea why.
    I don't know what made me think to try this, or why it works, but if the photo is less than 8 1/2 x 11, set the photo on the glass as usual, then lay a piece of paper on top of the photo on the glass. Printed paper seems to work better, so I usually use a draft page from a newsletter, or some such. Place this paper printed-side down, so the scanner will be copying the printed stuff. Scan as usual, and when it offers you the chance to crop the image, crop out the paper, keeping only the photo.
    Like I said, I don't know why this works, but in most cases, it does. I hope this helps! I know very well how aggravating it is to not be able to scan a perfectly ordinary photograph or letter.

  • Re: Problem using Background Images

    Newbie is trying to use a background image inside a table. It seems that if the table size is larger that the original image itself; then the table has a blank space where the image does not show; and if the table is smaller than the image; then the background image has a cropped appearance. What do we have to do to correct this problem?

    Background images do not stretch to fill their container.  At least they don't do this yet (reliably).  That's just the way it is.  Most people will fill the remaining space with a color similar to the overall image color, when the image is too small to fill the background.  When it's too large?  Well, that's just the way it is.

  • Imovie: i am having problems sizing my image

    imovie: i am having problems sizing my image when i convert the cells into a 'project'.
    I can see all the image in full, - until i drag it into project area, then in the view window the image is too large and is cut in half.
    i have adjusted the PAL size . large full view etc..
    I tired exporting and even when exported to quicktime, the image is cut in half.
    does anybody have any idea what the problem is?
    thanks

    Hello lucglobal68,
    The following article contains information regarding the options you have with cropping (or not cropping, if you'd like the entire image to show) images in iMovie.
    iMovie '11: Crop video clips or still images
    http://support.apple.com/kb/PH2232
    Cheers,
    Allen

  • Image cropping before uploading an image

    Hi all,
    I am using webcenter spaces 11.1.1.8.6. I have a requirement where i need an option to crop a image before uploading it. For example before a logged in user uploads his image he should be able to crop only a certain part of the image and upload it. How do i achieve this

    Well, I never tried it.But you can use some jquery plugin for this. There is no support out of the box,
    try using jcrop
    Jcrop: the jQuery Image Cropping Plugin
    or see in this list which can work best
    http://www.jqueryrain.com/demo/jquery-crop-image-plugin/

  • Problem with Gif image

    Having a problem with gif image not showing up. It will show up in netscape6.2, but not in IE 5.0. Both are using the java 1.4 plugin. They are basic buttons (zoom in, zoom out, etc) and they actions work, just the icons aren't showing. Any help would be great! Below is a snip of code:
    JPanel toolBarsPanel = new JPanel();
    javax.swing.JToolBar toolbar = new javax.swing.JToolBar();
    JButton zoomin = new JButton(new ImageIcon("tut/zoomin.gif"));
    JButton fullext = new JButton(new ImageIcon("tut/fullextent.gif"));
    JButton identify = new JButton(new ImageIcon("tut/identify.gif"));
    JButton btn = new JButton(new ImageIcon("tut/addtheme.gif"));
    toolbar.add(zoomin);
    toolbar.add(fullext);
    toolbar.add(identify);
    toolbar.add(btn);
    add(toolbar, BorderLayout.NORTH);
    Thanks again for any help!

    I used to do a lot of work in this sort of thing. After a while we were able to convince our bosses to use generated HTML (JSPs, etc.), so the problem moved to porting JavaScript to different platforms! (Platforms in this context means the different browser/OS combinations, etc.).
    The only two things I can recommend are:
    - complete control over you code. You will have to fix it! (Tried you apps on a Mac yet?)
    - assume a minimal install. Don't assume users are going to have any fancy tools installed on their PC, unless you are developing an Intranet app, where you know the spec of the machines that are going to be using it.
    As regarding getting IE to use a relative address, I don't think you are going to have any luck their, I'm afraid! (Although I am curious. It has been some time, but I though it did use relative addresses. Are you absolutely sure about this, did you check this out with System.outs and that?
    HTH,
    Manuel Amago.

  • External hosting server has problems uploading my images

    Hi. I am experiencing difficulties getting my new hosting provider to upload my images. I use the upload to FTP on the file menu and I get a message in apop up window. "FTP - Validation, Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway? Yes / No"
    This also occurred on my previous host provider and when I clicked Yes it uploaded OK and my site has been running for several months already.
    My new host's support technician has been on the phone with me all afternoon trying to upload the files. It will upload the HTML files very quickly but then runs into problems with the images. So I have spent  a few hours renaming each file and saving them to web. I have made sure all images and assets are linked and in the same folder.  As the FTP upload struggles on it keeps stopping at various images the the computer freezes and I have to wait until it comes back to life. It doesn't crash.
    My previous host's technicians and the present one suggested that the problem is in the software - Muse.
    Has anyone else had these or similar problems?. Maybe I should rebuild in Dreamweaver?
    Oh by the way, my website www.bilyz.com uploads to Adobe Business Catalyst without a problem. Try it and see.

    Thanks for your help.  I have done as suggested and I have also tried alternative settings without successful upload. I have checked and double checked all the assets, then rechecked the sizes of each of my images before trying to upload to the FTP server.
    1.  I tried to upload with a forward slash in the folder field box - Result was a window " \public_html " does not exist. Do you want to create it?
    > OK
    New window appears: Error creating folder [failed to MKD dir: 553]
    2. Forward slash: The requested folder "/public_home " does not exist. Do you want to create it?  > Yes.
    New window: Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway? Yes
    3. New window appears: Title of window: Upload to FTP Host
                                    Overall upload progress: 65% complete
    Then uploading stalls and a message appears: Error uploading file lucy.jpg. Click to resume. If problem persists, try again later. [FTP response timeout]
    Each time I click on Resume the screen freezes for a while then returns to 'live' and it all begins again.  It is perplexing me why my site uploads to BusinessCatalyst without any problems.  It also uploaded to Namesco.co.uk without too much difficulty (my first upload)
    Yesterday prior to contacting you the hosting technician at Vidahost.com took command of my computer and tried to see what the problem was but obviously without success and suggested that the Muse software could be at fault - which I doubt.
    I have taken screen capture jpegs of the windows but don't understand how to include them.
    Kind regards
    Bill

  • When trying to upload pictures from my camera I get this message although I have uploaded from the same camera in the pastiPhoto cannot import your photos because there was a problem downloading an image.

    When trying to upload pictures from my camera I get this message although I have uploaded from the same camera in the past, "iPhoto cannot import your photos because there was a problem downloading an image."

    Can you access the images with Image Capture (in your Applications Folder) ?

  • IPhoto cannot import your photos because there was a problem downloading an image.

    Running Mac OS X Lion 10.7.5 on MacBook Air and Iphoto '09 version 8.1.2 on iphone 5.
    Keep getting the "iPhoto cannot import your photos because there was a problem downloading an image" error message. Is this related to HDR photos or videos? What can I do to solve this?

    Running Mac OS X Lion 10.7.5 on MacBook Air and Iphoto '09 version 8.1.2 on iphone 5.
    Keep getting the "iPhoto cannot import your photos because there was a problem downloading an image" error message. Is this related to HDR photos or videos? What can I do to solve this?

  • I cannot import photos from any device to my iphoto program- the error message statesphotos cannot import because there was a problem downloading an image.  I cannot identify the image that is the problem.

    I cannot import photos to my iphoto from any of my devices.  The error message reads - iphoto cannot import your photos because there was a problem downloading an image.  I have deleted the last images- this did not help.  any suggestions?

    Details please
    What version of iPhoto? Of the OS? what devices are you haveing problems with? can you download teh photos to a desktop folder using image capture (in your applications folder) and import from there - or open with priview from there?
    LN

  • I am importing videos from my canon sl1 to my macbook when i use iphoto is says "iPhoto cannot import your photos because there was a problem downloading an image." and when i use image capture it says "An error occured while importing. The item 'MVI_1040

    I am importing videos from my canon sl1 to my macbook air when i use iphoto is says "iPhoto cannot import your photos because there was a problem downloading an image." and when i use image capture it says "An error occured while importing. The item ‘MVI_1040'' Thanks in advance

    Can you access the images on the phone with Image Capture (in the Applications Folder) ?

  • I cannot move photos from iphone to MacBook.  I get an error message that says: Error downloading image. iPhoto cannot import your images because there was a problem downloading an image. How can I fix/remedy this?

    I am receiving an error message every time I plug my iPhone 4S into my MacBook: Error downloading image. iPhoto cannot import your images because there was problem downloading an image.  How can I fix/remedy this?

    try Image Capture - in your applications folder
    LN

  • I am trying to upload my photos to iphoto. I keep receiving a error message that say "Iphoto cannot import your photos because there was a problem downloading an image" What do i Do?!

    I am trying to upload my photos to iphoto. I keep receiving a error message that say "Iphoto cannot import your photos because there was a problem downloading an image" What do i Do?!

    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Problem in displaying images one by one in JList

    I have a problem in displaying images one by one in Jlist. I want to show 100 images as a thumbnailview in jlist but it is talking too much time to show all the images after scalling 100 images to thumbnail view and making it into ImageIcon. So, i thought that it would be better way to show one by one after scaling it into thumnailview. But my renderer is getting calling after 100 images scaled down and setting into list. I have posted my code 2 days back but there is no reply.
    http://forum.java.sun.com/thread.jspa?threadID=789943
    I donno where i am missing in this code.
    Plz suggest me some solution for it.

    Where is the scaling done? In the ListCellRenderer? Regardless of where that is being done, I assume you are caching the scaled images after you scale them, right? If not, consider adding some sort of caching.
    This should do the trick...
    Rework your ListCellRenderer to check to see if a scaled version of the image is available. If not, start a thread to do the scaling and create an ImageIcon. In the meantime, while that thread is running, have the renderer return some sort of stock icon, like a little generic image icon. When the scaling thread completes, make a call to repaint() on the JList so the cell renderer gets re-asked for the icons. This time around, the renderer should notice that a scaled version (the ImageIcon) is available. Return that. So, this method doesn't guarantee that the images will be produced in order, 1...2...3..., but it will return images as they become available, and the overall JList rendering won't wait until all 100 are ready. If you want them returned in order, just do all of the scaling in a single thread and queue up the images to be scaled, in order.
    I hoped this helps. (If it does, please throw me some Duke Dollars.)

Maybe you are looking for

  • How to extract the size and date from a given file

    Hi, I want to extract the size and date of a file (it can be either a video, audio or text file) that the user points to the location of. But I am not sure how. Does Java have an api that can do this? If not is there some other way of doing this? Can

  • Itunes Store Search will not work

    So i am trying to search for music in the Itunes store using the Search function, and everytime i try to search, it ends in this message "We could not complete your itunes store request. The request resource was not found....There was an error in itu

  • Nokia 5530 XM can't show date and operator on home...

    Hi ! Nokia 5530 XM can't show date and operator on home screen

  • How to remove blackberry ID

    I've just purchased a blackberry passport and my 1st time using blackberry. When creating the blackberry ID I've given a wrong email address which I does not own, and the system does not check validity. Now I cannot reset my password and they will se

  • Xcode 2.2 problem - during install

    Hi, running 10.3 on a Ti-book. Trying to install Xcode 2.2 so I can have the gcc and other C complilers installed. When trying to install, it goes through a checksum step which it fails every time - I get an "input/output" error. I have tried downloa