Skip to content
No description, website, or topics provided.
Objective-C C Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE-pngpaste
Makefile
README.md
impbcopy.m
pbresize
pngpaste.h
pngpaste.m

README.md

README

This repository took code from

and collected them together so you can resize the image stored in your clipboard to half size.

THE PROBLEM

When you grab a screenshot from a Mac Retina, and try to paste it into an app like Outlook, it comes out twice as big as you'd expect. The pbresize will now resize the image in your clipboard so the paste will look normal.

INSTALL

git clone git@github.com:chongkim/pbresize.git
cd pbresize
make

then copy the three programs pbresize, impbcopy, and pbpaste someplace where your PATH is able to find them.

USAGE

On your mac, you copy an image into your clipboard (for example CMD-SHIFT-CTRL-4), then from your terminal you enter:

pbresize

Now when you paste the image into an app, the image is half size.

You can’t perform that action at this time.