Pages: 1 2 [3] 4 5 6 ... 11   Go Down
Send this topic | Print
Author Topic: Imagine-ng -- the Javascript Photomanipulator  (Read 27051 times)
nomokokoa
Member
*
Offline Offline

Posts: 49


WWW
« Reply #40 on: July 16, 2007, 02:59:16 AM »

wow inportb this is amazing

it must have taken forevever to do all that scripting
Logged

antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #41 on: July 16, 2007, 02:59:51 AM »

Java doesn't really go well with web applications because of how slow it is (on load) and how you (as far as i know) can't have an html element directly above it.

Well, I meant a standalone Java app that starts using JavaWS. It would be cached and the whole interface would be done in Java. The website would then have a different purpose -- to advertise and do other things that websites are supposed to do, _not_ image manipulation wink
well, I'm sure that there are tons of those stuff
(ports "the gimp" into java/swing)
What about the imagine.php sources?

imagine.php accepts a file upload, and prints out all that other stuff; it's mostly static. It's a monolithic thing of hidden divs, which imagine.js turns into a user interface. It's imagine.server.php that people should be concerned with -- it does all the heavy lifting.
Well are you going to give out the sources for them?

wow inportb this is amazing

it must have taken forevever to do all that scripting
It's not that much...
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #42 on: July 16, 2007, 03:02:28 AM »

Indeed, this is what I'm trying to do, port the GIMP to Java/Swing. And I feel like fixing up what I have done so far and releasing it as a layout library. There are specific parts, like how you can put everything into one html file and display parts of it in various places, that I fancy might be useful to people.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #43 on: July 16, 2007, 03:16:24 AM »

Indeed, this is what I'm trying to do, port the GIMP to Java/Swing. And I feel like fixing up what I have done so far and releasing it as a layout library. There are specific parts, like how you can put everything into one html file and display parts of it in various places, that I fancy might be useful to people.
really? because i was sorta, um. joking.
« Last Edit: July 16, 2007, 03:20:29 AM by antimatter15 » Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
soren121
I eat lots of those
Advanced Authority Member
*****
Offline Offline

Posts: 1476


I shall stare you down with mah kitteh powahs!


WWW
« Reply #44 on: July 16, 2007, 09:39:44 AM »

Indeed, this is what I'm trying to do, port the GIMP to Java/Swing. And I feel like fixing up what I have done so far and releasing it as a layout library. There are specific parts, like how you can put everything into one html file and display parts of it in various places, that I fancy might be useful to people.

Hmm...nice work, inportb! Now I have a good online image editor, Picasa-style!  grin
Logged

LightBlog Developer -- Fueled by Linkin Park, Sprite, and LOLCats
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #45 on: July 16, 2007, 09:58:51 AM »

Indeed, this is what I'm trying to do, port the GIMP to Java/Swing. And I feel like fixing up what I have done so far and releasing it as a layout library. There are specific parts, like how you can put everything into one html file and display parts of it in various places, that I fancy might be useful to people.

Hmm...nice work, inportb! Now I have a good online image editor, Picasa-style!  grin
All it needs is a better ui
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #46 on: July 16, 2007, 11:06:24 AM »

really? because i was sorta, um. joking.

And so was I.

The GIMP is quite bloated. Just like Photoshop. So it would not do to duplicate them. What I want to do is build an image manipulation framework in which people can stick their own plugins. Now that would make the project a lot more fun.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #47 on: July 18, 2007, 08:26:08 AM »

really? because i was sorta, um. joking.

And so was I.

The GIMP is quite bloated. Just like Photoshop. So it would not do to duplicate them. What I want to do is build an image manipulation framework in which people can stick their own plugins. Now that would make the project a lot more fun.
That's how lot's of bloated applications start out. as something simple that supports extensions, then you add them to the code and it turns bloated.
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #48 on: July 18, 2007, 10:58:52 AM »

