Image loses ColorMatrixFilter when zoomed above 2880 pixels

I have a image viewer component that allows the user to zoom
and scroll an image. The user is allowed to invert the image. The
problem I have is that when the user zooms the image so that the
height is above 2880 the image loses its inverted filter and
reverts to viewing the original image. The following is from the
DisplayObect.cacheAsBitmap flex doc.
The cacheAsBitmap property is automatically set to true
whenever you apply a filter to a display object (when its filter
array is not empty), and if a display object has a filter applied
to it, cacheAsBitmap is reported as true for that display object,
even if you set the property to false. If you clear all filters for
a display object, the cacheAsBitmap setting changes to
what it was last set to.
A display object does not use a bitmap even if the
cacheAsBitmap property is set to true and instead renders from
vector data in the following cases:
The bitmap is too large: greater than 2880 pixels in either
direction.
The bitmap fails to allocate (out of memory error).
My relevant section of code for applying the inverted state
to the
image follows:
public function invertImage():void
var matrix:Array = new Array();
matrix = matrix.concat([-1, 0, 0, 0, 255]);
matrix = matrix.concat([ 0, -1, 0, 0, 255]);
matrix = matrix.concat([ 0, 0, -1, 0, 255]);
matrix = matrix.concat([ 0, 0, 0, 1, 0]);
var filter:ColorMatrixFilter = new
ColorMatrixFilter(matrix);
var filters:Array = new Array();
filters.push(filter);
image.filters = filters;
Any suggestions on how I can workaround the 2880 limitation?

Louis, it sounds like you have a few problems to overcome here.
First, Facebook seems to be confused about what size of a picture it wants.
Second, your image is taller than wde (220 x 426), and Facebook wasts the cover image to be wider than tall (851? x 315?).  You will have to crop something to make that happen.
How do I zoom out on the image and save it ??
Zooming is irrelevant to what your picture looks like or the size of the picture.  Think of a magnifying glass on top of that huge unabridged dictionary in the library.  You don't change anything about the dictionary by looking at it through a magnifying glass.  You just change how you perceive it.
You need to resample the image.  In your case, you need to put more pixels into the photo than currently exist.  You might think about creating a different picture that's the right size, or at least has more pixels.  By resmpling to incldue more pixels, your photos will becoem "pixelated".
nathan

Similar Messages

  • 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..

  • Image loses quality when loaded in Java

    Images seem to lose quality when you load them in Java. Try this out to see what I mean... test_out.jpg is smaller than test_in.jpg
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.imageio.ImageIO;
    public class ImageTest
        public static void main (String args [])
            BufferedImage img = ImageIO.read (new File ("test_in.jpg"));
            ImageIO.write (img, "JPG", new File ("test_out.jpg"));
    }Is there any way around this? I need to manipulate the image in Java, so I can't just input and output the bytes of the file.

    Well, it's basically cutting the file in half... 1.69
    MB to 862 KB. Doing the same thing in C# keeps the
    file size 1.69 MB (no quality lost), but I want to
    use Java because it's easier to manipulate pictures
    in Java. 800 KB seems a little extreme...There is a lot of difference between no size loss in a file and "no quality loss". Each time you JPG something, some quality is lost even it the size of the file that results is the same as before--it's in the JPS algorithm for comprssion.

  • Still Image looks blurry when zoomed

    Hello, I am using FCP 5 and I noticed that when I zoom in on a picture, even if it's resolution is much larger than 720 x 480, the picture seems blurry. I tried de-interlacing, however it still remains blurry. In the viewer it seems fine, however once I put it into the Timeline to be viewed in the Canvas, it looses it's clarity when zoomed. Any suggestions?

    Mark,
    Is the project you are working with one that was originally created in an older version of FCP (like 4.5) then upgraded to 5? If so, you might want to try changing your render setting from normal to linear. If that does not do the trick, I would recommend setting up an external monitor. Judge by that- not the canvas.

  • Image loses contrast when transferring from ACR to PSE11

    I have a new PC running Windows 8.1 x64 bit and have reinstalled PSE11 from the CD (previously it was installed on a PC running Vista x32 bit).
    Apart from having to go into all my most frequently used sections to re-set the parameters to how I had them before, all seems to be well with one rather irritating exception ...
    I get the image looking just about right in ACR, but when I click Open Image to apply a few final tweaks in the PSE11 Editor, the picture seems to lose contrast in the move.  With my previous setup, once I was satisfied with the general look of the part-edited image in ACR, it appeared pretty much the same when opened in PSE.
    This will have nothing to do with monitor calibration, since the common factor here is the monitor screen.  The issue is to do with the general appearance of the image when viewed in ACR as compared with how it then appears in PSE.  I have the colour space set as sRGB and the PSE viewing parameters as 'optimised for viewing on computer screens' (I don't do that much printing).
    Anyone else experienced this problem?  What have I missed or what can I do to rectify things, please?

    OSX outputs pdfs at 72dpi if there is any transparency such as shadows, reflections, charts and of course directly specified transparency.
    The jpeg is generated from a pdf and is the wrong method of producing an ad, which should remain text/vector to stay sharp, with photographic style images at 300dpi.
    jpegs should only be used for purely photographic material because it makes everything else fuzzy.
    Your ad should be supplied as a vector pdf. If it has photographic material do not use transparency effects and make sure the images are at least 300dpi at final size.
    Peter

  • Images lose quality when imported into Pages

    Hi,
    when I import images into Pages, they lose quality. They are normal jpg files.
    After the import they look a bit fuzzy. I dunno why...
    thanks

    In the Inspector "Measures" there is a button allowing us to reset to the original size.
    Of course, the picture will be smaller than the blurred one
    or
    will be too large and parts will be hidden.
    Yvan KOENIG (from FRANCE mardi 30 juin 2009 12:12:46)

  • Image loses resolution when converting from pages to jpg

    I created an ad for my son's yearbook in Pages.  It is 9MB but I need to submit as jpg.  The only way I can figure to do that is to convert from Pages to PDF and from PDF to JPEG.  However when I do this, it shrinks from 9MB to just over 1MB which is too low rez.  Can anyone help?  I'm on a deadline. Thanks!!!

    OSX outputs pdfs at 72dpi if there is any transparency such as shadows, reflections, charts and of course directly specified transparency.
    The jpeg is generated from a pdf and is the wrong method of producing an ad, which should remain text/vector to stay sharp, with photographic style images at 300dpi.
    jpegs should only be used for purely photographic material because it makes everything else fuzzy.
    Your ad should be supplied as a vector pdf. If it has photographic material do not use transparency effects and make sure the images are at least 300dpi at final size.
    Peter

  • Illustrator vector images loses layers when placed into InDesign

    I have a illustrator image that I want to paste into InDesign - I have tried pasting and placing however it appears both ways do not paste all the image elements. See below - any ideas?
    Selected all and copied in Illustrator:
    Then, pasted (and placed) into InDesign - missing neck, shirt

    Pasting Illy artwork is for very simple drawings. Complex shapes and objects may not coming into ID exactly the way you want.
    Why aren’t you placing the graphic?

  • Any solution to pixelated images when zooming?

    Wondering if there is a solution to prevent pdf images on transparent background from pixelating when zoomed in.
    This is a screen capture. There are two knife images. The large white knife is a pdf on a transparent background saved at 108 ppi in photoshop, it is part of a object state/slide show (saved as vector obviously since type is sharp) that fades in. Doesn't seem to matter what size/dimensions I use, it still gets blurry when you pinch and zoom.
    See here:
    The smaller black knife image at top left is also a pdf on transparent background, saved at 108 ppi in photoshop. It is not an object state,etc.
    The knife images look fine at full screen on the iPad, but once you pinch and zoom, both images loose focus and become blurry.
    Any solution to this? The images need to be pdf (or png - which I understand will not scale at all), because they are on transparent backgrounds.
    Thanks!

    Hi gemmie,
    Update to latest firefox 15.0 , your system details said you have 14.0.1(because 14.0.1 it is unsupported)
    then :
    try to [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#w_turn-off-hardware-acceleration Turn off hardware acceleration] in Firefox and "disable the hardware acceleration" in the Flash Player too :
    http://helpx.adobe.com/flash-player/kb/video-playback-issues.html
    http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html
    also try to [http://kb.mozillazine.org/Flash#Disabling_Protected_Mode_in_Flash_11.3 Disabling Protected Mode in Flash] (the link is for 11.3, do the same for 11.4), see the same in "Last resort" in the next link from adobe forum http://forums.adobe.com/thread/1018071?tstart=0
    If you still have crashes you must [https://support.mozilla.org/en-US/kb/flash-113-crashes#w_step-2-install-flash-10-3 Install Flash 10.3] but first uninstall your current version with [https://support.mozilla.org/en-US/kb/flash-113-crashes#w_step-1-uninstall-flash adobe uninstaller program] .
    It is not so easy, but not so difficult to, you can do it. If you need any help here we are.
    thank you

  • A 1 pixel gap appears on webpage on the ipad or when zoomed on a Mac with Firefox 4

    I'm having an issue with a website having a 1 pixel gap under various OS's and browsers.
    http://www.coffeeandcream.ca/
    When viewed on an iPad it shows a 1 pixel gap on the right side of the link icons.  When you zoom on the iPad, the gap disappears and reappears at random zoom factors.
    When viewed on my Mac Pro under Firefox (version 4) it is fine to start, but when zoomed, random images have the 1 pixel gap sometimes above and below or to the left or right or sometimes both above/below and left/right.
    I'm not over worried about the behaviour of Firefox...since it is only when the page is zoomed.
    When I view it on my Windows PC, I have no issue with the gap under Firefox 3 or 4, or IE.
    Any thoughts on what is going on?
    Thanks in advance,

    Have you thought of entering the following code at the very top of your CSS file?
                    margin: 0;
                    padding: 0;
                    border: 0;
    This should reset the browser of your iPad and FF in Mac.  I use neither so I can't test it at my end.  the above code is not likely to affect any other standards compliant browsers.
    hth

  • Image display control scrolling does not work properly when zoomed in

    I am using a ROI on an image in the image display control. When zooming into the image to fine-adjust the positioning of the ROI, the image scrolling does not work properly. As far as I understand, the image should scroll automatically when the ROI is leaving the visible area. However, the scrolling behaviour seems to depend on the origin of the Labview panel, not the origin of the image display control, which might require to move the ROI way out of the visible area before the scrolling takes place. In other words: the coordinate system of the image display control is shifted with respect to the true visible image area, depending on where you place it on the front panel. As a consequence, when clicking on a ROI which is in the visible area, but is outside of what Labview thinks is the visible area, it might immediately jump to the left border of the image, making the positioning of the ROI really difficult.
    Has anyone noticed this behaviour, and what would be a reliable solution to avoid this? 
    Dirk

    Hello,
    no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
    I have attached a VI for simplicity (although there is hardly any code in it).
    If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position. 
    I think it is a bug in the implementation of the image display control.
    Thanks,
    Dirk
    Attachments:
    scrolling.vi ‏818 KB

  • Blurry images when zooming in Survey & Grid View

    When I am in Survey View and hit the Z key, some of  the previews are blurry.  The same thing happens in Grid View.  However, in Loupe View, the images are fine when I the 'Z' key.  Using Survey View would make things go faster when making my picks.  Any ideas why this happens?
    I tried rendering 1:1 but the returns a mesage that says renders are up to date and rendering was done.

    cppasm wrote:
    This is definitely a bug. I can see it too, and it's little bit annoying. LR 4.1, Win7 x64.
    To reproduce just select two images, render 1:1 previews to be shure they are present.
    Then press 'N' to switch to Survey mode, and now press 'Z' to zoom in active photo.
    It gets zoomed, but looks like LR zooms in standard (smaller) preview instead of using 1:1 preview - the result is blurry and a little pixelated, it definitely lacks resolution.
    But when in the Loupe view (switch view using 'E') and zooming all work just fine - the image is at full resolution and is sharp.
    And even if I switch from Survey to Loupe with zoomed in image - it still stays blurry.
    To get sharp image I need to zoom out and then zoom in again.
    So in short - it looks like 1:1 preview is used only when image is zoomed in from the Loupe view.
    At least others seem to experience the same thing so I know it's not just me.  I'd say it's more than a little bit annoying because it causes you to second guess yourself and you constantly have to switch to a view to see if the image is actually sharp or not.  It really slows down the workflow.

  • Testing iMac in store I checked iPhoto editing. Photo said to be 42Mb but zooming caused immediate pixellation, so clearly was not displaying a 42Mb file. When I zoom in PS on PC a large file retains detail for a lot of zooming. Whats going on?

    While testing a MacBook pro in the Apple Store, I checked iPhoto. Looking at what was said to be  42Mb file I noticed that zooming caused immediate pixellation, so clearly a 42Mb RAW file was not what I was looking at. In my PS Elements on my PC when I zoom, the photo remains unpixellated until quite a lot of zoom is used (marked as 100%). This depends on the file size of the photo of course. Maybe the displayed photo in iPhoto is a low res. jpeg. This is not too good for me. I wanted to see how the base model of MacBook would handle photos esp large files and I need to zoom in. Will the base model cope with this in PSE for Mac?

    iPhoto will happily zoom to 300%. The quality at that magnification will depend on the quality of the image.  But if it's a sharp image - of any size - it will zoom to 300% with no problems.
    PSE for Mac has nothing to do with iPhoto. I have used it with no problems, but for best information why not ask over at the Adobe forums?

  • NVidia error code 6 When zooming and panning a high res still image

    I am consistantly getting the following error code which shuts down CS6.  This is when zooming and panning a still images measuring something like 5300 pixels wide, and 4000 pixels high.  I started by looking  at the video driver, but nVidia says it is up to date.  I am now wondering if the size of the still image is actually the problem? This is in a 1080 sequence.
    Harware is GTX570
    Any ideas?

    Bill and Dennis.
    Error Code 6 message -  new challeng in the past 48 hours on very old premiere project.
    My system - Win 7 64 byte serv pack 1, Ppro CS5.0.3, I7 processor, 12 g ram,  nvidia gtx 470.
    In the past 2 days, I am getting error code 6 from Nvidia on a logo that is keyed and 3d rolled on white background.  The logo has been used without issue for many months in this same project and was encoded correctly by Adobe 1920 x 1280.   Once this issue began,  I had to render it 1-3 frames per request of project rendering last night.  I imported the correctly encoded logo again to the project and it began to have the same issue again.  I tried to change the harsh 3d rotations to see if it would relieve the processors overall.    Nothing changed after it began to freeze up wtih the error message. 
    I saved, shut the PC down and left the system rest overnight.
    This morning the project will get past the small load screen, but will not get past pulling the first file in the project once the editing screen loads.  Prem Pro will launch correctly in all other projects this morning, but not this one.  It gives me the same error message as it did when the problem started, but I can't even begin to touch the project.   Message - "Hardware config doesn't meet min standards Error Code 6".  I close the program, but then have to enter task manager to relaunch the program since it just hangs there.
    My work around, when the project launched yesterday, was to render a much smaller amount of frames at a time which worked SLOWLY, but now I can't even access the program.  Ouch.  Backups are available from a few days ago, but I want to discover why this happened to avoid this issue for the future.  Not much confidence at this point particularly when I rendered to match rez and deleted the media cache yesterday just in case the system was having to work around more cache than needed. 
    I have my computer hardware company looking into the issue, but I didn't take any known updates on the software in the past week.  I thought this might be a thermal issue because we are having some challenges keeping our editing area cool enough, but that isn't the issue this morning because the other projects do launch correctly and the ambient temps are down.  Thanks for any suggestions.  I am a little slow to go out and see if there are any updates from Nvidia until I am out of options.  I don't want to change the system scenario before I see if there are any other options.

  • TS4436 hi, when zooming in to capture still images, the image is really blurred and out of focus. is this a hardware issue and is there any solution for this?? or is my device faulty?

    hi, when zooming in to capture still images, the image is really blurred and out of focus. is this a hardware issue and is there any solution for this?? or is my device faulty?

    If you are using the iPhone camera zoom then remember that this is a digital zoom not an optical zoom. The zoomed in area will have fewer pixels and not appear as clear. The more you zoom the worse it gets. It's like cropping a picture after it has been taken.

Maybe you are looking for