It’s just data

Open Source Duke

One of the fun things Sun did earlier this week was to open source Duke, the Java mascot.  But what was made available is files in somewhat bloated binary, and often product specific, formats.  For example, wave is available in the original Adobe Illustrator format at a whopping 93K, in the lossy jpg format at 7.4K, and in the png format at 122K.

This can be corrected with open source tools.  ImageMagick can convert either the jpg or png into a bitmap.  Potrace tools can then be used to first enhance the contrast and then to produce an SVG file.

In other cases, I have used this as a starting point, and reduced the images considerably further.  In this case, I’ve opted for some light editing (including adding in two ellipses for color) and the result is a file that just over 20% of the size of the jpg file.

convert Wave.jpg duke.bmp
cat duke.bmp | mkbitmap -x -f 8 | potrace -t 5 -s -O 10 -W 75pt > duke.svg

Er, why not just convert the Illustrator file to SVG? Or would that be too easy?

Posted by Wes Felter at

Or would that be too easy?

Perhaps for some values of easy.  I don’t have Adobe Illustrator installed.  I am running Ubuntu.  Care to walk me through the steps?

Posted by Sam Ruby at

Duke Open Sourced: now that is news. And a word to the wise (IBM)

Sam Ruby: Open Source Duke Sun drives some fun into the whole OSS equation. GPL/Apache - who cares? Duke is now an open source icon. literally. Its good to see Sam say something positive about Sun’s contributions this week. His...... [more]

Trackback from James Governor's MonkChips


Sam — IIRC from my time in the DTP salt mines, Adobe Illustrator’s file format is (in early versions) just a “special” Encapsulated Postscript file or (in later versions) a “special” PDF file.

Looking at in a text editor, though, it appears that they saved it in the “stripped” AI format (analogous to dynamically linked) as opposed to a complete EPS file, which would have embedded the requisite Postscript routines in the file to make it self--contained: i.e., it’s possible to save a file from Illustrator that can be completely accessed with free tools like Ghostscript, but this isn’t how this logo was saved.  Perhaps an email to the maintainers could remedy that.

Posted by d.w. at

Thanks Sam. In my travels I’ve somehow never run into potrace. I just grabbed the binary for OS X and took it for a spin. It’s really nice!

Posted by Jon Udell at

why not just convert the Illustrator file to SVG?

A reader (who is welcome to reveal himself or not) sent me this file, saved using Adobe Illustrator 10.0.3.  96,231 bytes.

Posted by Sam Ruby at

Is it just me or does that 96K SVG file also contain a hex blob of proprietary Adobe Illustrator data?

Posted by Joe at

Wow.  The world needs SVG Tidy.

Posted by Mark at

Is it just me or does that 96K SVG file also contain a hex blob of proprietary Adobe Illustrator data?

A different reader sent me this file, with the following explanation:

saved with the “Preserved Adobe Illustrator Editing Ability” unchecked

Posted by Sam Ruby at

Umh, no. I think that’s the older file.

The one I sent you is only 62K, and doesn’t have the hex-encoded gunk in it.

Posted by Jacques Distler at

In fact, that’s the older link.  Oops.

Here’s the correct link.

Posted by Sam Ruby at

Heh, so now Illustrator’s file format is a “special” SVG file.  One could probably make some sort of profound observation on the history of vector file formats (and trouser lengths, too) just by studying the Illustrator file format over the years.

Posted by d.w. at

Heh, so now Illustrator’s file format is a “special” SVG file.

Umh, no.

Illustrator’s native format is a variant of Encapsulated Postscript. But Illustrator can open and edit (with some losses, perhaps) a variety formats: EPS, PDF, SVG.

My workflow frequently involves producing EPS, PDF, SVG and GIF versions of the same figure. I often don’t even bother saving a “native” version.

Posted by Jacques Distler at

Sam Ruby: Open Source Duke


Excerpt from at

Truly great post. I just unearthed your blog and needed to state that I have truly delighted in perusing your blog entries. Any way I’ll be buying in to your nourish and I trust you post again soon. fashion

Posted by RankXone at

This post is greatly simple to scrutinize and recognize without overlooking any unobtrusive components. Remarkable work! earrings

Posted by RankXone at

I am planning for Camping, with my family. I want stay Package.

Posted by Pawna Lake camping at

I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read!! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. 그래프사이트

Posted by merckseo at

Fast this approach awesome websites will probably irrefutably you should be known amongst a large number of making a fabulous web page persons, as thorough content and articles combined with past customer testimonials.

Posted by företagsöverlåtelse at

The tomb path of events put in place by Thanos that damaged half of the world and also shattered the Avengers positions compels the rest Avengers to shoot you last standin  Marvel Studios' grand decision to twentytwo films,"Avengers: Endgame." Avengers Endgame Full Movie online

Peter Parker yields in Spider-Man: Far From Home, another phase of this Spider Man: Homecoming series!  Our friendly locality super-hero decides to combine his very best friends Need, MJ, and the others of the gang in a European holiday season.Spider Man Far From Home Full Movie online  But, Star Wars The Rise of Skywalker Full Movie Peter’s intend to leave superb heroics behind to get 2-3 weeks have been fast fought when he begrudgingly agrees to help Nick Fury discover the puzzle of several elemental monster strikes, and creating havoc throughout the continent! Watch James Bond 25 Full Movie online International spy and assassin Natasha Romanoff becomes the superhero Black Widow.Watch Black Widow Full Movie online

