Better HN
topnewbestaskshowjobs
Log inSign up

wiesmann

3 karma · joined Oct 21, 2025 (1y ago) · 4 submissions

Generic geek. https://wiesmann.codiferes.net/
Submissions

comment 1y ago · link · parent

The program existed six months ago. That said, currently it only allows to render old QuickDraw pictures on a modern Mac OS X. A tool going the other direction would be simple for bitmaps (just use PNG) or very complicated for vector data.

One thing I'm thinking about making a tool that uses old codecs to make compact images for 68K machines. Basically, use today's CPU power to make efficient road-pizza images.

comment 1y ago · link · parent

Thanks. The program is a "modern" Swift program, so no resource fork and no hidden DogCow.

comment 1y ago · link · parent

Most of the code is agnostic from the output format, QuickDraw commands are just sent to a graphical port abstraction (in theory, there is still some untangling to do). The current implementation uses mostly Core Graphics, Core Text and to a less extent the Video-Toolbox to do the actual rendering.

I would welcome anyone wanting to implement an SVG renderer, but I'm not interested in doing so myself. My goal is to have a tool that allows the average Mac OS user to open QuickDraw files and copy-paste them wherever they need them (yes, the UX could be improved). Why did I not choose SVG?

First, PDF is widely supported on Mac OS X (and other platforms), SVG can be rendered in web-browsers and Inkscape. If you want functional copy/paste or printing, you need to use Core Graphics.

Second, Core Graphics is an API, SVG is a data format. My code tries to delegate as much as possible to the backend. So, for instance, if a QuickTime payload uses the TIFF codec, the TIFF file is just sent to the back-end, you can't embed a TIFF file in SVG, any RGB or YUV data needs to be serialized back to PNG.

Yes, this could be solved by linking in K libraries and frameworks, but my goal was to hack-around with a small (for 2025), self-sustained application.

comment 1y ago · link · parent

There is an export button in the right side of the toolbar. (Square with arrow going out). This will let you export the image as a PDF. You can also drag the picture to another application (or the desktop).