Scale your image on the client side. GWT/HTML has many options to work with
and I'm in love with that!
http://code.google.com/p/gwt-examples/wiki/gwt_hmtl5
Brandon Donnelson
http://gwt-examples.googlecode.com
http://c.gawkat.com
--
You received this message because you are subscribed to the Go
I'm going to try to get the job done with HTML5 for now, until the server
has the features to do the job.
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html?overview-summary.html
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#images
--
Y
I get the correct byte count reading it this way:
private byte[] getImageBytes(BlobData blobData) {
if (blobData == null) {
return null;
}
BlobKey blobKey = new BlobKey(blobData.getKey());
if (blobKey == null) {
return null;
}
long filesize
I think my problem is in reading the bytes into the array. Oh, if this is
it, I'm been barking up the wrong tree.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegro
I keep getting this error reading data from the blob.
[ERROR] createTiles(): Error: java.lang.IllegalArgumentException:
corruptJPEG
format
java.lang.IllegalArgumentException: corrupt JPEG format
atcom.google.appengine.api.images.ImageImpl.updateJpegDimensions(ImageImpl.java
:261)
Need an Image Service Api Roadmap to new features scheduled to be added.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, s
Need Exif methods.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@google
Need a testImageEncoding() to verify its a good image.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
goog
Here is what I'd shoot for having app engine do on the server side, just
like HTML5 could do on the client side.
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#images
--
You received this message because you are subscribed to the Google Groups
"Google App
This won't work either. I get the same funky colors. So far I think the
cropping does not work at all.
leftX = .05D;
topY = .05D;
rightX = .10D;
bottomY = .10D;
oldImage = ImagesServiceFactory.makeImageFromBlob(new
BlobKey(fd.getBlobData().getKey()));
Transform transform = ImagesServiceFa
This won't work:
I can't figure out yet why I getting funky colors while cropping an image
both on the dev and production side.
For the file uploaded:
Transform transform = ImagesServiceFactory.makeCrop(0, 0, .10, .10);
Image newImage = imagesService.applyTransform(transform, oldImage);
--
Yo
It appears I made have spoke to soon about loading the byte data in making
an image and using that to transform. I'm having a problem with cropping. It
crops but the image is funky colored.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Jav
Another note:
You can use any pure java readers on the market due to dependencies:
http://code.google.com/appengine/forum/java-forum.html?place=topic%2Fgoogle-appengine-java%2F61pBMzfv7QU%2Fdiscussion
--
You received this message because you are subscribed to the Google Groups
"Google App Engi
Issue created:
http://code.google.com/p/googleappengine/issues/detail?id=2990&q=image%20service&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java"
Another thing you can't do with the image api. So far, I can't make an image
from byte data and resize it. Dang!
Transform resize = ImagesServiceFactory.makeResize(resizeWidth.intValue(),
resizeHeight.intValue());
oldImage = ImagesServiceFactory.makeImage(oldImage.getImageData());
Image new
Tiling an image, (mapping it) is a challenge with a percentage, due to
precision, or my perceived precision of division of the image. I figured out
a work around I think using different math to divide it up to have a precise
division that so no overlapping occurs. But to my point, I believe usin
Another image service request:
ImageServiceFactory.makeCrop(..) - uses percentage parameters. I'd like a
exact pixel (px) parameters.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-app
One more note:
It would be nice to watermark my images with the api.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send
The image service has limitations. It won't allow to resize a width thats >
4000px. The image service is for light duty small images. The current
cameras on the market are producing very large images and scaling them is
trouble some. I have panoramic images, where the widths are gigantic and
th
19 matches
Mail list logo