Cropping problem: crops to a single pixel

I select part of the image using the crop tool, but when I execute the crop, the result is a single pixel, regardless of the size of the cropping box

reset the values in the options bar. You will find they are set to 1. CS3 has a mysterious tendency to do this on its own.

Similar Messages

  • I'm trying to do a batch crop in camera raw and there is no dropdown option in the crop tool to select inches or pixels. How can I fix this?

    I'm trying to do a batch crop in camera raw and there is no dropdown option in the crop tool to select inches or pixels. How can I fix this?

    Create an action to do the crop and user the image processor to batch process your RAW files and have it use your cropping action in the process.

  • Video & cropping problems

    My system equals:
    Lightroom version: 4.0 Beta [800002]
    Operating system: Windows 7 Ultimate Edition
    Version: 6.1 [7600]
    Application architecture: x64
    System architecture: x64
    Physical processor count: 4
    Processor speed: 2.4 GHz
    Built-in memory: 8191.0 MB
    Real memory available to Lightroom: 8191.0 MB
    Real memory used by Lightroom: 590.0 MB (7.2%)
    Virtual memory used by Lightroom: 543.2 MB
    Memory cache size: 1083.2 MB
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 1920x1080
    While in video, using captured frame – my picture is extracted at 19 20 x 10 80.
    Attempting to use this picture in the books module causes resolution problems yet the same picture when used in the print module and save to a picture file causes no resolution problems and becomes 255 0 x 3300 when using it in the book module.
    Multiple Cropping problems have been reported already and I have read tech support is looking at some of these problems -  hopefully they will fix the following
    In crop the custom dimension will not exceed 5 changes (would like to be able to see it built out to 10 custom sizes) and it no longer overwrites the last dimension change. It defaults to 2×3/4×6
           NOT WORKING like LTRM 3

    Some thing here might help:
    iMovie 11 tutorials:
    http://help.apple.com/imovie/
    http://www.apple.com/ilife/tutorials/#imovie
    and also these:
    http://www.kenstone.net/fcp_homepage/imovie_09_stone.html
    http://www.kenstone.net/fcp_homepage/imovie_09_stone.html#interface

  • JS/PS CS3: identify single pixels sticking out

    In a bitmap, is it possible to identify single pixels sticking out from a shape? Let's say I have this black shape in a black-and-white bitmap:
       xxxxxxxx
       xxxxxxxx
       xxxxxxxx
       xxxxxxxx
            x
    an 8 by 4 rectangle with one pixel sticking out from the bottom. Question is, can I find such pixels using a script (JS) and make it white?
    Thanks,
    Peter

    Peter, I added the work around to the script. It appears to fix the problem. With my basic test files.
    #target photoshop
    app.bringToFront();
    while (app.documents.length) {
      app.activeDocument.close(SaveOptions.PROMPTTOSAVECHANGES);
    var defaultFolder = new Folder ('~/Desktop');
    var inputFolder = defaultFolder.selectDlg('Please select your Folder of Bitmap files…');
    var outputFolder = defaultFolder.selectDlg('Please Make/Select a Folder to save Cleaned up files to…');
    if (inputFolder != null && outputFolder != null) {
    var fileList = inputFolder.getFiles(fileFiltering);
    if (fileList.length > 0) {
    main(fileList);
    } else {
    alert('This Folder contained NO Photoshop Tiff files!');
    } else {
    alert('A Required folder was NOT chosen!!!');
    // Main Photoshop file processing
    function main(fileObjs) {
    with (app) {
    var whiteRef = new SolidColor();
    whiteRef.rgb.red = 255;
    whiteRef.rgb.green = 255;
    whiteRef.rgb.blue = 255;
    backgroundColor = whiteRef; // This will be used with resizeCanvas(+)
    var userDisplayDialogs = displayDialogs;
    var userRulerUnits = preferences.rulerUnits;
    displayDialogs = DialogModes.NO;
    preferences.rulerUnits = Units.PIXELS;
    for (var i = 0; i < fileObjs.length; i++) {
    if (fileList[i] instanceof File) {
    open(fileObjs[i]);
    var docRef = activeDocument;
    with (docRef) {
    var baseName = app.activeDocument.name.slice(0, -4);
    if (mode != DocumentMode.GRAYSCALE) changeMode(ChangeMode.GRAYSCALE);
    docRes = resolution;
    resizeCanvas(width + 4, height + 4, AnchorPosition.MIDDLECENTER);
    // Cleans single pixels
    artLayers[0].applyMaximum(1); // Adjust as required
    artLayers[0].applyMinimum(1); // Ditto
    artLayers[0].invert();
    artLayers[0].applyMaximum(1); // Ditto
    artLayers[0].applyMinimum(1); // Ditto
    artLayers[0].invert();
    resizeCanvas(width - 4, height - 4, AnchorPosition.MIDDLECENTER);
    var thisBitmap = bitmapOptions(docRes)
    changeMode(ChangeMode.BITMAP, thisBitmap);
    var newFilePath = new File(outputFolder + '/' + baseName + '.tif');
            SaveFileasTIFF(newFilePath, false, TIFFEncoding.TIFFLZW, false, false, false);
            close(SaveOptions.DONOTSAVECHANGES);
    displayDialogs = userDisplayDialogs;
    preferences.rulerUnits = userRulerUnits;
    function bitmapOptions(res) {
      bitOptions = new BitmapConversionOptions();
    //bitOptions.angle = 0;
    //bitOptions.frequency = 150;
    bitOptions.method = BitmapConversionType.HALFTHRESHOLD;
    //bitOptions.pattenName = '';
    bitOptions.resolution = res;
    bitOptions.shape = BitmapHalfToneType.SQUARE;
    return bitOptions;
    function SaveFileasTIFF(saveFile, aC, iC, la, sC, tr) {
      tiffSaveOptions = new TiffSaveOptions();
      tiffSaveOptions.alphaChannels = aC;
      tiffSaveOptions.byteOrder = ByteOrder.MACOS;
      tiffSaveOptions.embedColorProfile = true;
      tiffSaveOptions.imageCompression = iC;
      tiffSaveOptions.layers = la;
      tiffSaveOptions.spotColors = sC;
      tiffSaveOptions.transparency = tr;
      activeDocument.saveAs(saveFile, tiffSaveOptions, true, Extension.LOWERCASE);
    // Mac ONLY filtering (Photoshop Tiff's)
    function fileFiltering(fileObj) {
    if (fileObj.creator == '8BIM' && fileObj.type == 'TIFF') {
    return true;
    } else {
    return false;

  • Just a single pixel.

    I can't find a method in graphics or ghraphics2d that will allow me to change a single pixel in the paintComponent method. the best I can do is a very short line (g.drawLine(x, y, x, y)). surely a method like this would call a method that draws a dot, but I can't find it. a little help please.

    This is just my 2 cents.
    somebody must know more about the 'graphics' class,
    and how the drawLine method is programmed - it must,
    itself, draw one pixel at a time.Well, maybe not. A Java implementation does not talk to the hardware. It will generally have to call some native method that calls a 3rd party graphics implementation (X, WinG, Direct Draw, etc. ), which in turn could call another level of abstraction... including the driver and eventually hardware. There's no guarantee that a 3rd pary API or interface will have a "drawPoint(x,y)" method on ever conceivable OS and graphics configuration. Furthermore it might be the case that a particular optimization occurs in the hardware level. Maybe some graphics hardware is only capable of drawing "lines" even if they are only 1 pixel long. Certainly hardware accellerated 2d and 3d graphics aren't drawn 1 pixel at a time at the software level. It makes sense that a filled rectangle should be done at hardware level, probably evel lines.
    Probably the most overhead here is putting 2 extra values on the call stack.
    Anyway, I think the old saying about premature optimization is as true here as it is otherwise. If you can actually show with the use of a profiler that an application's bottleneck is the Graphics.drawLine method, and that there's no more efficient way to write the app, THEN we have a problem.
    Or satisfy your curiosity:
    public static void main(String[] args)
            int trials = 30;
            int loops = 20000000;
            long cummulative_2parms = 0;
            long cummulative_4parms = 0;
            for (int i=0; i<trials; i++)
                long t;
                //2 parms
                t = -System.currentTimeMillis();
                for (int j=0; j<loops; j++)
                    two_parms(j, j);
                t+= System.currentTimeMillis();
                cummulative_2parms +=t;
                System.out.println(
                        "2 parm ms:  " + t + "\n" +
                        "cummulative " + cummulative_2parms + "\n");
                //4 parms
                t = -System.currentTimeMillis();
                for (int j=0; j<loops; j++)
                    four_parms(j, j, j, j);
                t+= System.currentTimeMillis();
                cummulative_4parms +=t;
                System.out.println(
                        "4 parm ms:  " + t + "\n" +
                        "cummulative " + cummulative_4parms + "\n");
        static void two_parms(int x, int y)
        static void four_parms(int i01, int i02, int i03, int i04)
        }

  • How to copy and paste a single pixel

    How to copy and paste a single pixel
    I want to copy a single pixel and then paste it in the
    position of
    another pixel in the same image.
    (This is in effect changing the colour of the target pixel,
    isn't it.
    But in my case copying an existing pixel seems simpler than
    selecting a
    colour from the swatch or using the colour picker.)
    What is the most efficient way of doing this?
    I tried to select one pixel with the marquee tool. Then
    copied it with
    control-C, but then how do I select the target pixel and
    paste with
    control-V?
    Thanks for your help.
    Adrian

    Use the Pencil Tool
    alex
    adrian stock wrote:
    > How to copy and paste a single pixel
    >
    > I want to copy a single pixel and then paste it in the
    position of
    > another pixel in the same image.
    >
    > (This is in effect changing the colour of the target
    pixel, isn't it.
    > But in my case copying an existing pixel seems simpler
    than selecting a
    > colour from the swatch or using the colour picker.)
    >
    > What is the most efficient way of doing this?
    >
    > I tried to select one pixel with the marquee tool. Then
    copied it with
    > control-C, but then how do I select the target pixel and
    paste with
    > control-V?
    >
    > Thanks for your help.
    >
    > Adrian
    >

  • I have a single Pixel that is broke on my 2 month old retina macbook pro. I have Apple care. What will Happen if I bring it to an apple store.

    I have a single Pixel that is broke on my 2 month old retina macbook pro. I have Apple care. What will Happen if I bring it to an apple store.

    You can try to see if they will replace it, however there is some sort of acceptable amount of stuck pixels and they won't replace so I hear.
    But that was a long time ago and things change.

  • How to fill or erase a single pixel?

    What tool or tools do I have to use to erase or fill a single pixel at a time?
    Sincere thanks in advance for yourhelp.
    Al

    So many ways; you can use one or a combination of:
    Brush Tool set to 1 pixel and a color that matches the area
    Spot Healing Brush Tool set to around 3 or 4 pixels
    Clone Stamp Tool set to a reasonable size based upon area and a soft edge (a graphics tablet like those from Wacom is a big help here due to being able to set size and opacity; pen pressure determines size and/or opacity as you paint)

  • How to add Event to every single pixel with BitmapData?

    What I want to accomplish: when I drag the cursor over a sprite I want the sprite to break down and every single pixel moves through the screen at random x and y axis.
    To make it simple the draw this is what I want but with much more fragments(pixels) around, thousands of them. How come could I approach this?
    Thanks in advance.

    if mc is the object whose pixels you want to randomize and display in a bitmap:
    var bmpd:BitmapData = new BitmapData(mc.width,mc.height);
    bmpd.draw(mc);
    var bmp:Bitmap = new Bitmap(bmpd);
    addChild(bmp);
    mc.visible=false;
    mc.addEventListener(MouseEvent.MOUSE_OVER,randomizeF);
    function randomizeF():void{
        var a:Array = [];
        for(var x:int=1;x<=bmpd.width;x++){
            for(var y:int=1;y<=bmpd.height;y++){
                a.push(bmpd.getPixel32(x,y));
        shuffle(a);
        var i:int=0;
        for(x=1;x<=bmpd.width;x++){
            for(y=1;y<=bmpd.height;y++){
                bmpd.setPixel32(x,y,a[i]);
                i++;
    function shuffle(a:Array) {
        var p:int;
        var t:*;
        var ivar:int;
        for (ivar = a.length-1; ivar>=0; ivar--) {
            p=Math.floor((ivar+1)*Math.random());
            t = a[ivar];
            a[ivar] = a[p];
            a[p] = t;

  • Possible to paint single pixel?

    The Graphics class has methods to paint different object eg.:
    drawOval(int x, int y, int width, int height)
    but is it possible to paint just one pixel?

    fillRect() can be used for that.Although it should be noted that drawLine() is faster. Of course, knowing that is only useful if you're drawing lots of single pixels.

  • Single pixel vertical line

    Suddenly there's a single pixel white vertical line smack down the center of my screen, always there no matter how I boot up the computer. Any suggestions?

    Any suggestions?
    Take it in for repair.

  • Page cropping problem in Acrobat XI

    I have a title built in InDesign that I export in PDF for the printer. I discovered over successive runs that I needed to shift the y axis a tad and widen the gutter to get the best production results. Here is the routine for doing so in Acrobat Pro IX:
    in Acrobat
    Document /Crop Pages / Change Page Size / Custom: width 6 in; height 9 in. [ set for each operation ]
    Adjust y-axis (height) of text block
    Y offset: - 0.15 (check shift visually)
    Page range = all
    apply to: odd and even pages
    Adjust recto x-axis placement
    X offset: + 0.13  (check shift visually)
    Page range = all
    apply to: odd pages only
    Adjust verso x-axis placement
    X offset: - 0.13  (check shift visually)
    Page range = all
    apply to: even pages only
    I had to produce an new PDF body file for the first time since switching to CC (Acrobat XI), and when I finally found the page cropping dialogue, the above routine blew up the book completely. There wasn't a single character visible in 300+ pages. I take it that Acrobat XI has different ideas about cropping pages, but I couldn't see where the problem lies. The dialogue boxes look the same. The commands are the same. Only the results are different. ??
    Any help much appreciated.
    Richard Hurley
    Grass Valley MultiMedia

    This usually means the file is corrupt, probably because it was not created
    using a standard application like Adobe Acrobat.

  • Crop not landing on an even pixel border.

    I am trying to generate pngs that are fall exactly on pixels borders but when I drag the image into Illustrator I am getting sizes of 199.975x199.975 for a 200px file.
    In PS I have grid snap on. The first method I tried was changing the canvas size. It generated decimal sizes.
    The second method was crop where I moved guidelines and snapped them to pixel grid, then did a crop. I then adjusted the crop handles to make sure the size was 200x200 stated in the info window.
    How do you "save as" an exact size???

    Well, after more research I have found that the problem lies within saving as a png format. If I save it as a jpg, then it imports into Illustrator with exact pixel boundaries (no decimals).So my boundaries seem to be correct.
    I also tried changing my canvas size to 200x200, then filled the a blank layer with a color as an exact reference size. Then I use the wand tool to select it, then use the Rectangular Marquee tool with the Image->Crop command. The problem still exists for pngs (but jpgs work fine).
    Is there a setting somewhere for exporting pngs to exact boundaries? I am stumped!

  • I have encountered a cropping problem in cs4

    After cropping a photo in cs4 i have tried hitting the return key as well as edit/crop and then my photo disappears and the image box reduces in size to about 1 inch square with no image. I have expanded the image box but nil photo. This has never happened before. I reloaded cs4 onto my computer but the problem still exists. I have also tried out opening the file from Bridge as well as Photoshop with the same result.

    scarpakb wrote:
    …working on is 1920 x 2560 pixels with resolution 350 dpi, so it is not a resolution issue…
    What I was wondering about was not the resolution of your document, but the value you may have entered in the Crop Tool's Resolution box in the Options Bar of the Crop Tool.
    For instance, it's common for users to inadvertently end up with a resolution of 0, 1, or 10000 pixels per inch in that box, which would trigger exactly the consequences you are describing here.
    So, let me repeat: 
    …but I'll make a wild guess:
    You have some ungodly value in the resolution box in the Option bar of the Crop Tool.  Hit the "Clear" button in that same Options bar and try your crop again.

  • Fuji X-Trans Sensor - Fuji X-E1 Chroma Smearing and Crop Problems with Lightroom 4.4RC

    Like others, I found that Lightroom 4.3 caused chroma smearing on my Fuji X-E1 files.  I compared 90 shots I did today processed with Fuji SilkyPix RAW converted and LR 4.4RC.  It appeared to me that the chroma smearing problem is solved.  I did not see the chroma smearing, even at 3:1 zoom.  The .tiff files from SilkyPix and the .dng files from LR, appeared practically identical which was not the case with LR 4.3.
    There was some discussion of purple fringing with the X-E1 and the Fuji 18-55 on this forum.  I did not see this in my backlit shots today.  I believe that the problem can be greatly reduced or eliminated by avoiding over exposure in the camera.  I have found when faced with very bright skies and darker foregrounds that I get better results by metering the sky, and then over exposing only 1 to 1-1/2 stops.  If I cannot do this, I get good results by properly exposing the subject.  If both the sky and the subject are over exposed, the fringing appears around the subject.
    I was also happy to see that my files are no longer coming into Lightroom cropped.
    It looks like I will be able to use Lightroom for my Fuji files with the 4.4RC.

    The results of my experiments are different than what is being said, here, and different than I expected.
    My DNG Conversion options are as listed, above, and did not include setting Custom with Linear as a conversion option, but merely setting ACR 6.6+ as the compatibility.  If there is some way to set Linear along with ACR 6.6 compatibility I’d like to know how.
    My guess would be that either Adobe is making a linear DNG in this specialized case of X-Trans, to make things compatible with older ACRs that have no idea how to decode X-Trans--which is the promise of converting to DNG, OR Adobe is modifying the X-Trans data to have it be more like normal Bayer layout of still one-color-per-pixel so not demosaicking, exactly, just re-mosaicking.
    Anyone can repeat my experiments:
    Here is the DNG Converter 7.3 for Windows:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=5519
    Here is the DNG Converter 7.4RC  for Windows:  http://labs.adobe.com/downloads/cameraraw7-4.html
    Here is an X-Pro1 ISO 200 RAF file:  http://movies.dpreview.com.s3.amazonaws.com/fujifilm_xpro1/DSCF2008.RAF.zip

Maybe you are looking for

  • I bought a gift card and it dosent work?

    I bought a gift card,when I put the code it tells me it's not valid code? Can someone help me?

  • PI is Trap receiver

    Hi NMS community I just installed PI 1.2  in the Lab. PI is of course also a trap receiver which get in traps with a community, Where can i configure the trap community for Prime ( not the one for the network elements ) ? Thanks Karl

  • Print with no borders on 8500 A910

    How do we adjust the HP OfficeJet Pro 8500 A910 to print with no borders?

  • Aggregates being used or not

    Hi, I have an Infocube and also have aggregates created and filled in them. When I run the query on this InfoCube, I want to know if any of my aggregates are being used or not. Can someone please tell me how I can find this out? My BI version is 7.0

  • Very Urgent.......How to update the database values through OAF pages ??

    Hi All, I am developeing some self service application thru Oracle Application Framework(OAF). There I am fetching 5 attributes from the database and displaying those attributes in my main page Table Region. Now my requirement is i want to edit that