This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 54 - Pages: 4 [ Previous | 1 2 3 4 | Next ] - Last Post: 30-May-2012 15:32 Last Post By: sarahschoelzel
mrag

Posts: 392
Registered: 26-Jul-2003
Re: Filters like in Instagram
Posted: 11-May-2012 22:25   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
There might be something to be said for using Instagram and telling Zuckerberg about it. The publicity of a cease & desist order may be good and he might even learn about jAlbum and buy you out. He could do worse, I've used Instagram. It's the only app I've actually uninstalled so far ;-)

What I have seen elsewhere for modifications to a photo go something like this:
"Features" which opens to:
..Filters
....color change
....glow effect, etc
..Effects
....blur
....diffuse
Adjustments
....Sharpen
....Auto Fix (note BTW, this is everywhere now, a one click "photo fix") Sarah???

Features, mods, adjustments, I think any general word might do
RobM

Posts: 3,167
Registered: 4-Aug-2006
Re: Filters like in Instagram
Posted: 13-May-2012 02:50   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
How about calling the new filters jFli, as in Filters like Insta...?
mrag

Posts: 392
Registered: 26-Jul-2003
Re: Filters like in Instagram
Posted: 13-May-2012 08:30   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
j F l i ?
as in F i l t e r s ? How could I resist that opening ;-) Actually jFilters or so could work for me.

Brannin, BranninDark, EarlyBird, Generation, Hefe, Lofi, SoftDaydream and Vintage
Do these make some descriptive sense to everyone else because they leave me completely in the dark and I've used Instagram?
jGromit

Posts: 7,534
Registered: 31-Jan-2006
Re: Filters like in Instagram
Posted: 13-May-2012 13:31   in response to: mrag in response to: mrag
 
  Click to reply to this thread Reply
If you want to be thoroughly confused, Google Instagram filters, and you'll discover that there's a new set out there that don't line up with this set at all. There are new filters, all with equally mysterious names, and some of the ones in this jAlbum tool are now missing.

I think I'll be avoiding this can of worms. :)
mrag

Posts: 392
Registered: 26-Jul-2003
Re: Filters like in Instagram
Posted: 13-May-2012 21:19   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
If you are not into cans, then my vote for Sarah's work schedule in the image tools section goes to:
1) fix the crop function
2) add draw line/brush (preferably including a nice arrow)
3) balloon comment capability
4) 'one click' auto fix (apparently some algorithm for auto brightness & contrast & color)

I have one app that instead of 'Vintage' features 3D. It is kind of cool, but everybody has to have the old blue and red cardboard glasses to appreciate.
sarahschoelzel

Posts: 14
Registered: 2-Apr-2012
Re: Filters like in Instagram
Posted: 14-May-2012 14:43   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Attachment FIowerfilter.jar (269.8 KB)
Hey,
I renamed the filters. I just choose a theme for naming them.

New names of the filters:

Sunflower (before: Brannin)
Rainflower (before: BranninDark)
Lily (before: Lofi)
Pink (before: EarlyBird)
Tulip (before: Hefe)
Thistle (before: Vintage)
Snowdrop (before: SoftDaydream)
Daisy (before: Generation)
monkeyboy

Posts: 98
Registered: 21-Jun-2008
Re: Filters like in Instagram
Posted: 14-May-2012 15:44   in response to: sarahschoelzel in response to: sarahschoelzel
 
  Click to reply to this thread Reply
The import required now is:
import net.jalbum.filters.flower.*;

The filters still fail with EarlyOut's 'bears1.jpg' which he attached to this post.
Would it be possible (or even a good idea) to internally convert the buffered image to the required type before applying the filter rather than simply displaying an error message?

