image

I have extended jEditorPane to contain and display a bufferedimage from memory, but it does not paint properly. What am I doing wrong?

I have extended jEditorPane as shown below (minus the instantiation code). However, when I set the image and call update on the object, it only draws a small portion of the image (equivalent to where one line of text would go). Can somene tell me what I am doing wrong here? public class JEditorPaneImg extends JEditorPane { private Buff...

Is it safe to serve an image on the web without an extension?

I'm treating all *.jpg files as static, but I need to serve a few dynamically. Can I simply omit the extension so I don't have to get fancy with my url rules? Is it enough to just set the file type in the header? ...

About CAcroPDPage->DrawEx

I have a application, which call CAcroPDPage->DrawEx to write image to window, and then I get the image and save it to bitmap. but now I met a question: the screen only display portion of the image if the image is too big (such as 3344*2381 pixel), on this contion, I only get portion of the image. I appreciate someone could help me. Many...

Working with images

Is there some script (better if php), which can do some operations like? resizing reduce/increase lightness change contrast change quality Or some api's, which can help. Thanks. ...

Problem with the camera

Hi @ll I am currently developing an app which is using the UIImagePickerController for taking pictures with the build in camera. What I no want to do, is to provide the user a switch on bottom bar of the UIImagePickerController to be able to switch between the front and the rear camera (if available of course). I know how it's possible...

Why keep using CCSprite drawing will have a line in the middle?

The image that should be display: But actually, it shows like this: It seems some over lapping, what's happen? thank you. ...

Draggable UIImgeView Rotation

I have a UIImageView object that I rotate with frame property and CFAffineTransformMakeRotate and then I want ot move it with moving origin of its frame, but my image moves and reshape strangly. @implementation TimberView - (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event { // Retrieve the touch point CGPoint pt = [[to...

create an rgb image from a 3-D double array

Hi, i have a 672*472*3 size array of type double(r-g-b channels of an image). the values at each pixel position range from 0.000 to 5.0000. i need to show the data as an image on a picturebox. how can i do this in c#. ...

Facebook How to Format HTML Page so that Share picks up an image

Hello! When I use facebook.com/share.php?u=mysite.com, what must I do in my index.html document so that it gets an image as well? Setting Title and META Description will populate the title and the description of the link. I don't know how to do that to show an image. (index.html has Flash in it, no images). Thank you! ...

Is there any jquery plugin that does google images like smooth hover effect?

Is there any jquery plugin that does google images like smooth hover effect? Any plugin to look at? ...

How to store and display vector text+graphics images in Android without Flash?

What vector graphic formats can be used to display the in a view in an android application? As I understand, PDF is not an option at the moment, so what other options are there for storage and display of complex text+graphics? Unfortunately, I cannot use embedded browser with Flash because I need this app to work on Android versions bef...

Adding an image to my UIViewController

Hi, just a quick question here. How can I add an image to my UIViewController. Currently, my view controller has a couple labels and a couple buttons, but I have a file line.jpg that I'd like to add to this view controller as well. And I'd like to add it at a specific location (namely, at the center of the screen). How could I (meaning,...

HTML + CSS fancy box planning

Hi. I've got box in PSD (not PNG) which looks like this: I don't know how to crop it into box. I mean - it has to be class, because there'll be few types, with diffrent width (and of various heights of color bar too). With content it has to look like this: So - how much images it'll take? Sorry about this obscure brief - but I just...

What are the pros and cons of a sprite sheet compared to an image sequence?

Hi, I come from a 2D animation background and so when ever I us an animated sequence I prefer to use a sequence of images. To me this makes a lot of sense because you can easily export the image sequence from your compositing/editing software and easily define the aspect. I am new to game development and am curious about the use of a s...

How to implement a horizontal image gallery in blackberry, like a carousel or springboard in iPhone.

I would like to create a blackberry component which has the following capabilities: Horizontal scrolling of various image fields much like a carousel/springboard interface. Circular dots as indicators for the image that's focused on, located at the bottom. When user swipes or slides the images left or right, the next image that's in t...

Is it possible to have another layout in my main layout?

Is it possible to have another layout in my main layout? Such that i can set my imageview in another layout. ...

In iphone-exif how to see updated image metadata info?

I am new to iphone programming. using google code iphone-exif, i can read/write images tags also i can add custom image tags. But, my problem is that how can see the updated data??? OR is there any way to save image with updated data?? I have used .jpg image from net, is in other resources folder. Here my code (.m file) NSString *file...

Access images used in browser themes?

Is it possible for a website to call images that are used in browser themes or plugins? ...

Should I install Imagmagick over gd

I'm starting to work on a project that will require a lot of image manipulation. I remember getting the impression in the past that imagemagick was somehow better than GD. Since I have GD only, this will require me to install imagemagick, and I want to make sure it's worth the trouble. Can someone clarify if it's true that imagemagick ...

How to read image field from MSSQL with PHP

Hi Everyone, I am creating a web site that needs to synchronise an online MySQL database reading from the offline MSSQL server. All communication and reading all fields from MSSQL is working OK except that image field. I have been working with PHP and Mysql for some time and know how to insert/retrieve images to/from a MySQL database(us...