Watch Underwater Full Movie Online

Posted by Watch Black Widow Full Movie online at

It is quite beneficial, although think about the facts when it reaches this target. tempo traveller in chandigarh

Posted by seomaster at

The Grand National is a National Hunt horse race held annually at Aintree Racecourse, near Liverpool, England. First run in 1839, Grand National Live is a handicap steeplechase over an official distance of about 4 miles and 2½ furlongs, with horses jumping 30 fences over two laps.The Kentucky Derby is a horse race held annually in Louisville, Kentucky, United States, on the first Saturday in May, capping the two-week-long Kentucky Derby Live Festival. The competition is a Grade I stakes race for three-year-old Thoroughbreds at a distance of one and a quarter miles at Churchill Downs. PGA Championship Live
The Masters Tournament is one of the four major championships in professional golf. Scheduled for the first full week of April, the Masters is the first major of the year, and unlike the others, Masters Tournament Live
The United States Open Championship, commonly known as the U.S. Open, is the annual open national championship of golf in the United States. It is the third of the four major championships in golf, and is on the official schedule of both the PGA Tour and the European Tour. US Open Golf Live
The Indianapolis 500-Mile Race is the world’s oldest currently operational automobile race. Better known as the Indy 500 or the Indianapolis 500, it is held annually at the Indianapolis Motor Speedway in Speedway, Indiana, United States, an enclave suburb of Indianapolis, Indiana. Indianapolis 500 Live

Posted by Kentucky Derby Live at

If it comes to competition, the very first thing any company would like to know is if their rival is using some thing and just how well are they employing it..Spy on Competitors Facebook Ads
The exact same goes when you are running Facebook Advertising.
That you wish to understand your competition’s Facebook advertising strategy — but you are likely not seeing all of them on your newsfeed
.Best Text To Speech Software
In the end, learning by the FB advertisements of others makes it possible to produce lucrative advertising yourself!  <a href=" "> Spider Man Far From Home Full Movie online</a 
A huge number of your potential clients own Facebook pages. Even more, they join interest groups and follow popular brands; they write messages, comments and post photos. Apart from extracting emails from other websites, extract email from facebook Mailbiz is a powerful Facebook email scraper – you can extract emails from Facebook and turn them into leads using it.

Dolittle Full Movie Online

Bad Boys for Life Full Movie Online

Posted by extract email from facebook at

Gift Card Generator Provide unlimited gift card code.Our Generator tools can generate fresh tools for every hour.You can easily generate all gift card code easily. free Netflix gift card generator

Our Free Amazon gift card generator is an online tool that lets you generate free Amazon gift cards. Get free Amazon gift card codes without Survey, free Amazon gift card generator . Amazon gift card generator will help you to generate unlimited free amazon cards without any human Google Play gift card generator

It is amazing to see what people can believe. How can something which has a real world monetary value, free Roblox gift card generator can be free and legal ? Did you every sit and think about iTunes gift card generator Even if such generator exists because some miscreant insider get hold of a algorithm to generate these numbers, do you think it is okay to use such a generator ? It would be theft, if you are clueless about the judicial xbox gift card generator

Free Fortnite V bucks

Posted by free iTunes gift card generator at

I invite you to the page where  see how much we have in common.

Posted by Cellutone in woodlands at

I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. USPA nationwide security franchise

Posted by john woston at

In case you’re pouring a fresh slab then you may choose your aggregate combine to look for the particular final look of typically the flooring. Adding river stone, pebbles, and even pebble chips can created the stunning variety of distinction finishes. concrete

Posted by M_Areeb at

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. 123movies

Posted by IBM SEO at

I exploit solely premium quality products — you will observe these individuals on:

Posted by advokat stockholm at

Nice blog, I will keep visiting this blog very often. mobile kitchen showroom Glasgow

Posted by IBM SEO at

Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.

Posted by situs poker online at

Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! 부산고구려

Posted by merckseo at

These websites are really needed, you can learn a lot.

Posted by get now for safe online payday loans from UnitedFi at

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. 123movie

Posted by IBM SEO at

I am planning for Kundalika River Rafting, with my family. I want stay Package.

Posted by Kundaliika River Rafting at

This is very appealing, however , it is very important that will mouse click on the connection:

Posted by at

Thanks for the nice blog. It was very useful for me. I’m happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.

Posted by 123 movies at

Thanks for the nice blog. It was very useful for me. I’m happy I found this blog. Thank you for sharing with us,I too always learn something new from your post.

Posted by 123 movies at

I simply want to tell you that I am new to weblog and definitely liked this blog site. Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blog. <a href="">Love & Co</a>

Posted by umarkhatri at

This is very appealing, however , it is very important that will mouse click on the connection:

Posted by at

Welcome to Russian Hair Extensions Salon, your most reliable Hair Extensions London Specialist in delivering the most modern, innovative and celebrity hairstyle looks, creating custom-made hair extensions for each client. Our team of skilled, trained and experienced professionals will give you the hair extensions for all hair types and guarantees you a seamless finish as well as the industry’s best quality of hair care and boost your confidence to the next level.

Posted by Russian Hair Extensions at

I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. plumber sydney

Posted by RankXone at


Posted by SATTA KING at

This is very useful, although it will be important to help simply click that web page link:

Posted by Most popular websites at

cause of death is not announced and no reliable source is talking about it, we will update this as soon as we have more information to pass across. David Blacktop Death – Obituary: Cause of Death

Posted by Daramola at

Add your comment