Sort of like Firefox? =p
I was thinking about embedding an ECMAScript engine into the project, to let people write Javascript plugins. But if you don't want all the beef, you can slim down with just the base system. If I see a good plugin, though, I might decide to include the functionality natively, but only if an advantage stands to be gained from the conversion to straight Java.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #49 on: July 18, 2007, 11:38:52 AM »

Sort of like Firefox? =p
I was thinking about embedding an ECMAScript engine into the project, to let people write Javascript plugins. But if you don't want all the beef, you can slim down with just the base system. If I see a good plugin, though, I might decide to include the functionality natively, but only if an advantage stands to be gained from the conversion to straight Java.
yeah, and doesn't jre 1.6 have a ecmascript executor natively?
I think it's called "rhino"
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #50 on: July 18, 2007, 12:06:57 PM »

Whoa, man. That is way cool. I didn't know Rhino came with JRE 1.6. I thought it was just a Mozilla thing. I'll be sure to pay more attention to Rhino. (btw, I think someone made an XHTML/CSS/SVG renderer in Java...)
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #51 on: July 18, 2007, 11:28:09 PM »

Whoa, man. That is way cool. I didn't know Rhino came with JRE 1.6. I thought it was just a Mozilla thing. I'll be sure to pay more attention to Rhino. (btw, I think someone made an XHTML/CSS/SVG renderer in Java...)
I'd be suprised if they didn't (about standards renderer).

i've never used rhino, 'cause I don't know how to use it smiley, and I suck at java too grin It took me an hour to make my first hello world app in java
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #52 on: July 18, 2007, 11:56:05 PM »

Maybe that's because Java's structure is so rigidly object oriented. Until now, I was stuck at the "hello world" stage =p And I thought C++ was object oriented... until I saw Java cheesy

But now I'm fine with it, and hopefully I can use it to do something useful. Flash is another interesting technology to use, and it should be easy for you because ActionScript is ECMAScript level 3. And with the new bytecode compiler/interpreter, it should be as fast as Java.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #53 on: July 19, 2007, 12:22:16 AM »

Maybe that's because Java's structure is so rigidly object oriented. Until now, I was stuck at the "hello world" stage =p And I thought C++ was object oriented... until I saw Java cheesy

But now I'm fine with it, and hopefully I can use it to do something useful. Flash is another interesting technology to use, and it should be easy for you because ActionScript is ECMAScript level 3. And with the new bytecode compiler/interpreter, it should be as fast as Java.
Flash isn't very good at memory management (have you ever noticed how your cpu spikes when you open a flash file?)

And no, it's just the syntax i'm not used to. .net/mono isn't any less object oriented than java. When I started java, i was pretty good at vb.net (syntax) and (I took a c++ class for summer school though, but mostly, i just slept during it) java was just completely different (syntax wise). I HAD TO COMPILE AT LEAST 20 TIMES JUST TO PUT THE SEMICOLONS IN THE RIGHT PLACE!
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #54 on: July 19, 2007, 01:40:20 AM »

That's true; Flash is not very resource-friendly; that's why you usually cannot put Flash apps on embedded devices but you can do it with Java.

For me, Java's syntax was just too strict. Then again, I think it keeps me organized this way. I just started using NetBeans a couple of days ago. It packs a neat interpreter that tells you even before you compile what's wrong with your code, and makes useful suggestions. Not that I rely on this; it's helped me get used to the Java style.

