Animating background in Android ?
In Android, is it possible to have a background that is repeated on the background of a view? Is it possible to apply a translation animation to that background? ...
In Android, is it possible to have a background that is repeated on the background of a view? Is it possible to apply a translation animation to that background? ...
What are people using/doing to create photo filters or photoshop like effects on iPhone OS? Things like B&W, sepia, cross-processing, 'vintage' etc. I see ImageMagick can probably do this with a lot of futzing around, any other options? ...
I'll try to be as clear as possible, though this is all a bit muddled in my head. I have a PyQt application that has been working for about a year now. After updating to PyQt 4.5.1 (from 4.3.3) none of my icons appear in the QTableView anymore (this update was concurrent with an update to python 2.6.5 from 2.5.1). Reverting to the old...
Hey all, I have a bunch of sequentially named files in this format: imageXXX.jpg. So it would be like image001.jpg and onward. I just want to keep the number part of this, and get rid of the prepended 0's. So instead, that file would be named 1.jpg. How could I achieve this using BASH? Thanks! -Trey ...
How do I get one area in the middle of a image clickable (not the whole image)? Tried with a button set to invisible and clickable but the button does not work. What are the alternatives to an invisible / transparent button that works like a regular? I've also thought of a completely transparent and clickable PNG that should work but ma...
I have a Byte Array field being returned to me by the database, and in the view, I need to somehow output that as an image. How would I do that in Rails? Many thanks, M ...
In order to save precious bandwidth, the image serving app (a minor, but important part of the total app) tries to serve only thumbnails or reduced size previews of possibly large photos or illustrations. Storing the original image in the BlobStore is simple enough, and generating the thumbnails is also simple using the the Image servic...
Hi, I'm wondering how to go about marking up and coding hover effects for a map similar to this image. When each district (or section) is moused over/touched/clicked I need to change the colour of it without affecting any other section. The boundaries on each section must be representative of the image and shouldn't be squares. The sol...
Is it OK to return a 301 / 302 / 303 code when returning an image resource? I have done this in the past and it seems to work. Is it good practice and is it compatible with most browsers? ...
Hi - I would like to return an image as an ActionResult from an MVC2 controller. This image is a 1x1 white pixel (for a tracking application). I do not want to reference an image on the disk or in a database. I would like to generate the image in my method and then return it from the controller action. Any one know how to generate a ...
Hi there, My app is caching images perfectly but I'd like to add a border to the masked image. I'm currently using the following code : CGImageRef CopyImageAndAddAlphaChannel(CGImageRef sourceImage) { CGImageRef retVal = NULL; size_t width = CGImageGetWidth(sourceImage); size_t height = CGImageGetHeight(sourceImage); C...
Hi, I need a function for zooming very large images (5000 x 7000 pixel) in pyqt. I´ve tried out the functions from gwenview (Image viewer coded in C++ and Qt), but it`s too difficult for me to understand. Thanks! ...
code: $('.featured').hover( function() { $(this).addClass('active'); $('img',this).fadeTo('slow', 0.5, function() {}) }, function() { $(this).removeClass('active'); $('img',this).fadeTo('slow', 1, function() {}) }); how can I improve this? I recall someone telling me once not to us...
Hello, In my app I'm making a basic HTML help document. I wanted my app's logo in the HTML img tag itself, but I don't know how I'd reference to the logo which will be stored in assets. Is this possible, if so how? Thanks for the help! ...
Is there a way to tell, after the fact, whether an image (placed with the <img> tag, not via JS) has loaded correctly into a page? I have a gallery of head shots, and occasionally the third-party image server ends up serving up a 404. I can change the server-side code to use an onerror="showGenericHeadshot()", but I really want to avoid ...
My application uses thumbnails downloaded from the internet. The thumbnails are generated by the server, and one specifies in the request what size the thumbnails should be. Is there a way for me to know, programmatically, while inside a ListAdapter's getView(), the dimensions of an ImageView inside the View that is returned, so my thumb...
I'm trying to display a large (~> 1000x1000) image in a WebView. The image is in the assets folder. The problem is the image doesn't get loaded, instead I see the small blue square with a question mark (presumably meaning the image could not be loaded). I made a copy of the image and resized it to ~500x500. I'm loading both the origi...
Hello, I have a ImageView acting as a top banner on top of a webview. The image of this banner is created in execution time dependending on the resolution of the device. The height of the banner is always the same for each resolution. The only thing that changes is the width, which changes according to the orientation. But, since the wi...
Hi I am new to the image compression. I have an opengl program that generates a moving 3D object continuously in a loop. I want to capture images periodically, compress them for transmission at a high rate (~30-40 fps). What would be a good image compression algorithm to use? Appreciate any suggestions or pointers. Thanks in advance. ...
Hi, How can I know why imageIO.write was not able to write the image successfully? it returns false when I try to write a jpeg2000 image. I am using JDK6 and JRE6 that have JAI implicit. I really appreciate your helps. Thank you. ...