Zooming an Image

Hello people,
i am new to java and i need to know how to zoom (in and out) an Image Object that I insert to a Jframe or JPanel. My guess is that i need to download some code, a package or maybe both.
The program I use to compile my projects is JCreator Pro ( it comes with the book "Java For Dummies").
I would apprectiate any help or suggestions.
uri_009

http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html

Similar Messages

  • Help Needed in Zooming and Zooming Out Images in flex

    Hi
    I am using <mx:Zoom /> component to zoom an image!
    I am able to zoom and Zoom out the Images but when I zoomIn the Image is cropping!
    Can any one give me the link or code for best zoomin and  zoomOut for Images?
    Is there any way that I can Zoom Video in flex?
    Thanks n Regards
    Aruna

    Probably the simplest solution is to use password-based encryption (PBE). See http://java.sun.com/j2se/1.5.0/docs/guide/security/CryptoSpec.html#PBEEx
    for an example.

  • Choppy/jagged movement when moving around on a zoomed-in image?

    Brand new MacBook Pro - Non-Retina - OSX 10.8.2 / 2.6GHz Intel Core i7 / 8GB RAM / 750GB HD (currently 522GB free space) / CS6 Extended Version 13.0.1. x64
    I just got a new MacBook Pro this past week and immediately discovered that whenever I would try to move around on a zoomed-in image (using two-finger scrolling on my trackpad, as I've done for years), it would be very choppy/jagged/sort of jumping pixels.  I've changed everything in Photoshop--Preferences--Performance multiple times (including the graphics processor settings, memory usage, history & cache), as well as all of my scrolling and trackpad settings, and have also tried with and without automatic graphics switching.  I have this issue in both CS6 (downloaded directly from adobe.com last night, extra updates done immediately), and CS5.  I tried CS4 and there was no issue...but I didn't get a brand new computer to use an old version of Photoshop.  Went into the Apple store today to see if they've seen this issue before, but the person I spoke to had not (and knew nothing about Photoshop...not that I expected him to).  I have a few friends who have this same problem - some just deal with it (or don't use Photoshop enough for it to be a bother), some have gotten their computers replaced (but with no actual answers).  Apple wasn't convinced that this was a hardware issue in my case, but did offer to replace the computer (however it will take a couple weeks, as it's a custom order).  I've spent countless hours searching these Adobe forums (and the rest of the internet) for insight.
    I did a screen recording showing what is happening as I move around on an image - http://youtu.be/yyRBUiDjavM  
    This happens on ALL images, regardless of file type and size (the image shown in this video is just a jpg with no extra layers - working on RAW files with multiple layers produces the same result, no worse).  And once again, I have changed everything in the Performance Preferences in PS (including the graphics processor settings, memory usage, history & cache), as well as all of my scrolling and trackpad settings, and have also tried with and without automatic graphics switching in my energy saver preferences...all multiple times, all with closing/reopening PS, all with restarting my computer afterwards.  Have I missed something, or do you guys think it is more than likely a hardware (RAM, graphics card, etc) problem?
    Here is my (current) system info - again, I've changed the PS performance preferences multiple times -
    Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
    Operating System: Mac OS 10.8.2
    System architecture: Intel CPU Family:6, Model:58, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 2600 MHz
    Built-in memory: 8192 MB
    Free memory: 4214 MB
    Memory available to Photoshop: 6888 MB
    Memory used by Photoshop: 65 %
    Image tile size: 1028K
    Image cache levels: 8
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Normal
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Version: 2.1 NVIDIA-8.6.22
    OpenCL Version:
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: NVIDIA GeForce GT 650M OpenGL Engine
    Display: 1
    Main Display
    Display Depth:= 32
    Display Bounds:=  top: 0, left: 0, bottom: 1050, right: 1680
    Video Renderer ID: 16918087
    Video Card Memory: 1001 MB
    Video Rect Texture Size: 16384
    Serial number: Tryout Version
    Application folder: Macintosh HD:Applications:Adobe Photoshop CS6:
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Macintosh HD, 697.8G, 522.6G free
    Required Plug-ins folder: Macintosh HD:Applications:Adobe Photoshop CS6:Adobe Photoshop CS6.app:Contents:Required:
    Primary Plug-ins folder: Macintosh HD:Applications:Adobe Photoshop CS6:Plug-ins:
    Additional Plug-ins folder: not set
    Installed components:
       adbeape.framework   adbeape   3.3.8.19346   66.1025012
       AdbeScriptUIFlex.framework   AdbeScriptUIFlex   6.2.29.18602   66.490082
       adobe_caps.framework   adobe_caps   6.0.29.0   1.276181
       AdobeACE.framework   AdobeACE   2.19.18.20743   66.507768
       AdobeAGM.framework   AdobeAGM   4.26.20.20743   66.507768
       AdobeAXE8SharedExpat.framework   AdobeAXE8SharedExpat   3.7.101.18636   66.26830
       AdobeAXEDOMCore.framework   AdobeAXEDOMCore   3.7.101.18636   66.26830
       AdobeBIB.framework   AdobeBIB   1.2.02.20743   66.507768
       AdobeBIBUtils.framework   AdobeBIBUtils   1.1.01   66.507768
       AdobeCoolType.framework   AdobeCoolType   5.10.33.20743   66.507768
       AdobeCrashReporter.framework   AdobeCrashReporter   6.0.20120720  
       AdobeExtendScript.framework   AdobeExtendScript   4.2.12.18602   66.490082
       AdobeJP2K.framework   AdobeJP2K   2.0.0.18562   66.236923
       AdobeLinguistic.framework      17206  
       AdobeMPS.framework   AdobeMPS   5.8.0.19463   66.495174
       AdobeOwl.framework   AdobeOwl   4.0.95   66.510504
       AdobePDFL.framework   AdobePDFL   10.0.1.18562   66.419471
       AdobePDFSettings.framework   AdobePDFSettings   1.4  
       AdobePIP.framework   AdobePIP   6.0.0.1654  
       AdobeScCore.framework   AdobeScCore   4.2.12.18602   66.490082
       AdobeUpdater.framework   AdobeUpdater   6.0.0.1452   "52.338651"
       AdobeXMP.framework   AdobeXMPCore   66.145661   66.145661
       AdobeXMPFiles.framework   AdobeXMPFiles   66.145661   66.145661
       AdobeXMPScript.framework   AdobeXMPScript   66.145661   66.145661
       ahclient.framework   ahclient   1.7.0.56  
       aif_core.framework   AdobeAIF   3.0.00   62.490293
       aif_ocl.framework   AdobeAIF   3.0.00   62.490293
       aif_ogl.framework   AdobeAIF   3.0.00   62.490293
       AlignmentLib.framework   xcode   1.0.0.1  
       amtlib.framework   amtlib   6.0.0.75  
       boost_date_time.framework   boost_date_time   6.0.0.0  
       boost_signals.framework   boost_signals   6.0.0.0  
       boost_system.framework   boost_system   6.0.0.0  
       boost_threads.framework   boost_threads   6.0.0.0  
       Cg.framework   NVIDIA Cg     
       CIT.framework   CIT   2.0.5.19287   145486
       data_flow.framework   AdobeAIF   3.0.00   62.490293
       dvaaudiodevice.framework   dvaaudiodevice   6.0.0.0  
       dvacore.framework   dvacore   6.0.0.0  
       dvamarshal.framework   dvamarshal   6.0.0.0  
       dvamediatypes.framework   dvamediatypes   6.0.0.0  
       dvaplayer.framework   dvaplayer   6.0.0.0  
       dvatransport.framework   dvatransport   6.0.0.0  
       dvaunittesting.framework   dvaunittesting   6.0.0.0  
       dynamiclink.framework   dynamiclink   6.0.0.0  
       FileInfo.framework   FileInfo   66.145433   66.145433
       filter_graph.framework   AdobeAIF   3.0.00   62.490293
       hydra_filters.framework   AdobeAIF   3.0.00   62.490293
       ICUConverter.framework   ICUConverter   3.61   "gtlib_3.0" "." "16615"
       ICUData.framework   ICUData   3.61   "gtlib_3.0" "." "16615"
       image_compiler.framework   AdobeAIF   3.0.00   62.490293
       image_flow.framework   AdobeAIF   3.0.00   62.490293
       image_runtime.framework   AdobeAIF   3.0.00   62.490293
       LogSession.framework   LogSession   2.1.2.1652  
       mediacoreif.framework   mediacoreif   6.0.0.0  
       PlugPlug.framework   PlugPlug   3.0.0.383  
       UpdaterNotifications.framework   UpdaterNotifications   6.0.0.24   "6.0.0.24"
       wrservices.framework        
    Required plug-ins:
       3D Studio 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “U3D.plugin”
       Accented Edges 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Adaptive Wide Angle 13.0, Copyright © 2012 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
       ADM 3.10x16, Copyright © 1987-2008 Adobe Systems Inc.  All rights reserved. - from the file “AdobeADM.bundle”
       Angled Strokes 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Average 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “Average.plugin”
       Bas Relief 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       BMP 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Camera Raw 7.2 (46), Copyright © 2012 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Chalk & Charcoal 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Charcoal 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Chrome 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Cineon 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2002-2012 Adobe Systems Incorporated - from the file “Cineon.plugin”
       Clouds 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Collada DAE 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “U3D.plugin”
       Color Halftone 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Colored Pencil 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       CompuServe GIF 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Conté Crayon 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Craquelure 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crop and Straighten Photos 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2003-2012 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
       Crop and Straighten Photos Filter 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Crosshatch 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crystallize 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Cutout 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Dark Strokes 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       De-Interlace 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dicom 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “dicom.plugin”
       Difference Clouds 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Diffuse Glow 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Displace 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dry Brush 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Eazel Acquire 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1997-2012 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
       Embed Watermark NO VERSION - from the file “DigiSign.plugin”
       Enable Async I/O 13.0.1 20120808.r.519 2012/08/08:21:00:00  © 2004-2012 Adobe Systems Incorporated - from the file “Enable Async IO.plugin”
       Entropy 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Extrude 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       FastCore Routines 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1990-2012 Adobe Systems Incorporated - from the file “FastCore.plugin”
       Fibers 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Film Grain 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Filter Gallery 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Flash 3D 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “U3D.plugin”
       Fresco 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glass 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glowing Edges 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Google Earth 4 KMZ 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “U3D.plugin”
       Grain 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Graphic Pen 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Halftone Pattern 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       HDRMergeUI 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
       IFF Format 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Ink Outlines 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       JPEG 2000 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2001-2012 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
       Kurtosis 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Lens Blur 13.0, Copyright © 2002-2012 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
       Lens Correction 13.0, Copyright © 2002-2012 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
       Lens Flare 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Liquify 13.0, Copyright © 2001-2012 Adobe Systems Incorporated - from the file “Liquify.plugin”
       Matlab Operation 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Maximum 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mean 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Measurement Core 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
       Median 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mezzotint 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Minimum 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       MMXCore Routines 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1990-2012 Adobe Systems Incorporated - from the file “MMXCore.plugin”
       Mosaic Tiles 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Multiprocessor Support 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1990-2012 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
       Neon Glow 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Note Paper 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       NTSC Colors 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
       Ocean Ripple 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Oil Paint 13.0, Copyright © 2011 Adobe Systems Incorporated - from the file “Oil Paint.plugin”
       OpenEXR 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Paint Daubs 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Palette Knife 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Patchwork 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Paths to Illustrator 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       PCX 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1989-2012 Adobe Systems Incorporated - from the file “PCX.plugin”
       Photocopy 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Photoshop 3D Engine 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
       Picture Package Filter 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Pinch 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pixar 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1989-2012 Adobe Systems Incorporated - from the file “Pixar.plugin”
       Plaster 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Plastic Wrap 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       PNG 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pointillize 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Polar Coordinates 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Portable Bit Map 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1989-2012 Adobe Systems Incorporated - from the file “PBM.plugin”
       Poster Edges 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Radial Blur 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Radiance 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2003-2012 Adobe Systems Incorporated - from the file “Radiance.plugin”
       Range 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Read Watermark NO VERSION - from the file “DigiRead.plugin”
       Reticulation 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Ripple 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Rough Pastels 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Save for Web 13.0, Copyright © 1999-2012 Adobe Systems Incorporated - from the file “Save for Web.plugin”
       ScriptingSupport 13.0, Copyright © 2012 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
       Shear 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Skewness 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Smart Blur 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Smudge Stick 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Solarize 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1993-2012 Adobe Systems Incorporated - from the file “Solarize.plugin”
       Spatter 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Spherize 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Sponge 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Sprayed Strokes 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stained Glass 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stamp 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Standard Deviation 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Sumi-e 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Summation 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Targa 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Texturizer 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Tiles 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Torn Edges 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Twirl 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       U3D 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “U3D.plugin”
       Underpainting 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Vanishing Point 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
       Variance 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “statistics.plugin”
       Water Paper 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Watercolor 13.0, Copyright © 1991-2012 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Wave 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wavefront|OBJ 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©2006-2012 Adobe Systems Incorporated - from the file “U3D.plugin”
       Wind 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wireless Bitmap 13.0.1 20120808.r.519 2012/08/08:21:00:00  ©1989-2012 Adobe Systems Incorporated - from the file “WBMP.plugin”
       ZigZag 13.0, Copyright © 2003-2012 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

    Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences.  And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro.  I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.

  • How to Zoom the Image in JAI

    Hi,
    I need to zoom the image during the each button click.I have done 1 program ,but i coulnt able to change the parameter block's value each time.Take this program and just change the pic's path and run
    it ll show the pic,smaller than its actual size,because i changed the parameter block's value.this cahnge i want to do for each button click,please try to solve my problem,
    the code is
    import javax.swing.JFrame;
    import java.awt.Toolkit;
    import java.awt.Dimension;
    import java.awt.image.RenderedImage;
    import java.awt.image.BufferedImage;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    import javax.swing.JPanel;
    import java.awt.image.renderable.ParameterBlock;
    import java.io.IOException;
    import javax.media.jai.Interpolation;
    import javax.media.jai.JAI;
    import javax.media.jai.*;
    import java.awt.geom.*;
    import java.awt.geom.AffineTransform;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import javax.media.jai.RenderedOp;
    import com.sun.media.jai.codec.FileSeekableStream;
    import javax.media.jai.widget.ScrollingImagePanel;
    * This program decodes an image file of any JAI supported
    * formats, such as GIF, JPEG, TIFF, BMP, PNM, PNG, into a
    * RenderedImage, scales the image by 2X with bilinear
    * interpolation, and then displays the result of the scale
    * operation.
    public class JAISampleProgram extends DisplayJAI implements MouseListener
    JPanel jp=null;
    ParameterBlock params=null;
    Interpolation interp=null;
    RenderedImage image1;
    RenderedImage image2;
    RenderedImage rop;
    ScrollingImagePanel panel=null;
    JFrame jf=null;
    BufferedImage buff;
    Graphics2D graph;
    int width;
    int height;
    JAISampleProgram()
    JButton zoomin= new JButton(ico1);
    JButton zoomout = new JButton(ico2);
    jp = new JPanel();
    FileSeekableStream stream = null;
    try
    stream = new FileSeekableStream("D:/muthu/My Pictures/anniyan1.jpg");
    catch (IOException e)
    e.printStackTrace();
    System.exit(0);
    /* Create an operator to decode the image file. */
    image1 = JAI.create("stream", stream,null);
    * Create a standard bilinear interpolation object to be
    * used with the "scale" operator.
    interp = Interpolation.getInstance(
    Interpolation.INTERP_BICUBIC_2);
    * Stores the required input source and parameters in a
    * ParameterBlock to be sent to the operation registry,
    * and eventually to the "scale" operator.
    params = new ParameterBlock();
    params.addSource(image1);
    params.add(0.1f); // x scale factor
    params.add(0.1f); // y scale factor
    params.add(0.0F); // x translate
    params.add(0.0F); // y translate
    params.add(interp); // interpolation method
    /* Create an operator to scale image1. */
    image2 = JAI.create("scale", params,null);
    /* Get the width and height of image2. */
    width = image1.getWidth();
    height = image1.getHeight();
    /* Attach image2 to a scrolling panel to be displayed. */
    panel= new ScrollingImagePanel(image2, width, height);
    panel.setSize(400,300);
    setPreferredSize(new Dimension(image1.getWidth(),image1.getHeight()));
    buff = new BufferedImage(image1.getWidth(),image1.getHeight(), BufferedImage.TYPE_INT_RGB);
    width=image1.getWidth();
    height=image1.getHeight();
    graph = buff.createGraphics();
    graph.setStroke(new BasicStroke(2.0f));
    panel.addMouseListener(this);
    jp.add(zoomin);
    jp.add(zoomout);
    jf = new JFrame("sample");
    jf.setContentPane(panel);
    jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    repaint();
    public void mouseClicked(MouseEvent e)
    ParameterBlock pb = new ParameterBlock();
    interp = Interpolation.getInstance(Interpolation.INTERP_BICUBIC_2);
    pb = new ParameterBlock();
    pb.addSource(image2);
    pb.add(0.5f); // x scale factor
    pb.add(0.5f); // y scale factor
    pb.add(0.0F); // x translate
    pb.add(0.0F); // y translate
    pb.add(interp); // interpolation method
    rop = JAI.create("scale", params,null);
    panel= new ScrollingImagePanel(rop, width, height);
    panel.setSize(400,300);
    setPreferredSize(new Dimension(image1.getWidth(),image1.getHeight()));
    buff = new BufferedImage(image1.getWidth(),image1.getHeight(), BufferedImage.TYPE_INT_RGB);
    width=image1.getWidth();
    height=image1.getHeight();
    graph = buff.createGraphics();
    graph.setStroke(new BasicStroke(2.0f));
    repaint();
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e){}
    public void mousePressed(MouseEvent e){}
    public void mouseReleased(MouseEvent e){}
    public synchronized void paintComponent(Graphics g)
    panel.paintComponents(g);
    Graphics2D g2d = (Graphics2D)g;
    g = jp.getGraphics();
    g2d.setColor(Color.BLUE);
    g2d.drawLine(50,50,100,100);
    graph.setColor(Color.yellow);
    g.drawLine(60,60,120,120);
    g2d.drawRenderedImage(rop,AffineTransform.getTranslateInstance(100.00,100.00));
    /* params = params.set(0.1f,0);
    params = params.set(0.1f,1); */
    public static void main(String[] args)
    /* Validate input.
    * Create an input stream from the specified file name
    * to be used with the file decoding operator.
    JAISampleProgram jai = new JAISampleProgram();
    /* Create a frame to contain the panel. */
    jai.jf.pack();
    Toolkit theKit=Toolkit.getDefaultToolkit();
    Dimension dim=theKit.getScreenSize();
    int scrWidth=dim.width;
    int scrHeight=dim.height;
    jai.jf.setSize(scrWidth,scrHeight);
    jai.jf.show();
    }

    scale your Graphics2D object
    http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics2D.html#scale(double,%20double)
    Also check the documentation of
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#paint(java.awt.Graphics)
    and see if your code would be better in paint(java.awt.Graphics) instead of paintComponent(Graphics g)

  • Black page background flashes grey when zooming on images

    When I'm previewing my book on iPad I see that when I zoom in on an image (single image gallery widget) the page background which is black flashes grey momentarily. This happens on ipad but not when I preview on the mac.
    Seems like the page wants to revert to the default white background everytime I click an image widget. Any way to set a book wide black background color? I currently create the page background colour by placing a black rectangle object in the background.
    Thanks anyone for any tips!

    It seems there's a default setting when zooming on images that fades the background from white to black (I guess Apple is presuming all pages are white)? Anyone who have pages with colour background notice this?

  • How do you pan and/zoom an image--the "Ken Burns" effect?

    How do you pan and/zoom an image--the "Ken Burns" effect?

    Frequently answered question
    Cheers
    Eddie
    Forum FAQ
    Premiere Pro Wiki
    - Over 250 frequently answered questions
    - Over 100 free tutorials
    - Maintained by editors like
    you

  • Choppy/zig-zagging movement on zoomed-in image?

    1-week-old MacBook Pro - Non-Retina - OSX 10.8.2 / 2.6GHz Intel Core i7 / 8GB RAM / 750GB HD (currently 522GB free space)
    I initially discovered my issue in Photoshop CS6, but just installed the trial of LR 4.2, as well as 4.3RC, to see if the problem persisted, and it does.  My problem is choppy/zig-zagging movement when moving around (two-fingered scrolling using my trackpad) on a zoomed-in image.  Here's a video capture of the problem in Photoshop - and it does the exact same thing in LR.  I did post yesterday in the Photoshop forum but didn't get any advice other than to use a mouse instead of a trackpad...so helpful.  http://www.youtube.com/watch?v=yyRBUiDjavM&feature=youtu.be   The image in this video is just a jpg, quite small in file size.
    I have adjusted every single scrolling/trackpad option in System Preferences, tried enabling and disabling automatic graphics switching in Energy Saver Preferences, changed all Performance Preferences in PS.  I've also installed all Apple and Adobe updates.  I'm only posting here due to the lack of response in the Photoshop forum, and since the problem appeared in LR, as well.  I brought my computer into Apple yesterday as well, and the "genius" that helped me didn't think that the problem was a hardware/Apple issue, but Adobe-related instead.  Have any of you experienced this?  Thanks in advance for any insight you may have!
    (here's my other post, with more detailed information - http://forums.adobe.com/message/4841306)

    I have never seen anything like this at all.  I also would try this with a mouse and see if it is related to the trackpad.  A good resource for help from Adobe is to use the Adobe Customer Care page on Twitter.  Those guys are amazingly fast to respond and have been a super help to me a few times in the past.  If anyone can help, it is them.  https://twitter.com/Adobe_Care

  • How to Zoom an Image whereever the mouse moves?

    Hi,
    I have to zoom the image where ever the mouse cursor moves.
    If i am moving the mouse at the position (x,y) then that part of the image has to be zoomed.
    So that the pixels are clearly visible to user.
    Can any one suggest me what i have to do exactly.
    Thanks & Regards

    As always with such questions: have a look at the tutorial
    http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html
    -Puce

  • Preview question-how to zoom an image to full screen

    As this isn't a Print question but an on-screen viewing question, I ask it here. Seems to me I used to be able to click a shortcut that would zoom an image in Preview to fill the whole screen. I'm no longer finding that and wondering if it was a) my imagination, b) a script, or c)some other x-ware that allowed this (or was it a feature in earlier flavors of 10.X?
    Thanks,
    GF
    Dual 2GHz G5 Mac OS X (10.4.8)

    Just hold down the control key while using the scroll wheel on mighty mouse.

  • Zoom an Image whereever the mouse cursor is placed

    Hi,
    I have to zoom the image where ever the mouse cursor moves.
    If i am moving the mouse at the position (x,y) then that part of the image has to be zoomed,
    so that the image pixels will be visible properly to the user.
    The image is set to label.
    I know that the code has to be written in MouseMotionListener.
    I will get the position of (x,y) when the mouse is moved on the image.
    But how to ZoomIn the image where ever the mouse cursor is?
    Can any one suggest me what i have to do exactly.
    Thanks & Regards

    Hi,
    I saw that code some time before.
    The code is using java5, but i am using java 1.4

  • Zooming an image and scrolling it using a JScrollPane

    Hi all, I know this is one of the most common problems in this forum but i cant get any of the replys to work in my code.
    The problem:
    I create an image with varying pixel colors depending on the value obtained from an AbstractTableModel and display it to the screen.
    I then wish to be able to zoom in on the image and make it scrollable as required.
    At the minute the scrolling method is working but only when i resize or un-focus and re-focus the JInternalFrame. Ive tried calling revalidate (and various other options) on the JScrollPane within the paintComponents(Graphics g) method but all to no avail.
    Has anyone out there any ideas cause this is melting my head!
    Heres the code im using (instance is called and added to a JDesktopPane):
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.geom.AffineTransform;
    import uk.ac.qub.mvda.gui.MVDATableModel;
    import uk.ac.qub.mvda.utils.MVDAConstants;
    public class HCLSpectrumPlot extends JInternalFrame implements MVDAConstants
      AbstractAction zoomInAction = new ZoomInAction();
      AbstractAction zoomOutAction = new ZoomOutAction();
      double zoomFactorX = 1.0;
      double zoomFactorY = 1.0;
      private AffineTransform theTransform;
      private ImagePanel imageViewerPanel;
      private JScrollPane imageViewerScroller;
      public HCLSpectrumPlot(String title, MVDATableModel model)
        super(title, true, true, true, true);
        int imageHeight_numOfRows = model.getRowCount();
        int imageWidth_numOfCols = model.getColumnCount();
        int numberOfColourBands = 3;
        double maxValueInTable = 0;
        double[][] ValueAtTablePosition =
            new double[imageHeight_numOfRows][imageWidth_numOfCols];
        for(int i=0; i<imageHeight_numOfRows; i++)
          for(int j=0; j<imageWidth_numOfCols; j++)
         ValueAtTablePosition[i][j] = ((Double)model.getValueAt
                 (i,j)).doubleValue();
        for(int i=0; i<imageHeight_numOfRows; i++)
          for(int j=0; j<imageWidth_numOfCols; j++)
         if ( ValueAtTablePosition[i][j] > maxValueInTable)
           maxValueInTable = ValueAtTablePosition[i][j];
        BufferedImage newImage = new BufferedImage(imageWidth_numOfCols,
              imageHeight_numOfRows, BufferedImage.TYPE_3BYTE_BGR);
        WritableRaster newWritableImage = newImage.getRaster();
        int colourB;
        double pixelValue, cellValue, newPixelValue;
        for (int x = 0; x < imageHeight_numOfRows; x++)
          for (int y = 0; y < imageWidth_numOfCols; y++)
         colourB = 0;
         cellValue = ValueAtTablePosition[x][y];
         pixelValue = (1 - (cellValue / maxValueInTable)) * 767;
         pixelValue = pixelValue - 256;
         while (colourB < numberOfColourBands)
           if ( pixelValue < 0 )
             newPixelValue = 256 + pixelValue;
             newWritableImage.setSample(x, y, colourB, newPixelValue);
             colourB++;
                while ( colourB < numberOfColourBands )
               newWritableImage.setSample(x, y, colourB, 0);
               colourB++;
         else
           newWritableImage.setSample(x, y, colourB, 255);
         colourB++;
         pixelValue = pixelValue - 256;
          }//while
         }//for-y
        }//for-x
        imageViewerPanel = new ImagePanel(this, newImage);
        imageViewerScroller =     new JScrollPane(imageViewerPanel,
                            JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
                   JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
        this.getContentPane().setLayout(new BorderLayout());
        this.getContentPane().add(imageViewerScroller, BorderLayout.CENTER);
        JToolBar editTools = new JToolBar();
        editTools.setOrientation(JToolBar.VERTICAL);
        editTools.add(zoomInAction);
        editTools.add(zoomOutAction);
        this.getContentPane().add(editTools, BorderLayout.WEST);
        this.setVisible(true);
      class ImagePanel extends JPanel
        private int iWidth, iHeight;
        private int i=0;
        private BufferedImage bufferedImageToDisplay;
        private JInternalFrame parentFrame;
        public ImagePanel(JInternalFrame parent, BufferedImage image)
          super();
          parentFrame = parent;
          bufferedImageToDisplay = image;
          iWidth = bufferedImageToDisplay.getWidth();
          iHeight = bufferedImageToDisplay.getHeight();
          theTransform = new AffineTransform();
          //theTransform.setToScale(parent.getContentPane().getWidth(),
                                    parent.getContentPane().getHeight());
          this.setPreferredSize(new Dimension(iWidth, iHeight));
        }//Constructor
        public void paintComponent(Graphics g)
          super.paintComponent(g);
          ((Graphics2D)g).drawRenderedImage(bufferedImageToDisplay,
                                             theTransform);
          this.setPreferredSize(new Dimension((int)(iWidth*zoomFactorX),
                                          (int)(iHeight*zoomFactorY)));
        }//paintComponent
      }// end class ImagePanel
       * Class to handle a zoom in event
       * @author Ross McCaughrain
       * @version 1.0
      class ZoomInAction extends AbstractAction
       * Default Constructor.
      public ZoomInAction()
        super(null, new ImageIcon(HCLSpectrumPlot.class.getResource("../"+
                  MVDAConstants.PATH_TO_IMAGES + "ZoomIn24.gif")));
        this.putValue(Action.SHORT_DESCRIPTION,"Zooms In on the Image");
        this.setEnabled(true);
      public void actionPerformed(ActionEvent e)
        zoomFactorX += 0.5;
        zoomFactorY += 0.5;
        theTransform = AffineTransform.getScaleInstance(zoomFactorX,
                                                    zoomFactorY);
        repaint();
      // ZoomOut to be implemented
    }// end class HCLSpectrumPlotAll/any help greatly appreciated! thanks for your time.
    RossMcC

    Small mistake, the revalidate must be called on the panel not on the jsp.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UsaZ extends JFrame 
         IPanel      panel = new IPanel();
         JScrollPane jsp   = new JScrollPane(panel);
    public UsaZ() 
         addWindowListener(new WindowAdapter()
         addWindowListener(new WindowAdapter()
         {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);
         setBackground(Color.lightGray);
         getContentPane().add("Center",jsp);
         setBounds(1,1,400,320);
         setVisible(true);
    public class IPanel extends JComponent
         Image  map;
         double zoom = 1;
         double iw;
         double ih;
    public IPanel()
         map = getToolkit().createImage("us.gif");
         MediaTracker tracker = new MediaTracker(this);
         tracker.addImage(map,0);
         try {tracker.waitForID(0);}
         catch (InterruptedException e){}
         iw = map.getWidth(this);
         ih = map.getHeight(this);
         zoom(0);     
         addMouseListener(new MouseAdapter()     
         {     public void mouseReleased(MouseEvent m)
                   zoom(0.04);               
                   repaint();      
                   revalidate();
    public void zoom(double z)
         zoom = zoom + z;
         setPreferredSize(new Dimension((int)(iw*zoom)+2,(int)(ih*zoom)+2));
    public void paintComponent(Graphics g)
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D)g;
         g2.scale(zoom,zoom);
         g2.drawImage(map,1,1,null);
         g.drawRect(0,0,map.getWidth(this)+1,map.getHeight(this)+1);
    public static void main (String[] args) 
          new UsaZ();
    [/cdoe]
    Noah                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Firefox box around zoomed out images issue w/ (xf86-video-intel)

    When I zoomout on a page firefox displays a insetted box around my images.
    Most notably in my webmail client, however it happens even on the forums if I zoomout.
    Regualar zoom: http://world.pyther.net/files/Firefox/regular_zoom.png (The way it should look)
    Zoomed Out: http://world.pyther.net/files/Firefox/zoom_out.png (Inset boxes around images)
    This happens with both the offical arch build of firefox and the spookyet build. I have no idea how to fix this, it is very annoying!
    Any help would be great!
    EDIT:
    After doing some more research I have narrowed this down to being an issue with xf86-video-intel. The problem does not happen if I use the xf86-video-vesa driver. I have filed a bug report at https://bugzilla.mozilla.org/show_bug.cgi?id=468366
    Last edited by pyther (2008-12-07 21:37:12)

    Bug reported, anyone thing I need to add anything else?
    https://bugzilla.mozilla.org/show_bug.cgi?id=414928

  • Strange behavior with Zoom and Image control

    HELP - I have a strange behavior (bug?) with using Zoom
    effect on an Image that has been placed on a Canvas. I am using
    dynamically instantiated images which are placed on a canvas inside
    a panel. I then assign a Zoom IN and Zoom Out behavior to the
    image, triggered by ROLL_OVER and ROLL_OUT effect triggers. THE BUG
    is that the image jumps around on the Zoom OUT and lands on a
    random place on the canvas instead of coming back to the original
    spot. This is especially true if the mouse goes in and out of the
    image very quickly. HELP -- what am I doing wrong? Computer = Mac
    OS X 10.4.9 Flex 2.0.1
    Here's a simple demo of the bug -- be sure to move the mouse
    in and out rapidly:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="setUp();">
    <mx:Script><![CDATA[
    import mx.events.EffectEvent;
    import mx.effects.Fade;
    import mx.effects.Zoom;
    import mx.rpc.events.ResultEvent;
    import flash.display.Sprite;
    import mx.core.UIComponent;
    import mx.controls.Image;
    private var zoomIn:Zoom;
    private var zoomOut:Zoom;
    private function setUp():void {
    var image:Image = new Image();
    image.id = "album_1_1";
    image.x = 200;
    image.y = 200;
    image.width = 64;
    image.height = 64;
    image.source = "
    http://s3.amazonaws.com/davidmccallie/album-128.jpg";
    image.addEventListener(MouseEvent.ROLL_OVER, doZoom);
    image.addEventListener(MouseEvent.ROLL_OUT, doZoom);
    myCanvas.addChild(image);
    zoomIn = new Zoom();
    zoomIn.zoomHeightTo = 2.0;
    zoomIn.zoomWidthTo = 2.0;
    zoomIn.captureRollEvents = true;
    zoomIn.suspendBackgroundProcessing = true;
    zoomOut = new Zoom();
    zoomOut.zoomHeightTo = 1.0;
    zoomOut.zoomWidthTo = 1.0;
    zoomOut.captureRollEvents = true;
    zoomOut.suspendBackgroundProcessing = true;
    private function doZoom(event:MouseEvent):void {
    var image:Image = Image(event.currentTarget);
    if (event.type == MouseEvent.ROLL_OVER) {
    zoomIn.target = event.currentTarget;
    zoomIn.play();
    } else if (event.type == MouseEvent.ROLL_OUT) {
    zoomOut.target = event.currentTarget;
    zoomOut.play();
    ]]>
    </mx:Script>
    <mx:Panel width="100%" height="100%"
    layout="absolute">
    <mx:Canvas id="myCanvas" width="100%" height="100%">
    </mx:Canvas>
    </mx:Panel>
    </mx:Application>

    There must be bugs in the Zoom effect code -- I changed the
    Zoom to Resize in the above code, and it works perfectly. Of
    course, Resize is not as nice as Zoom because you can't set the
    resize to be around the center of the image, but at least it works.
    Does anyone know about bugs in the Zoom effect?

  • How do I zoom screen image?

    In internet explorer you can zoom the screen image. This makes it easier to see and better fits my 24" screen.

    Firefox doesn't have an automatic fit to screen.
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • How to smooth out zooming/scrolling image that jerks (CS4)?

    Hi guys/girls,
    Is there any way that i can smooth out images that zoom in/out with normal classic tween. they are so jittery it looks terrible. I even have a little bit of easing and frames per second set to 30.
    any info much appreciated!
    Jeff

    Hi flashfever,
    thanks for responding. can you elaborate on how i can use that? is it AS for the 1st frame or on the movie clip itself? etc
    in this case, i have the image fading in and enlarging from 70% to 100% in the same tween. its very jerky.
    thanks for your help so far!
    Jeff

  • Why is "zoomed out" image low quality?

    It seems whenever the display zoom is less than 100%, CS3 uses some kind of "Pixel Resize" for display which makes for low quality output to look at.
    Is there any way to tell CS3 to a simple bilinear filter when displaying less than 100%?
    This would make for much less artifacts/jaggedness and I'm sure the speed impact would not even be noticeable.
    Thank you,
    LTG
    [link deleted by forum host]

    >Should a pixel editor, at a non-100% zoom level, smooth things over to make them look good, so you might pass on viewing at 100%, falsely thinking the image is fine?
    again, what if you want an overall view of your image, not just a 2"x4" secion of it? shouldn't you have that option via a toggle?
    >Or should it use something similar to pixels from the image that might clue you in to a need to zoom to 100% to see if editing is needed? I vote for the latter, which Photoshop delivers.
    it uses NOTHING similar to the image! it's nearest neighbor guesses are way off. I'd rather see the title bar go red as an indicator and see a closer representation of what the image is supposed to look like.
    so that's 3 excuses now. 1) it's so you know what to go back and edit. no. becuase ANYTHING VIEWED AT A NON-100% ZOOM LEVEL IS INACURATE! 2) it's to protect you from saving when the image isn't really ready to be saved? no. becuase ANYTHING VIEWED AT A NON-100% ZOOM LEVEL IS INACURATE! 3) it should show you crap because then you know you need to go back and look at 100%. NO! because maybe you produced crap to begin with! :)
    I hear what you're saying mike, and it's the closest to a reasonable explination in this thread, but wouldn't it be nice to allow the USER to choose what they see?

Maybe you are looking for