Showing posts with label preview. Show all posts
Showing posts with label preview. Show all posts

Saturday, June 30, 2007

screen or window capture in mac osx

Here's one for the beginners to Mac OSX like myself. I was complaining in an earlier post that the Grab utility in Mac OSX should save to PNG format directly instead of me having to save a TIFF file and then convert the TIFF to PNG in Preview:
/2007/05/viewing-and-editing-html-source-code-in.html

Well, in my haste, I did not see that Preview has a plugin to Grab that allows you to Grab a screen or window capture directly to Preview:


Hence, there is no need for converting a TIFF, because the image is already in Preview and you simply save out to PNG format.

Ah well..I apologize to the Apple Developers. Even though, they still should build a standardized export interface on all image programs that come with the Mac. This interface should be able to export files to a multitude of standard uncompressed or web formats that the user can select.

I have now gotten off my high horse.

Sunday, May 06, 2007

viewing and editing HTML source code in Mac TextEdit

Its been a loooong time since I've edited HTML on a Mac and I heard BBEdit is a great program. Unfortunately, it's $150, so I think I'll stick with TextEdit on the Mac. Using TextEdit though has an initial first hurdle to avoid. The idiotic default of TextEdit is to open up HTML files as rich text. Displayed as rich text, you can't see the HTML code in the file! Why would I want to display rich text by default in a text editor? The logic escapes me. Maybe Apple's developers will amend this in the next version of the software, as well as another pet peeve of mine I mention below.

First though, in order to get around the silly "rich text" default setting, when you open your HTML file, select File -> Open and be sure to select "Ignore rich text commands" as below:


You'll then see all the HTML in your file. Note: be sure to save your HTML from Safari as Format -> Page Source instead of Format -> Web Archive. Web Archive won't open properly in TextEdit.

To set this permanently in TextEdit, go to Preferences -> Open and Save -> select "Ignore rich commands in HTML files" as below:


While I'm ranting, another pet peeve of mine is Grab's inability to save to a browser-readable image format like JPEG or PNG. To capture images from a Mac for this blog, I'm forced to use Grab to save a screen capture of a window to a TIFF file and then open up Preview to convert the TIFF to PNG. This is stupid.

6/30/2007 Update: Ok. My apologies Apple Developers. I'm stupid. I did not see this feature in Preview:
/2007/06/screen-or-window-capture-in-mac-osx.html

Done ranting.
Feel free to drop me a line or ask me a question.