Hm, maybe I should post a link to what I have now =p (yes, it's in the other thread, but the other thread is not the official development thread, lol)

http://imagine.inportb.com/javaws/

All layers are blended in OVERLAY mode. And yes, you can save, but only in PNG format.
« Last Edit: July 19, 2007, 02:28:35 AM by inportb » Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #55 on: July 19, 2007, 02:19:11 AM »

That's true; Flash is not very resource-friendly; that's why you usually cannot put Flash apps on embedded devices but you can do it with Java.

For me, Java's syntax was just too strict. Then again, I think it keeps me organized this way. I just started using NetBeans a couple of days ago. It packs a neat interpreter that tells you even before you compile what's wrong with your code, and makes useful suggestions. Not that I rely on this; it's helped me get used to the Java style.

Hm, maybe I should post a link to what I have now =p (yes, it's in the other thread, but the other thread is not the official development thread, lol)

http://imagine.inportb.com/javaw/

All layers are blended in OVERLAY mode. And yes, you can save, but only in PNG format.
yeah sure... http://www.adobe.com/products/flashlite/

well, that's what the billions of code cleaning products are for grin

I've been using netbeans for about a year already (though i've only made around 5 java apps)

your link is flawed.
i figure it's imagine.inportb.com/javaws

and when I load it, it says it can't start.
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #56 on: July 19, 2007, 02:32:41 AM »


Good stuff. But it's still "lite" evil

I've been using netbeans for about a year already (though i've only made around 5 java apps)

Heh, I used to use Eclipse. I think I'm too much of a n00b to use it properly...

your link is flawed.
i figure it's imagine.inportb.com/javaws

and when I load it, it says it can't start.

Indeed, I typed wrong, and now it's fixed; thanks for pointing it out. However, it should work. I even cleared my Java cache and reloaded the app. Maybe I was updating it when you tried the link. Did it ever work before? Well, I updated it again and added some tabbed palette windows.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #57 on: July 19, 2007, 03:00:34 AM »


Good stuff. But it's still "lite" evil

I've been using netbeans for about a year already (though i've only made around 5 java apps)

Heh, I used to use Eclipse. I think I'm too much of a n00b to use it properly...

your link is flawed.
i figure it's imagine.inportb.com/javaws

and when I load it, it says it can't start.

Indeed, I typed wrong, and now it's fixed; thanks for pointing it out. However, it should work. I even cleared my Java cache and reloaded the app. Maybe I was updating it when you tried the link. Did it ever work before? Well, I updated it again and added some tabbed palette windows.
It works fine now. I have to say it's pretty nice. sorta weird (interface), but I like what i'm seeing. Soon it'll be just as bloated as gimp and photoshop afro

But i don't see much in desktop applications. I'm thinking on porting my animator to the desktop too. Maybe you can help me.
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15625


experimental theologian


WWW
« Reply #58 on: July 19, 2007, 03:37:18 AM »

I'm still struggling a bit with the interface. For one, the palette titlebars are way too thick... and I have no idea how to make them smaller. I might have to change to a different theme, which I also don't know how to do. I guess it's okay for now. I would also like to have an accordion control for the palette, but it looks like I would have to make one myself.

I'll try to help you, but as you can see, I'm quite a n00b at this myself =p
If you're going to do this in Java, it would be nice to get familiar with Swing, since it's everywhere. C++ has wxWidgets -- it's bloated, but is implemented on many platforms, hehe...
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
antimatter15
Loyal 110MB Member
*******
Offline Offline

Posts: 4075


WWW
« Reply #59 on: July 19, 2007, 04:32:44 AM »

I'm still struggling a bit with the interface. For one, the palette titlebars are way too thick... and I have no idea how to make them smaller. I might have to change to a different theme, which I also don't know how to do. I guess it's okay for now. I would also like to have an accordion control for the palette, but it looks like I would have to make one myself.

I'll try to help you, but as you can see, I'm quite a n00b at this myself =p
If you're going to do this in Java, it would be nice to get familiar with Swing, since it's everywhere. C++ has wxWidgets -- it's bloated, but is implemented on many platforms, hehe...
java-of course. why would I bother installing a kazillion distros of linux/etc to compile it.

Yeah, but you are still better than me. I wonder if rhino could access the interface (using a javascript accordian interface library)
Logged

Ajax Animator, a web-based, collaborative animation authoring environment with Flash, Silverlight, and GIF export.
Pages: 1 2 [3] 4 5 6 ... 11   Go Up
Send this topic | Print
Jump to: