Why can't Photoshop resize images correctly?

This seems like a pretty basic function, but my copy of Photoshop can't do it right. Specifically, I'm using CS4, but I have a feeling that doesn't matter. I'd appreciate it if someone else would check to see if their copy of Photoshop works correctly either. Here's some quick step-by-step instructions to try it out:
Step 1 - Create a new file that is 4 pixels wide by 4 pixels tall. (Use basic options: 72 pixels/inch, RGB Color, Square Pixels, etc.)
Step 2 - Using the pencil tool, draw a red dot (1 pixel wide/tall) in each corner. So that the image looks like this:
Step 3 - In the menu, go to "Image" > "Image Size..." and increase the width and height of the image to 400 pixels using "Nearest Neighbor".
Now here's the image I end up with:
So we started with a 4x4 image, and now we have a 400x400 image. The math here isn't too difficult: 4 x 100 = 400. So each of our red dots in the corners should now be 100x100 pixels each. Simple enough, right?
Unfortunately, this was not the case for me. The red dot in the upper-left corner is now 97x97 pixels. The red dot in the upper-right corner is now 103x97 pixels. The red dot in the lower-left corner is now 97x103 pixels. And the red dot in the lower-right corner is now 103x103 pixels.
I guess Photoshop seems to think that both of the following statements are simultaneously true:
1 x 100 = 97
1 x 100 = 103
Am I alone in experiencing this buggy behavior? Or does everyone else get the same result? Is there some way to fix it?
Thanks for giving it a try!

I can confirm the problem here on Photoshop CS6 Extended x64 using Windows 7.
Adobe has never placed too much emphasis on getting things pixel-perfect in Photoshop - it is more fuzzy and touchy-feely philosophically.  This is not only illustrated by the problem noted above, but also by things like a selection made by a selection tool is often off by a pixel this way or that, paths snapped to things still don't *quite* overlap, etc.
They seem unwilling to change things that have been in the product a while, because apparently when they do so they inadvertently break other things.  And I can't say I blame them...  Given the apparent size of the code base and the extreme age of the software, I wonder what the development cost would be In order to fix something like this across the board, so that every operation really is pixel-perfect.  It might be the kind of thing that a complete redesign from the ground up is needed to fix.  Even then I guarantee you there would be problems.
To Adobe's defense, having been through the development of graphics software myself, I can authoritatively state that actually getting everything pixel-perfect is quite challenging in a world where computing can be done with integers or floating point numbers of various precisions, where no one can quite agree whether a pixel's coordinate identifies its center or one of the corners, where coordinate systems change depending on what subsystem you're using, and where OpenGL documentation recommends you offset your pixels by (0.375, 0.375) in order to ensure they align properly (no kidding).
-Noel

Similar Messages

  • Why can you flip an image in Photoshop, but not Cmera RAW, or can you?  (CS5)

    Why can you flip an image in Photoshop, but not Cmera RAW, or can you?  (CS5)

    Doesn't look like you can. I'm just a user, so I don't know why. It can be done in Lightroom if that's any consolation.

  • Why can 't I store images on my SD care in Lightroom mobile for Android

    I don't understand why I can't store images on my SD card. I get that a mobile app can't ever have the same functionality as the desktop version without taking up all the memory, but what on earth made someone think it was a good idea to store images in memory that is not only highly limited, not upgradable, but also used by other apps and more importantly the OS. Why can't I store images on the MicroSD card. That thing can be 128gb which is enough storage to work on a decent collection of images.
    I would love there to be some more control over aspects of the image, but what there is works well. It also syncs effectively and there isn't that much lag between each event, but what happens when I need to edit 50 images from a device I keep in my pocket [which theoretically should be viable]?
    The most useful feature for me is processing images I've taken with my phone, and syncing them back to Lightroom...
    Please tell me that external storage is going to be added?

    Hi canondude!
    Thanks for posting.
    Ho are you bringing the video clips over to your computer?  Are you connecting the camera or are you using a card reader?  What program are you using to import the video clips?
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Why can't I send images via text

    Why can't I send images via text?

    Do you have data enabled? MMS enabled? While it doesn't count against your data plan, your phone should be able to send small photos, but does require a data connection.

  • TS2755 I have an iphone 3gs. I recently got unlimited texting added to my att plan. I can attach images to anyone who has an iPhone with os 5 (imessaging)). Why can't I attach images to people who I text non-imessage?

    I have an iphone 3gs. I recently got unlimited texting added to my att plan. I can attach images to anyone who has an iPhone with os 5 (imessaging)). Why can't I attach images to people who I text non-imessage?

    Your carrier determines what you can send in a text message, Apple has no control over it as SMS and MMS are completely carrier-based

  • Why can't I edit images in the develop module? It's telling me folders cannot be found.

    Why can I not edit images in the develop module? It is telling me that the source folders cannot be found.

    When I click on the RSS button, I got this
    message:
    "Safari can’t open the page “feed://wwwhome.cs.utwente.nl/~fiorezet/UT/Publications/rss.xml”. The error was: “unknown error” (NSURLErrorDomain:-1)
    Will need to look further into that one.
    I used the Feed Validator Website to check my RSS files. The Website says: "This feed does not validate". The site also shows in which lines the errors are. The link below shows what I mean:
    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwwwhome.cs.utwente.nl%2F%257 Efiorezet%2FUT%2FHome%2Frss.xml
    What should I do to solve my problem?
    Regards,

  • Why can't we resize log buffers??

    Why can't we resize log buffers??
    Regards
    Vijay

    chronicscorpion wrote:
    Hi Aman,
    I have read in Oracle Docs . Will you please tell me where you have read that it can be changed? Please tell me also.
    Regards,
    VijayIf you are talking about Redo logs
    Check out http://www.oracle-dba-online.com/managing_redo_logfiles.htm
    or look at this question that was asked before in this forum
    Oracle 10g R2 Database Redo Log Files
    Check posting by Betty
    (If you have set your FAST_START_MTTR_TARGET parameter
    SQL> alter system set FAST_START_MTTR_TARGET=300;
    SQL> select optimal_logfile_size from v$instance_recovery;
    Based on the current log switch checkpointing, good estimate as you should
    at least perform 3-4 log switches per hour based on the increased size of your
    redo logfiles and do not forget to multiplex the redo logfiles onto faster
    hard drives as Mr Burleson would say in his book SSD (Solid State Drives)
    SQL> select * from v$log; (how many many members do you have 1, 2 or 3)
    SQL> select group#,member from v$logfile;
    Cheers
    Justin Miles

  • Why can't photoshop access my iPhoto images?

    I am using Photoshop CS2 and just upgraded to iLife 11. I had no problems accessing images with old iPhoto. I am also having trouble backing up my iPhoto library to external HD. get error -36. I repaired permissions, downloaded iPhoto update and OSX 10.6.8. Any suggestions? I am also unable to create new projects, books, etc in iPhoto . The program freezes and I have to force quit.

    1. Photoshop can access the photos in iPhoto and in exactly the same way it always did.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    2. The -36 error is an i/o error. Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • Why can't you create image hyperlinks in Yahoo mail??!!

    ''locking - duplicate - https://support.mozilla.com/en-US/questions/806494''
    The whole feature that allows images to be entered inline with text is messed up when using Firefox. And you can't make any image a hyperlink! This is a really useful feature that I hate to resort to IE for!! Why can't Firefox get this to work if IE can?? Firefox is better in every way except this one!!

    Hi,
    932262 wrote:
    My oracle version is 11g, Starting in Oracle 11.1, you can use sequences directly in an assignment statement. For example:
    :NEW.id.sbl := sq.gdi.NEXTVAL;You don't have to SELECT it from dual any more.
    and i am not reading it because i don't know where to read. Oracle documentation is available on line. For version 11.1:
    http://www.oracle.com/pls/db111/portal.all_books
    I am trying to use simple sql and not PL/SQL as much as possible.That's great! Your code will be more efficient and easier to maintain.
    As mentioned earlier, you can create as many triggers in the same script as you want to. Whether you use 5 scripts, or 1, or none at all, you have to put a / after the final END; statement in each one. Follow that by SHOW ERRORS to get complete error messages.
    END;
    SHOW ERRORSPersonally, I prefer having a separate script to create each object. If you want to have one script that calls 5 other scripts, use the SQL*Plus START (or @) command. If the 5 child scripts are on the same directory as the parent script, then you can call them like this:
    @@child_script_1
    @@child_script_2
    @@child_script_3
    @@child_script_4
    @@child_script_5

  • Why can I not save images?

    starting today, I can no longer download images with the save image as option. Most of the time, save image as, is not an option in the list. Most of the time there is a really long menu when i right click on an image. Something is stopping me from downloading images. I believe the problem is with Firefox because, I can still download pictures in the IE browser. Any idea what may have changed and why? I need to download images for my work. I am in so much trouble right now because, I can't get my work done.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why can I not resize Finder windows by grabbing any side or corner

    I love my Macs and Leopard having used PCs for 15 years. But one annoyance of the Mac OS is the inability to resize a window by grabbing any side or corner like I can do in MS Windows.
    Being able to resize a Mac OS window by having to grab the lower right corner is a very limiting especially when I have a number of windows open at one time. I would think with all of Apple's sophistication that this would be a simple convenience to add.
    Are there any utilities out that that add this functionality to Leopard?
    Thanks for sharing in advance.
    Bud James

    nerowolfe wrote:
    {quote:title=SC::UK wrote:}{quote}
    He said he'd been using PCs, not Macs, for 15 years. I also find it annoying that I cannot resize from any corner or side, and that the maximise button on each window seems to do something totally random.
    When you change from one OS to another, do you really expect them to be the same? Then why change? It's like changing from a LH drive car to a RH drive car. It takes a few minutes and that's it.
    Different OSs are different otherwise they would be the same.
    You don't have a powerful Unix system lying under a Windows GUI and you don't need anti-virus software or have to defrag every day or so. And you do not need to reinstall every month or so or ever get caught in DLL-heck.
    Yes Macs are different from Windows machines. I regularly use both and have no problems with either. Whether the gearshift and rearview mirror are on the right or left does not matter to me. I like either.
    I'm not sure what disk fragmentation, reinstallation or DLL-**** (never heard of DLL-heck) have to do with the OPs question and observation about being able to drag any corner when you have a screen full of windows. Sounds to me like an attack in desparate defence of OS X instead of constructive discussion.
    I also regularly use both, professionally, but there are things that Windows does better than OS X, and there is no reason why OS X could not improve. For example, why can I not selectively remove (i.e. completely destroy) files from my trash?

  • Why can't I see images from my hotmail inbox on firefox?

    I can't view some images in my inbox, however if I forward to a non-hotmail account or open in explorer it works fine. I can also see it in sent items. If I right click the numbers where the picture should be and click to view, it says the picture can't be seen because the "protocol (cid) isn't associated with any program".

    See:
    *[[Images or animations do not show]]
    *http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Why can't I attach images from Iphoto to outlook

    Why can't I attach photos from Iphoto via outlook? I just read in a blog that this is a known issue to Apple/Mac and Micrsoft is there any anticipated dates to fix this problems? and if is not getting fix why are they still selling this product for a system that does not supports it? this is kind of upsetting smh....

    Because you have a problem and you need to fix it
    with no information except it does not work no one can give any more help than that - remember that we are jsut users like yourself and know nothing except what you tell us - which in this case was nothing except it does not work
    Some details like the OS version, version of iPhoto, what does happen and what does not ahppen, any recent changes, ect would at least give someone a chance to try to assist you
    LN

  • Why can't I resize jpg images in the applet?

    I used this code to display images in an html page. One applet for one image. But out of the 8 images I loaded, 6 adjusted themselves to 320x240 automatically, 1 randomly jumps around to certain parts of the image every 250millisecs, and 1 just cuts the top left hand part of 320x240. How can .jpg files give 3 different situations? I tried using the resize() method in the code but it doesn't do anything! How can I size those .jpg images to the size I want?
    /**This video stream applet loads a new image every 250ms
    import java.applet.*;
    import java.awt.*;
    import java.net.*;
    import java.io.*;
    import java.awt.event.*;
    public class Video extends Applet implements Runnable{
    private Image img,buffer;
    private Thread video = null;
    private URL url;
    private MediaTracker tracker;
    public synchronized void init(){
    tracker = new MediaTracker(this);
    try{url = new URL(getCodeBase(),"Camera1.jpg");}
    catch(MalformedURLException e){}
    img = getImage(url);
    tracker.addImage(img, 0);
    buffer = createImage(320,240);
    resize(320,240);
    if(video!=null)return;
    video = new Thread(this,"VideoStream");
    video.start();
    public synchronized void destroy(){
    if(video!=null)video=null;
    public void run(){
    while(!Thread.interrupted()){
    // Load new image.
    try{tracker.waitForID(0);}
    catch(InterruptedException e){}
    // Draw new Image.
    repaint();
    // Remove old image & add new one.
    tracker.removeImage(img,0);
    img.flush();
    tracker.addImage(img,0);
    // Sleep
    try{Thread.sleep(250);}
    catch(InterruptedException e){}
    public synchronized void update(Graphics g){
    Graphics bufGraph = buffer.getGraphics();
    bufGraph.drawImage(img,0,0,this);
    paint(bufGraph);
    g.drawImage(buffer,0,0,this);
    public void paint(Graphics g){
    g.drawImage(buffer,0,0,this);
    Also how can I add more than 1 .jpg in an applet since the applet tag for html is
    <applet code = Video.class width =... height = ...>
    <param name = "buffer" value = "Camera1.jpg"> ...and I can only put
    </applet> one file for "value
    Thanks a lot for ur help!

    you may try the function getScaledInstance(int,int,int) in Class Image.
    the first and second parameters are the width and height you want,the third parameter is hints-flags to indicate the type of algorithm to use for image resampling.

  • Why can't I resize my wallpaper before I set it? It automatically zooms in close causing the image to lose quality, yet it won't let me zoom out before setting the wallpaper? Help me?

    If you can manage to help me, I will be forever in your debt, either email on
    [email protected]
    or
    [email protected]
    many thanks.
    Ollie.

    Have you tried editing the photo to lower resolution?
    You will get those email addresses spammed. Not a good idea to publish them, and unnecessary.

Maybe you are looking for

  • How to get the output of a subprocess

    Hi all, I am trying to create a process in which I need to use a gateway with a number of branches. Within each of these branches I need to call a subprocess (in which I have a user assignment) where the user fills in a form. Each of the branches are

  • How to keep all charts in single page?

    Hello, I'm using SQL Server 2012 Reporting Services. At this moments in one report I have created a lot of charts. Now it is need to show all the charts in single page. At this moment my idea is to create rectangle, put all the charts into it and set

  • How to get the long file name from an 8.3 name in Windows.

    Because of a legacy string limitation, I have a list of files in 8.3 format. The actual files are saved with long names. How can I get the long name from the short name? In JavaScript, I would get a file system object and get the file object from the

  • Is there any API to add and remove certs from acrobat trusted identities?

    Is there any API to add and remove certs from acrobat trusted identities? if this is not possible any work around for this. Please help me

  • Apache Tomcat as Win NT Service

    Can anyone help me get this setup? I read the manual and I think I got it installed as a service, and I can start it, but I have no idea what port it's running on, or if it's running at all. Can you help me?