I'm trying to make a CCMenuItem that has scaled images. For example, I tried:
CCSprite* normalSprite = [CCSprite spriteWithFile:@"button_play.png"];
CCSprite* selectedSprite = [CCSprite spriteWithFile:@"button_play.png"];
selectedSprite.scale = 1.2;
CCMenuItem menuItem = [CCMenuItemSprite
itemFromNormalSprite:nor...
I want to know if anyone can point me in the right direction for individually loading images (I think thats what is happening) in Flex 4.
I saw this site and I like the way each individual picture gets loaded when a new category is opened and thought it would be very useful in our next project.
...
Help, i need to make an app that has got some images and you need to resize them on the screen!! But how can i resize them with 2 finger dragging?
Help me please! Thanks
...
I have an in-memory Image, I need to get a Stream from it to write into an OpenXML document. Can someone please point me to the correct method.
...
I am creating a CMS which has a number of images which a user can upload and attach to various places in the pages.
I am trying to find a nice, preferably jquery based plugin or similar for scaling an image before allowing it to be cropped.
I have implemented jCrop http://deepliquid.com/content/Jcrop.html which is working great. Howeve...
Hi
Right now I am loading a large number of images when the application launches.
Is there an easy way to determine the maximum total size of images capable of being loaded on any given device?
...
Hi
Apples documentation recommends to use pngs when loading images. But if you have a large number, isn't it possible to conserve memory by using jpegs instead? Or are they internally converted back to png after load so it makes no difference?
...
Hi Guys,
I have a simple function which attempts to calculate height and width of an image using jQuery for a slideshow box. The problem I am seeing in IE7 is the really strange effects padding seem to have on width/height.
I have an image in Firefox and value returned is 450 x 324 [width / height] with CSS values of
border:0 none;
f...
I would like to be able to move images into and out of Flex by converting back and forth between ByteArrays. I've been having some trouble with this, so I designed a simple test program, and even that I can't get to work. Here's the code I'm trying right now:
protected function button3_clickHandler(event:MouseEvent):void
{
var loader:Lo...
While compiling the following code
{\centering {\includegraphics[scale=.5]{splash.eps}} \caption{Splash Screen} \par}
\end{figure}
Splash screen is an integral part and shows a tutorial of application.
\begin{figure}[ht]
{\centering {\includegraphics[scale=.5]{splashmore.eps}} \caption{Splash Screen 1} \par}
\end{figure}
The fi...
I will be writing a game and a friend will be doing all the graphics.
What is the best way to handle the graphics in the game?
We dont want to draw things, we will have all the images done before the time.
Which is the best way to have these images displayed?
I have read and looked at tutorials on opengl es and see that they are all...
I want to have an ImageView that is part of a listview row item, but that appears to both in and out of the row. is this possible? if so, how? many thanks in advance...
...
I'm looking for some public domain images to use for buttons, progress bars, and other common GUI components. I can't find any with Google and a Creative Commons search only returns screenshots of programs. Is there anything out there for those of us who want a purdy GUI but have zero graphic design skills?
...
I have several hundred images that I ended up saving as a large file format (png24) so I'd like to downsize them all. Is there a quick way to do this rather than manually opening each one in photoshop and saving as a png8?
Also, if I only have the png file and not the psd, can I still downsize the image from png24 to png8?
Thanks.
...
I have a website where the background has a light gradient (light gray from top to white on the bottom). When I place an image with a transparent background on the website, the background of the image picks the top color of the gradient. So instead of the image's background appearing to be a gradient as well and blending in with the site...
here my code-
$('.smenu li').mouseover( function(){
var src = $(this).find('a').attr('href');
$('.hbg').css('background-image', 'url(' + src + ')');
});
html code-
<div class="smenu">
<ul>
<li ><a href="images/hosp.jpg"><img src="images/menu_hosp.jpg" border="0"></a></li>
...
I am using gallery widget i want to change selected image.
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
if(lastSeen != null){
lastSeen.setImageResource(unselected image);
}
(ImageView(view)).setImageResource(selected image)
lastSeen = view;
}
When i run the...
I just added a new Wordpress thumbnail size using add_image_size call, but now all the photos I already uploaded are not of the correct size. If I request them, all I get is the original image with width and height attributes correctly set.
How can I force the creation of that thumb, saving the data to the database as well, given an att...
Would it make sense to improve pageload speed by serving smaller images from the database rather than make multiple HTTP requests given that the website is PHP driven?
I'm thinking of smaller page design elements, buttons, thumbnails for galleries etc.
...
Context
I am drawing to a canvas, this is updated regularly and it flashes.
Logically thinking I assumed this is because my redraw method clears the Canvas then draws one element at a time to the canvas. so my idea was to write to a Timage then set the picture to the Timage.
Information
here is my code
procedure Tmainwindow.Button3...