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

Sarah Connor and a hybrid cyborg human must protect a young girl from a newly modified liquid Terminator from the future. Terminator Dark Fate Full Movie A team of friends return to Jumanji to rescue one of their own but discover that nothing is as they expect. The players need to brave parts unknown, from arid deserts to snowy mountains, in order to escape the world’s most dangerous game. Jumanji The Next Level Full Movie
Bond has left active service and is enjoying a tranquil life in Jamaica. His peace is short-lived when his old friend Felix Leiter from the CIA turns up asking for help. The mission to rescue a kidnapped scientist turns out to be far more treacherous than expected, leading Bond onto the trail of a mysterious villain armed with dangerous new technology. James Bond 25 No Time to Die Full Movie

Posted by Jumanji The Next Level Full Movie at

At this point you’ll find out what is important, it all gives a url to the appealing page:

Posted by click in here at

I came onto your blog while focusing just slightly submits. Nice strategy for next, I will be bookmarking at once seize your complete rises...

Posted by Click For More at

I read this article. I think You put a lot of effort to create this article. I appreciate your work.

Posted by kompanjonavtal at

Star Wars: The Rise of Skywalker (also known as Star Wars: Episode IX – The Rise of Skywalker) is an upcoming American epic space-opera film produced, co-written, and directed by J. J. Abrams. It will be the third installment of the Star Wars sequel trilogy—following The Force Awakens (2015)[a] and The Last Jedi (2017)—and the final episode of the nine-part ‘Skywalker saga’.The film is being produced by Lucasfilm and Bad Robot Productions, and will be distributed by Walt Disney Studios Motion Pictures. Its ensemble cast includes Daisy Ridley, Adam Driver, John Boyega, Oscar Isaac, Lupita Nyong’o, Domhnall Gleeson, Kelly Marie Tran, Richard E. Grant, Keri Russell, Mark Hamill, Anthony Daniels, Carrie Fisher,[c] Billy Dee Williams, and Ian McDiarmid. Watch Star Wars The Rise of Skywalker Full Movie
The Rise of Skywalker will see the Resistance face the First Order once more, and the end of the ancient conflict between the Jedi and the Sith.
Principal photography began in August 2018 at Pinewood Studios in England, and wrapped in February 2019. The film is scheduled to be released in the United States on December 20, 2019 .
AdvertSuite is the first and largest software of it’s kind to ensure you run FB ads that make you money right out the gate– it’s that simple. facebook ad spy tool Facebook, the worlds largest social network with the leading online traffic generation method, FB Ads

Posted by facebook ad spy tool at

Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. NFR Online

Posted by Zack Smith at

Your website is really cool and this is a great inspiring article. Venus Hair Restoration

Posted by Zack Smith at

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! Buy instagram likes UK

Posted by Oliviaseo at

Cool stuff you have and you keep overhaul every one of us bad credit instant approval personal loans online from mmPersonalLoans

Posted by AB at

In this case you will begin it is important, it again produces a web site a strong significant internet site: abogado de child support

Posted by Adilkhatri at

Great blog. I delighted in perusing your articles. This is really an awesome perused for me. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome! passeggino leggero inglesina

Posted by Adilkhatri at

Greetings! Very helpful advice within this post! It is the little changes that will make the most important changes. Thanks a lot for sharing!

Best Advanced Java Training In Bangalore Marathahalli

Advanced Java Courses In Bangalore Marathahalli

Advanced Java Training in Bangalore Marathahalli

Advanced Java Training Center In Bangalore

Advanced Java Institute In Marathahalli

Posted by Angularexpert at

Pretty! This has been a really wonderful post. Many thanks for providing this information.

selenium institutes in Marathahalli

selenium training in Bangalore

Selenium Courses in Bangalore

best selenium training institute in Bangalore

selenium training institute in Bangalore

Posted by Shilpa at

The worst part of it was that the software only worked intermittently and the data was not accurate. You obviously canot confront anyone about what you have discovered if the information is not right.

Posted by AbeSEO at

I truly appreciate basically perusing the majority of your weblogs. Just needed to advise you that you have individuals like me who value your work. Certainly an awesome post. Caps off to you! The data that you have given is exceptionally useful. maui helicopter tours

Posted by abqadir at

Friend, this web site might be fabolous, i just like it.

Posted by Agenzia seo Milano at

Exceptionally enlightening post ! There is a great deal of data here that can enable any business to begin with an effective interpersonal interaction campaign !

Posted by AbeSEO at

they offer free, fast no obligation quotes and are really friendly. guttering specialist

Posted by Merck SEO at

Posted by muhammad sajid at

This post is extremely easy to peruse and acknowledge without forgetting any subtle elements. Extraordinary work! bar

Posted by Merck SEO at is the number one and largest healthcare price comparison website in America. We are dedicated to improving the health of the people nationwide by making quality healthcare affordable and accessible to everyone. Through the gethealthydeals website you have millions of healthcare products and services from over 150,000 US businesses to choose from. Find Nearby Low and Free Clinics

Posted by Merck SEO at

Add your comment