It's about attaching scaled down image

hi...
i'm attaching an image that has been scaled down from 3040 x 2016 to 1200 x 796 (using photoshop) to a jpanel via drawImage...
it works fine, but then a message occur on the console when the program terminated :
'Corrupt JPEG data: 3304 extraneous bytes before marker 0xed'
i've tested attaching the real image (3040 x 2016)... there's no problem, but it's way too big,
slowing down the program initialization...
so is it a problem attaching a scaled down image ?
thanx !

Does the image open properly in photoshop? What type of image is it?

Similar Messages

  • Scaling down images to thumbnails with bilinear/bicubic filtering in Flex?

    Hi!
    I develop a Flex based AIR Application, which needs to create
    thumbnails of big images. My Thumbnailer class does what I want to,
    but the results look not so well. The problem is, that even with
    "smoothing" turned on, when drawing the bitmap smoothing only
    effects up-scaling.
    The thumbnails look very jagged and crisp. Photoshop uses
    bilinear or bicubic filtering when scaling down an image, which
    looks much better. I have searched the web with google and I have
    looked for other Flex projects using thumbnails but I could not
    find anything producing better thumbnail images.
    Performance is not very important because I save the
    thumbnails to image files and use these. So scaling does not to be
    real time.
    Is there a way to create better thumbnail images in
    Flex?

    I don't think it should be necessary to do things this way.
    I tried following the approach outlined here:
    http://blog.739saintlouis.com/2007/02/05/scaling-an-image-with-smoothing/
    in both an AIR app and a normal web app, and it looked
    noticeably different (worse) in AIR. Have you done the same
    experiment?
    Anyway, someone will look into it. (It's still possible you
    may be able to get better results following your method,
    though...not sure about that).
    Mike Schiff
    Flex SDK team.

  • Scaled down images look poor

    when placing .png files into CS5, they look fine, though as I  scale them smaller, once I reach a certain size, they begin to  look pixelated and the edges are jagged. Why is this? Why would they look worse at smaller sizes and how can I scale them down without them doing this?
    Thanks.

    I agree with the last poster,  .png is a newer format.
    You problem may be with bitmapped graphics previews in Illustrator. The best accuracy of a bitmapped graphic preview is in photoshop at 100% (1 pixel file to 1 pixel monitor). As you zoom in on a scaled down illustrator the preview will get better, as Illustrator uses the bitmapped preview part of the file to display the image, but the interpolation may make thin lines look bolder or thinner when not in a 1 to 1 pixel preview.
    Please post an example screenshot if you still need help, and we can answer your question much better.

  • Scaling Down images in Illustrator

    I scaled down original images into a file in an illustrator file but the pictures are still the original HUGE picture size. When I scale it down or save the file as a pdf is there anyway to get the size down proportional to the scaled down version? This is going to press so I can't reduce the quality.

    Look at the preferences for pdf export, I believe it is under the edit menu. You can set the image reduction there. If necessary, create a new preset with the options you prefer, but one of the pdf-x options should work. (I never tired the pdf-x presets, so I am assuming it would be right).

  • Having problems scaling down image

    Hi there, I was hoping somebody here may be able to answer a query I have.
    I'm currently creating the following icon in Illustrator:
    The Image was created within illustrator using the shape and pathfinder tools, the problem I'm having is that when I come to scaling it down, this happens:
    The strange thing is that when I scale the icon upwards it does it perfectly as it should, but the problems are coming from scaling it down.
    I think it may have something to do with the size of the image already, it's quite small, approximately 50px accross. I'm looking to get it down to about 25-30 px accross, but when i take it down to about 40px the distortion occurs and gets worse as I make it smaller.. I thought it may have something to do with the handles on the anchor points overlapping? But I'm not so sure as I've never had an issue like this before, although I've never worked at this small scale before either.
    Any help on this is much appreciated.
    Thanks in advance,
    Lionel.

    In your transform palette turn OFF align to pixel grid, prior to scaling. Adobe since CS5 has made that to be on by default when you create an RGB document.

  • Scaling of images in a table cell

    Hi,
    I have an issue aboute the scaling of images in a table cell. The table layout is fixed but the images can vary. I tried to transform the images but every time the transformation matrix has a scaling != 1.0 the function results in an error.
    The following code is used.
    PageItem pi = myCell.getNthChildPageItem(0);
    TransformationMatrix[] matrix = pi.transformValuesOf(kCoordinateSpacesInnerCoordinates.value);
    TransformationMatrix scalemat = matrix[0].scaleMatrix(OptArg.makeDouble(0.5), OptArg.makeDouble(0.5));
    Unit[] matValues = UnitUtils.createDouble(scalemat.getMatrixValues());
    pi.transform(
    enums.kCoordinateSpacesInnerCoordinates.value,
    VariableTypeUtils.createEnumeration(enums.kAnchorPointCenterAnchor.value),
    VariableTypeUtils.createUnitList(matValues),
    OptArg.makeVariableType(VariableTypeUtils.createEnumeration( enums.kMatrixContentScaleValues.value ) ),
    OptArg.noBoolean()
    Any suggestions?
    Regards,
    tom

    Hi!
    You may try to vary the settings for property "type"
    navigation
    function
    reporting
    result
    If this does not help to solve your issue open a ticket at SAP Support.
    There are several UIElements which show such a behaviour and you have no (documented) chance to change this.
    Hope this helps.
    Regards,
    Volker

  • Stop imported images from being scaled down

    This is a quote from the Adobe Premiere Elements 7 web page Guidelines For Adding Files
    Guidelines for adding still image files
    By default, Adobe Premiere Elements scales still images to fit the project frame size. You can override this behavior and instead add your files at the size at which they were created.
    My question is how do you override the down scaling my image of 4000x3000 is getting scaled to 1280x??? so when I zoom it is pixelated.
    Thanks all.

    Also, how do you intend to export this 4000 x 3000 pixel still? If you go Share/Personal Computer/Windows Media, even with the choice preset = 1440 x 1080 HD anamorphic, the max that you can type in for frame size = 2000 x 2000 pixels.
    In the OP's case, the Export will be to the chosen Frame Size. Let's just say that it's 1440 x 1080. That is all that will show. However, PrE will be displaying that Frame Size from the larger still, and as it moves about, within that Frame Size, the image will change to reflect the current view of that still image. It's like having a 1440 x 1080 window. Behind that "window," the scene is moved about, as is needed. The view will always be through that window, but with something like the Effect>Motion>Position, will be dynamically altered, frame by frame. Without Scale to Fit, only the 1440 x 1080 "view" will be seen, and never the 4000 x X full view. It's about the same as a PiP, that is created by Effect>Crop. The full image of the Video Clip on Track 2 is never seen, as we have created a "window," reflected by the Crop. That is all that the NLE "sees," and Exports.
    Still, the resources useage will be predicated on the size of the source material, even though we only see that 1440 x 1080 "view" of it. The program has to "crunch" the "big picture."
    Hunt

  • Green screen filter and scaling down distorts image?

    I captured footage from Digital Video Camcorder NTSC ZR30 MC (standard definition camera 2001?) through firewire connection. Footage was recorded in 12 bit rate. Captured in equivalent DV NTSC 32 kHz. Edited the footage using green screen, scaled down to about a quarter of the frame and used oval shape video generator.
    Using FCP 0.6. After rendering all edited footage, it plays back digitally distorted (digital lines constructing the image are out of sync). When exported through Quick Time Movie the image remains distorted.
    What can be the cause of that?
    Please help,
    Hazel

    When you slow down footage you are creating frames where there were none before.  I'd suggest you do this in a two step process:
    1. Slow down your footage and render it.  export selfcontained movie, do not recompress all frames.
    2. re-import the slowed down footage and apply green screen filter.

  • Pixelated images when scaled down issue.

    I have scaled down some JPG's in flash and they look fine but
    when I publish to a SWF they look pixelated. I've read other
    threads and done what is suggested i.e. Smoothing on or off, JPG's
    instead of PNG's and quality at 100% with no success. I know that
    Flash isn't a resolution based application and bitmaps are but the
    images look fine in the Flash IDE.
    Can anybody help me further with this. Thanks in advance for
    any help.
    Simon.

    Hi andy 3r x1...I'm not sure I understand what you mean,
    sorry. I have JPG's inside flash and they look fine but when I
    publish and view them through the player they don't. The JPG's are
    scaled in the flash movie but are seen 1:1 later on in the movie.
    The scaled versions are pixelated.
    Anyhow, I've found what the problem is. I'm publishing for
    Flash player 7. If I publish for 8 and above the JPG's look fine.
    Haven't got a clue why this is other then the players are better?!?

  • Blurry/Scaled Down Artwork Column and Cover Flow are in 9.2

    i have noticed on my iMac 27" that the album artwork is really blurry, and when i double click the art work at the left bottom and enlarge it, it looks fine. For some reason Apple scales down the pixel size of images and it looks really blurry. Before it was the standard 600x600 artwork that looked beautiful but not anymore..
    This is an infuriating problem as I have taken a lot of time to embed high res art in my fles. The art still remains hi res in the bottom left, but in cover flow or the album artwork column it is a crappy looking blurry image.

    I noticed this also. And yes, it infuriates me too. I used to browse my music collection in Cover Flow on a 46" LCD. Not any more since iTunes 9.2. iTunes 9.2 comes with several new features and improvements, including this one: "Album Artwork improvements make artwork appear more quickly when exploring your library".
    It turns out that the album artwork cache build by iTunes consists of scaled down copies with a size of 128x128!!! These scaled down copies are used in the album artwork column, grid view, and cover flow. Not much you can do about it except give feedback (http://www.apple.com/feedback/itunesapp.html). That's what I did.

  • Scaled down, rendered clips have weird motion blur

    I have a project I'm doing in FCP 4.5 on a G5. I have several clips that I have scaled down to 55% and have positioned at even X,Y coordinates. The project is rendered, but I get a weird motion blur happening - like when you're watching a low grade QT movie. I have copied and pasted the sequence into a new project/sequence timeline and re-rendered. I have motion blur selected in my main user preferences (render options) and in the sequence settings (render options).
    Any ideas why I'd be having this problem? I don't want to have to go to the length of recapturing the source footage, but I'm almost at that point.
    Any thoughts?
    Jaimey
    Powermac G5 Dual 2Ghz Mac OS X (10.3.9)

    Are you monitoring this on an external NTSC monitor or TV? You cannot judge the quality of your images as viewed on the computer screen.
    #2 Playback is blurry
    Shane's Stock Answer #2:
    1. Disable overlays on the canvas
    2. Make sure you've rendered everything (no green bars at the top of the timeline
    http://docs.info.apple.com/article.html?artnum=24787
    DV footage requires large amounts of data and many computations. In order to maintain frame rate and be viewable at a normal size, only about one-fourth of the DV data is used in displaying the movie to the screen. However, the DV footage is still at full quality, and is best viewed thru a TV or NTSC monitor routed thru your camera or deck.
    Shane

  • Proportional Scaling external Image to stage

    Sounds confusing I know but basically I want to place some images on the stage and I want every image, whether big or small, portrait or landscape, to be scaled to about a quarter of the stage size.
    I have tried coding this myself and even tried many suggestions found on the web, but they all seem to do the same thing. The code either sizes every image to be equal in width and varying height, or scale every image to be equal in height with varying width.
    Say you have some images all the same size, but some in landscape orientation and some in portrait orientation. Most of the code I found for "proportional scaling" would scale the landscape images okay, but make the portrait images the same height as the others, so they looked alot smaller. Or the reverse was true.
    example:
    image.width = stage.stageWidth;
    image.height = stage.stageHeight;
    ( image.scaleX < image.scaleY ) ? image.scaleY = image.scaleX : image.scaleX = image.scaleY;
    This makes all the images fit on the stage all right, but they all have the same width. reversing the equality amkes all teh heights the same.
    If two images did not have the same width before they are scaled down, they should not have the smae width afterwards in my opinion.
    Sometimes I get some code that seems to work, then I change the stage size to check it and all the images did not scale to 1/4 of the stage new size when the FLA was run.
    I bet this is simple, but I have been working on it too long, y mind is in a knot!

    I loaded an array with a Loader and then used a random a variable to pick from the array using a variable that has the length of the array in it: here is the code, but the cut and paste does not wok that well.
    import com.greensock.TweenLite;
    var XMLURLLoader:URLLoader = new URLLoader();
    XMLURLLoader.load(new URLRequest("link to picasa photo rss feed"));
    XMLURLLoader.addEventListener(Event.COMPLETE, processXML);
    var media:Namespace=new Namespace("http://search.yahoo.com/mrss/"); imagesArray:Array = new Array();
    var imagesDateUploaded:Array = new Array();//The title properties of the XML File
    //var imagesWidth:Array = new Array();
    //var imagesHeight:Array = new Array();
    var imagesLength:uint;
    var imagesLoadedCount:int=0;//A counter, counts the images loaded
    var formatFont:Myriad = new Myriad();//This is the embedded font 
    var textformat:TextFormat = new TextFormat();//A TextFormat Object
    textformat.color=0xFFFFFF;
    textformat.font=formatFont.fontName;
    textformat.size=80;//Use the same size you used when embedding the font from the Library 
    var
    function processXML(event:Event):void {
    var XMLdata:XML=new XML(XMLURLLoader.data);
    imagesLength=XMLdata.channel.item.length();
    for (var i:uint=0; i < imagesLength; i++) {
      var loader:Loader = new Loader();
      loader.load(new URLRequest(String(XMLdata.channel.item[i].enclosure.@url)));
      imagesArray.push(loader);
      var imageDate:String=XMLdata.channel.item[i].pubDate.substr(6,10);
      imagesDateUploaded.push(imageDate);
      loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imagesLoaded);//A listener to the function that will be executed when an image is loaded
    function imagesLoaded(event:Event):void {
    imagesLoadedCount++;//Adds one to the imagesLoaded variable
    if (imagesLength==imagesLoadedCount) {//When all images are loaded
      prepareImages();//This function is explained in the next step  
      var maxSize:Number=stage.stageWidth/2;
    function prepareImages():void {
    //These actions will be applied to all the images loaded so we use a "for" and the "images" array to do that
    var i:uint = Math.floor(Math.random()*imagesLength);
    trace(i);
      var container:Sprite = new Sprite();//A container that will store the image, frame, TextField, TextField background and shadow
      var frame:Sprite = new Sprite();//The Frame Sprite
      var infoArea:Sprite = new Sprite();//The TextField background
      var infoField:TextField = new TextField();//The TextField
      //build the frames
      frame.graphics.beginFill(0xFFFFFF);
      frame.graphics.drawRect(-20, -20, imagesArray[i].width + 40, imagesArray[i].height + 40);
      frame.graphics.endFill();
      //creates a black rectangle in the bottom part of the image, where the TextField will be.
      infoArea.graphics.beginFill(0x111111, 0.5);//.5 is alpha
      infoArea.graphics.drawRect(0, 0, imagesArray[i].width, 100);//100 = height 
      infoArea.graphics.endFill();
      infoArea.y=imagesArray[i].height-100;
      //The following code sets the TextField properties and adds its contents
      infoField.defaultTextFormat=textformat;
      infoField.embedFonts=true;//You have to add this to use the embedded font  
      infoField.antiAliasType=AntiAliasType.ADVANCED;//This property will display the text more clearly
      infoField.width=imagesArray[i].width-5;
      infoField.height=100;
      infoField.text=imagesDateUploaded[i];//The content, obtained from the XML and stored in the Array
      //The images will have a random position based on the center of the Stage area. We use Math for that.
      //add a shadow filter
      //Distance, angle, color, alpha, blur, strength, quality
      var shadowFilter:BitmapFilter=new DropShadowFilter(3,90,0x252525,1,2,2,1,15);
      var filterArray:Array=[shadowFilter];
      container.filters=filterArray;//Apply the filter
      //adding children to container
      infoArea.addChild(infoField);//Adds the TextField to the TextField Background  
      container.addChild(frame);//Adds the Frame to the Container
    var bd:BitmapData= new BitmapData(imagesArray[i].width, imagesArray[i].height);
    var bmp:Bitmap = new Bitmap(bd);
    bd.draw(imagesArray[i]);
    container.addChild(bmp);
    // using the loader from the array directly was causing problems like only showing once.
    //  container.addChild(imagesArray[i]);//Adds the Image on top of the Frame in the Container  
      infoArea.visible=true;//We set the image information to invisible by default  
      container.addChild(infoArea);//Adds the information area in top of everything
      //resize the images to no more than 1/2 the image width or height compared to stage
      if (container.width>container.height) {// horizontal asset
       container.width=maxSize;
       container.scaleY=container.scaleX;
      } else {// vertical asset
       container.height=maxSize;
       container.scaleX=container.scaleY;
      container.x = Math.floor(Math.random()*(1+stage.stageWidth - container.width-20))+20;
      container.y = Math.floor(Math.random()*(1+stage.stageHeight - container.height-20))+20;
      //the  plus and minus 20 keeps the image in the stage boundary. something wrong with the container width calculations
      this.addChild(container);//Lastly, we add the Container to the Stage
      container.alpha = 0;
    TweenLite.to(container,1,{alpha:1});
      trace("Just added child");
    var timer:Timer = new Timer(5000,1);
    timer.addEventListener (TimerEvent.TIMER, initTimer);
    timer.start();
    function initTimer(event:TimerEvent):void{
    trace("Timer started");
    prepareImages();
    timer.reset()

  • Mail Attachment Scaled to Unviewable

    I have a client that uses Mac Mail in OS X 10.5.x. When ever she attaches a screen capture, it gets scaled down so small it is not viewable. I have sat at her Mac and tried to figure out why this is happening, but cannot see any settings any where that will allow me to change this behavior. She is the only user I have seen that has this issue.
    Any ideas?
    TIA. Mark

    Fantastic. I never noticed that before. And, after testing this a bit, it appears that it does not show up for all types of graphic images. I noticed GIF in particular didn't produce the menu in the message window after attaching.
    Thanks for the help.

  • Still having problem with PDF document video - Text Blurred on Scaling Down

    Need to scale down a captured PDF document video (.mp4). but text become blurry after scale down. Any suggestions to keep the text clear and readable ?

    Those two things are not the same shape. If what I am about to say is too basic, please forgive me. It might help someone else later.
    The ratio of your captured image (1434 x 958) is calculated as:
    1434 / 958 = 1.496868475991649
    The ratio of your export is calculated as:
    640 / 480 = 1.333333333333333
    Just get the representation of them into one document, I created a Photoshop file big enough to hold them both. Then I scaled it down and took a screen shot to fit this forum's restrictions on file size.
    If you look at the first image, it is difficult to see that they are different shapes.
    In order to make them easier to see, I scaled down the larger layer, using the Shift key to ensure that the scale is perfectly proportional.
    Now you can easily tell that the ratio of 1434x958 is much wider than the ratio of 640 X 480.
    That means that you are changing the shape of the image when you export.
    If you are concerned about the long edge, you could divide 640 by 1.496868475991649 and export the image at 640X428 and get closer. It is not optimum, but should look better. Optimum would have been to size your PDF to where the longer edge was evenly divisible by 16. But, too late for that.
    Another choice would be to edit the video in a 640X480 sequence, and scale the PDF video down to fit that sequence - leaving a letterbox look (black bars on top and bottom). That might help the image stay sharp. Then export to 640X480 from there.

  • Attaching Attributes to Image For Loading to SharePoint Document Library

    We currently have a need to create a searchable document library which will consist solely of images. The standard metadata for a file/image won't suffice in this case. We have some custom attributes that will need to be searchable.
    Essentially, we will have a library of receipt images for expense reporting purposes. We get these images from a third party who handles all of our expense reporting. There are two large zipped files we receive: one file contains all the actual expense report
    "data" that was processed that day(amount, date, client, job, etc.) and the second file contains all the receipt images for those expense report items. Each data file contains data for individual expense reports, and each expense report is assigned
    a unique ID. Each line item in an expense report is also assigned a unique ID. Lastly, each receipt image for a line item of a specific expense report is also assigned a unique ID.
    The zipped image file only contains images. There is a main image file - this contains several smaller zipped files. Each of the smaller zipped files contains all receipt images for a specific expense report. Each image file name is comprosed of three parts:
    The expense report identifier, the unique image identifier, and the expense report line item identifier.
    So, to put this all into perspective:
    On Thursday, we received an image file named extract_images_p006320452r3_20140904171423
    This file contained images for the following unique expense reports:
    The compressed file 95FB8C488519427793FC contains the following receipt images:
    The "data" file - as mentioned before - contains the actual info about the expense and image. These include: date of transaction, date approved, vendor, amount. GL code, type, function, client, project, billable or not, and several other attributes.
    All of this information - including the location of the images - is stored in a SQL Server database and then placed in an SSAS cube.
    The images are related back to the underlying data via the expense report id, and line item id.
    What I need to be able to do is to somehow "tag" these images with all their underlying attributes, load then into a SharePoint document library, and make them searchable.
    I have already figured out that I would need to create several SharePoint lists based on the available values in my OLAP cube (essentially a dataset each for clients, vendors, etc.). The part I have no idea how to accomplish is how to tag each image with
    its respective information.
    All the pertinent info is stored in the database tables, just don't know how to attach it to each image.
    Hopefully, this made some kind of sense. If anyone has any idea on how to even remotely accomplish such a thing, your input would be greatly appreciated!
    Thanks in advance!
    A. M. Robinson

    You will have to develop a custom solution to do this. I am assuming you have taken the first steps to define separate document libraries for the expense reports and images along with site columns and contenttypes. You would define the site columns based
    on the data you want to search on and assign these to corresponding contenttypes. So basically a contenttype for expense reports and receipts possibly. You would link the two contenttypes using the expense report id.
    Your custom solution would have to break apart the zip files and upload and index (set site column data) for each file. Then the user could search on the expense report id and get all the files associated with the expense report.
    An alternative could be to use one document library and have all the files uploaded into their own document set (folder).
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

Maybe you are looking for

  • DVD drive no longer supports as many media types

    Hey guys I recently had a serious problem with my MacBook Pro, only solution was to back my stuff up and do a fresh install and start all over again. Everything went fine, but I noticed just now in the system profiler, that my optical drive (MATSHITA

  • Problem in Oracle CDC Create Subscription option

    Hi All, I am facing a problem setting up CDC in test environment after cloning from DEV. We are using Oracle 11g and OWB 11g2 versions. For setting up CDC through OWB client, when we started start CDC, job throws runtime error saying error mapping fu

  • Message popping up

    message says "This accessory is not optimized for this iphone and you may experience cellular noise and decrease in signal strength."

  • Why the initial 302 redirect?

    I've been knocking around this problem with BEA for awhile now, with no           resolution yet. Why does the initial request to my site first get a 302           redirect page that then leads to the actual page I wanted served           (index.jsp)

  • My Apple TV 2 has been stuck at the update screen for 18 hours, what can I do?

    I read about the 4.4.4 update yesterday. I always actively install new updates as soon as they're issued. This time my Apple TV has been stuck on step 1 of the update. The progress bar has been at about 90% since yesterday. Right below it says not to