Gimptalk - Premier Gimp Community: Reverse y-axis and pixel coordinates - Gimptalk - Premier Gimp Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Reverse y-axis and pixel coordinates

#1 User is offline   mnemy 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 27-March 12

Posted 28 March 2012 - 12:08 AM

Is there a way to change the origin of the y-axis from the top to the bottom, with the positive being on top and negative on bottom?

Also, I notice that exact pixel coordinates are split down the center of the actual pixel. When I hover the mouse over a pixel, it will only show the correct coordinate of that pixel in the top left quadrant of that pixel. The attached picture represents a single pixel at (0,0). If I put the mouse over the red quadrant, I correctly get (0,0). If I put it over the Blue quadrants, I get (1,0) and (0,1). The Green displays as (1,1). This is rather inconvenient for me, as I'm working on pixel art, so I always have to make sure to mouse over the top left 1/4th of the pixel that I'm trying to find the coordinate of.

Attached File(s)


This post has been edited by mnemy: 28 March 2012 - 12:09 AM

0

#2 User is offline   ofnuts 

  • Moderator GT
  • Group: Moderators
  • Posts: 1,302
  • Joined: 17-October 10
  • LocationLooking over your shoulder :)

Posted 28 March 2012 - 06:41 AM

 mnemy, on 28 March 2012 - 12:08 AM, said:

Is there a way to change the origin of the y-axis from the top to the bottom, with the positive being on top and negative on bottom?
None I know of, unfortunately

 mnemy, on 28 March 2012 - 12:08 AM, said:

Also, I notice that exact pixel coordinates are split down the center of the actual pixel. When I hover the mouse over a pixel, it will only show the correct coordinate of that pixel in the top left quadrant of that pixel. The attached picture represents a single pixel at (0,0). If I put the mouse over the red quadrant, I correctly get (0,0). If I put it over the Blue quadrants, I get (1,0) and (0,1). The Green displays as (1,1). This is rather inconvenient for me, as I'm working on pixel art, so I always have to make sure to mouse over the top left 1/4th of the pixel that I'm trying to find the coordinate of.
Although I think I understand why it works this way, that could be seen as a bug since one result is that on a 2px wide image you'll see pixels at coordinates 0, 1, and 2. You can report it on bugzilla.gnome.org.
010011110110011001101110011101010111010001110011
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic