sprang / Inkpad

Vector illustration app for the iPad.
Mozilla Public License 2.0
2.64k stars 473 forks source link

Import EPS/AI PDF #49

Open studio67 opened 10 years ago

studio67 commented 10 years ago

I use inkpad as a professional designer on the road. I would love to see the next future functions.

Import and export EPS/AI PDF files Using bluetooth devices (pogo connect) Creating folders for fonts with activate/de activate button (so i can install lot of fonts) Using Pantone color swathes

Best regards,

Juan Josė.

ghost commented 10 years ago

I have recently started spending time with the code to become a possible collaborator in the future as this seems to me, the single greatest collection of working classes for fast editing of multiple photo types in the world - the fact that it's vector based makes scaling the fastest as well. The fact that this is open source just makes it a no brainer.

I would LOVE to find documentation or find a way to upload alternate SAMPLES for import other than the collection inherent now. While walking through the code, it seems to me that inkpad WILL allow for import of local svg or inkpad type files, but when new vector graphic files are loaded by myself, I get nothing but errors.

New documentation on how he created the sample files or how he suggests a vector image be created externally to the app for editing inside would be PHENOMENAL.

sprang commented 10 years ago

Samples are meant to be native files. They're just copied to the right place and not technically imported. You'll want to look at the way we bring in files via Dropbox. The relevant code is a bit spread out, but the entry point is:

-[WDBrowserController restClient:loadedFile:]

You'll need to add the appropriate extensions in ImportFormats.plist too.

ghost commented 10 years ago

I LOVE the plist file! I've referred to it a few times to better understand where the code came from in terms of image manipulation originally and tried to walk through various issues/resolutions here for other data types which are compatible, but came later in development.

What I've actually done was create a number of pure vector svg files in inkscape and placed them along side the inkpad files in the samples folder, because I saw that the number of native files you have there isn't hard coded and the samples.m file suggests that there is a svg and inkpad filter before any files are considered. I'm very familiar with the main BrowserController class, but it would be good then to walk myself through the WDBrowserController as well to see where the thought process was there. Thank you again.

ghost commented 10 years ago

Saturday and I didn't sleep yet from Friday; I mean the target WDCanvasController class for the edits, not the main BrowserController class...

Thank you for the rapid feedback on the weekend, this is obviously something you've poured yourself into for a long time and I need to really get closer to the code before I turn this conversation into the detritus of StackOverflow - is there anything I can use (development FAQS?) to familiarize myself with the project or the inspirations of the code? Do you have any recommendations on how to go about an entry point into the project? Any recommendations from a personal stand point on how to advance my skill-set a little in my second year? I'm working as an app developer for a small company here in Manhattan now and when I see projects like this... I'm in awe.