I am trying to have my GAE app identify the primary colors used in an image. Unfortunately, perhaps I'm misunderstanding it but the ImageService.histogram() function appears useless for this, since it is a histogram *per color channel* rather than across the color spectrum. Actually, I'm not really sure what that could be useful for :-/
Anyway, so I need to be able to access the individual pixel colors in a downloaded image, and then feed this into some kind of clustering mechanism to find the most important ones. Not easy, but doable. Then I discover, to my surprise, that the Image class appears to provide no means to query individual pixel colors, something akin to BufferedImage.getRGB(). Now I'm getting worried. So I go on a hunt for pure Java JPEG decoders (all of the images I need to do this to are JPEGs) and it seems that the last time anyone wrote a Java JPEG decoder was some time in the late Cretaceous era - and their websites either 404 or the code won't even nearly compile. Surely there must be a way to do this, can anyone help? Ian. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/9yfF7S43ALwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
