Easiest way to create a plain square for free?

Discussion in 'Design and Graphics' started by moonman239, Nov 19, 2014.

  1. moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #1
    I just want a square that is filled with a certain color. How do I make one easily? I have GIMP, iPhoto, and Preview, though I'll download another tool if it will help me.
     
  2. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #2
    A little more information please! What are you trying to do? I assume you need to make an image file of some kind - if so, what kind? Does it need to be vector or bitmap? Do you just want a solid colour?
     
  3. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #3
    ...of course, you can create one in a plain text if you like. Copy the following and save it with an "eps" extension:

    Code:
    %!PS-Adobe EPSF-3.0
    %%BoundingBox: 0 0 210 210
    
    
    %%draw a path 200 by 200pts
    newpath
    5 5 moveto
    0 200 rlineto
    200 0 rlineto
    0 -200 rlineto
    -200 0 rlineto
    closepath
    gsave
    
    %%fill the path with an RGB colour
    1 1 0.5 setrgbcolor
    fill
    grestore
    
    %%stroke the path with an RGB colour
    1 0 0 setrgbcolor
    4 setlinewidth
    stroke
    
    showpage
     
  4. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #4
    1. Find an image with a sample of the color
    2. Press Command-Control-Shift-4
    3. Draw a box around the color sample with the pointer and let go of the mouse
    4. That will copy that sample to the clipboard.
    5. Now launch Preview and select File > New from Clipboard.
    6. Now select Tools > Adjust Size and resize the image to your liking.
     
  5. citizenzen Suspended

    Joined:
    Mar 22, 2010
    #5
    Take a piece of letter-sized, colored paper.

    Position horizontally.

    Cut off 2.5" from either the right or left edge.

    That's close to free.
     
  6. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #6
    Since the OP mentioned software, it's painfully obvious they're looking for a computer-based solution, not paper.
     
  7. superscape macrumors 6502a

    superscape

    Joined:
    Feb 12, 2008
    Location:
    East Riding of Yorkshire, UK
    #7
    Ha hah! ;-) Of course, that would also work.

    For a digital image, just scan the square in...
     

Share This Page