Edit:
I notice that the .jar filename is 'FIowerfilter' (that's an uppercase i rather than a lowercase l for the second character in the name).
davidekholm

Posts: 3,609
Registered: 18-Oct-2002
Re: Filters like in Instagram
Posted: 14-May-2012 17:33   in response to: monkeyboy in response to: monkeyboy
 
  Click to reply to this thread Reply
monkeyboy wrote:
The import required now is:
import net.jalbum.filters.flower.*;

The filters still fail with EarlyOut's 'bears1.jpg' which he attached to this post.
Would it be possible (or even a good idea) to internally convert the buffered image to the required type before applying the filter rather than simply displaying an error message?

Yes, I think that's a good idea, or if jAlbum does a proper color model unification. It is actually supposed to do that already, and I cannot produce the error you report with these filters. I wonder how to reproduce. I'm using that "bears1.jpg" image.
monkeyboy

Posts: 98
Registered: 21-Jun-2008
Re: Filters like in Instagram
Posted: 14-May-2012 20:44   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I'm using jAlbum 10.7, Windows 7 SP1 x64 and Java 1.6.0_32-b05 (bundled version).

Using the Minimal skin as a template, add a 'init.bsh' file with the following code:
import net.jalbum.filters.flower.*;
 
engine.addFilter(new Pink());

Add some images to the project (including 'bears1.jpg') and click 'Make album'.

That's all it takes on my machine to generate the following error (on the 'bears1.jpg' file):
An unexpected error occured. Please see detailed description below:
 
java.lang.IllegalStateException: Source and destination must store pixels as INT.
	at net.jalbum.filters.flower.BlendComposite$BlendingContext.compose(BlendComposite.java:194)
	at sun.java2d.loops.Blit$AnyBlit.Blit(Unknown Source)
	at sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source)
	at sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source)
	at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
	at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
	at sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source)
	at sun.java2d.SunGraphics2D.copyImage(Unknown Source)
	at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
	at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
	at net.jalbum.filters.flower.Pink.filter(Pink.java:36)
	at net.jalbum.filters.flower.Pink.filter(Pink.java:88)
	at se.datadosen.jalbum.AlbumBean.processFilters(AlbumBean.java:3210)
	at se.datadosen.jalbum.AlbumBean$StandardImageProcessor.processImage(AlbumBean.java:4462)
	at se.datadosen.jalbum.AlbumBean$StandardImageProcessor.processImages(AlbumBean.java:4359)
	at se.datadosen.jalbum.AlbumBean$ImageProcessingTask.call(AlbumBean.java:4298)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
davidekholm

Posts: 3,609
Registered: 18-Oct-2002
Re: Filters like in Instagram
Posted: 15-May-2012 11:56   in response to: monkeyboy in response to: monkeyboy
 
  Click to reply to this thread Reply
Odd, I cannot reproduce monkeyboy's problem on my Mac.
jGromit

Posts: 7,534
Registered: 31-Jan-2006
Re: Filters like in Instagram
Posted: 15-May-2012 12:19   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I get exactly the same error that monkeyboy gets. As before, however, there's no problem with some images (more recent ones, for example, from my own camera).
monkeyboy

Posts: 98
Registered: 21-Jun-2008
Re: Filters like in Instagram
Posted: 15-May-2012 12:36   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I've tried many images and the only one that produces the error is EarlyOut's 'bears1.jpg'.
jGromit

Posts: 7,534
Registered: 31-Jan-2006
Re: Filters like in Instagram
Posted: 15-May-2012 12:47   in response to: monkeyboy in response to: monkeyboy
 
  Click to reply to this thread Reply
Attachment HillmanMix.jpg (99.7 KB)
Attachment betty.jpg (80.9 KB)
Attachment CT Bear.jpg (31.0 KB)
Attachment brunel.jpg (166.7 KB)
I get the error with a wide array of images, from a variety of sources. A few more attached.
sarahschoelzel

Posts: 14
Registered: 2-Apr-2012
Re: Filters like in Instagram
Posted: 15-May-2012 14:36   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Ok. You got that error only on windows. I reproduced it there. I will try to fix that problem.
sarahschoelzel

Posts: 14
Registered: 2-Apr-2012
Re: Filters like in Instagram
Posted: 15-May-2012 15:06   in response to: sarahschoelzel in response to: sarahschoelzel
 
  Click to reply to this thread Reply
Attachment Flowerfilter.jar (272.4 KB)
I think it should now work with all your images.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums