Hello World!
For an assignment at university we program in a pretty unknown language Modula 2, which lacks major graphic support.
I was wondering how to achieve a 'transparency' effect on images, i figured it would work like this:
Create a 2D array for the background area of the image filled with the colours of the different pixels in...
This is my drawInContext method:
UIImage *img = [UIImage imageWithContentsOfFile: [[NSBundle mainBundle] pathForResource:@"myImage" ofType:@"png"]];
CGRect cropRect = CGRectMake(0, 0, 175, 175);
CGImageRef imageRef = CGImageCreateWithImageInRect([img CGImage], cropRect);
CGRect imageRect;
imageRect.origin = CGPointMake(0, 0);
imageRec...
Is there a recommended location to store static resources (images, css, js, etc) in a DotNetNuke 5.x installation?
There are /images and /js folders as well as a /Resources folder that contains resources. There appears to be some overlap as MicrosoftAjax.js is in multiple locations (but might be different versions?). I also could put r...
I want to get something like the following:
The dark grey is the sidebar but I want to apply that color into the body element as an image which repeats itself vertically but at the same time doesn't cover the footer (light gray).
(this is the easiest way I found to stretch the color (dark gray) until the bottom.)
Part of my CSS:
bo...
I am working on application to keep a comic book collection in order. The user should be able to drag an image of the cover artwork into the program via an ImageWell.
Since it is not possible to drag the image out of the application again I don't need to save the picture in it's original size. An image at the size of the ImageWell would...
I have a problem. I have made some image files for a menu. They work fine in Firefox, but IE (8, haven't tested with others) and Chrome show a broken image.. Image, on top. Even though the images work. The page is here:
http://www.silkeborgmuseum.dk/udvikling/index.php
This is a very old page of mine but I need to make it work. I have ...
I have a class that runs a function when the image is clicked on to display an additional image. This function produces a linked div tag that reloads the page with a set of variables that then produces another image. The image is set as a background image on a large div tag behind the linked div tags to give the same effect as an image m...
Basically a friends just gifted me an old domain to develop, it has quite a few inbound links and its getting a lot of 404 hits.
The basis of the site is to let users hotlink images off it, to put in forum signatures / blog comments and whatnot. I was wondering if there was a way to redirect all these broken image links to a single imag...
So basically we have an background image (red) and we want it to repeat as the following with CSS:
So I don't want it to repeat to the upper and left side.
(sorry I suck at ASCII Art)
...
I have and image which gets stretched to its full background, regardless of the monitor size.
What i need to do is apply cross-browser blur above this image on only a portion of the left hand side.
So it gives the appearance of a blur on the image. If i apply it to the image then when the screen resolution changes size so does the si...
Hello all,
Could somebody help me a little bit with my issue below?
When I call the myFunction, images which I want to set to buttons appear after 2 sec simultaneously, not one by one with delay of 0.5 sec.
More info:
generatedNumbers is array with four elements of NSNumber (4,1,3,2)
buttons are set in UIView via IB and are tagged...
I need to create a UIToolbar object that uses an image for the background. Most of the buttons are images as well, and rectangular. One button, however, is round and overlaps the toolbar like the Start button on the Windows task bar. See below.
I know that I will need to subclass the UIToolbar to paint the image for the toolbar -- I thi...
When loading an image into memory, does .Net use DDB, DIB, or something else entirely? If possible, please cite your sources.
I'm wondering because we currently have a classic ASP application that is using a 3rd party component to load images that is occasionally creating a “Not enough storage is available to process this command.” erro...
i want to display images on android screen.and the images should be scrolled in vertical way.how should i do the coding?pls help me
...
I feel very silly asking this, since it seems like it just should work, but I cannot make it work and cannot find anything in the documentation about this.
The problem: I'm developing an application in Visual Studio 2010 that is utilizing ReportViewer, rendering the report locally. In the report designer, I place a textbox on top of an ...
Hi guys,
I am a newbee to django and jython. I need to create and save image thumbnails in database. I am using django running on jython and mysql database. I was exploring python imaging library, but the i found out that i wont work with jython.
How do i create image thumbnails using jython and then save them in mysql db?? Any kind of ...
I just want ask for your comments/suggestions on how to create a customized listview (if that's a good implementation) in WPF that displays images coming from a table from a database (more like a playlist) that rotates similar to a film (moving horizontally - on loop)
Any ideas?
...
Hi there, my name is Daniel and I'm from Spain.
I am developing a small program which cuts images by the color.
That's will be easiest to explain using an example image. I have got this image:
http://dl.dropbox.com/u/944667/Ejemplo1.png
And I want to create a new image just with the purple form, without the black frame.
Does anyone ...
I'm trying to get information about a PNG file but I've yet to discover a comprehensive site to help me.
These are some of the semi useful code snippets I have:
Bitmap bmp = new Bitmap(pngFileName);
BitmapData bd = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly,PixelFormat.Format48bppRgb);
and
Stream...
Hey actually i want to insert some sticky notes through my firefox plugin but when it comes to image pages ("http://digitalimages.bhaskar.com/dainikrajasthan//EpaperImages%5C12042010%5Cosd-large.jpg"). it contains a body element. but whenever i try to append any child than it does not insert it as html element. it escapes it first and th...