I am writing a application that needs to resize massive amounts of images... and these are my requirements
C/C++
Support jpeg/png at least
Fast
Cross-Platform
So far my options are
OpenCV
CImg
ImageMagick
GraphicsMagick (say their fast)
DevIL
GIL from Boost
CxImage
Imlib2 (say their fast)
Any others?
All of these would get the j...
Duplicate of:
Stretch and Scale CSS Background
How do I stretch a background image to cover the entire HTML element?
background image doesn’t stretch full page width
I've got a webpage background image, which needs to be displayed fully at 100% of the window's size. If the window is resized, the image needs to resize with it, to stay a...
Hi,
i would like to display images on my website that are stored on a visitors local filesystem.
Assuming I have the location of the image on the visitors drive (e.g. c:\Documents And Settings\Ropstah\image.png), is it then possible for me to display this image in my internet website (e.g. www.website.com)?
The images won't seem to l...
I am trying to display a thumbnail inside a listbox in a Windows Form application. I've read around and seen all sorts of suggestions, but I'm looking for the simplest one. Here's the details of what I'm trying to do.
I am trying to display a thumbnail of an image AND display text next to it.
I've looked at ListViews and they don...
Im trying to understand downscaling. I can see how interpolation algorithms such as bicubic and nearest neighbour can be used when when upscaling, to "fill in the blanks" between the old, known points (pixels, in case of images).
But downscaling? I cant see how any interpolation technique can be used there. There are no blanks to fill!
...
The 2 images have same color,pattern,etc. One image is cropped from the other one. The algorithms I've found mostly use location to compare difference between images, so it produces false result for cropped image. How to know those 2 images are similar?
Thanks
...
I need to write an anaglyph images program. Let say I have two mono-color images: red color one and cyan color one. How can I combines them into one to make an anaglyph image?
Please give me an advice.
Thank you.
P/s: I'm using C# program language.
...
What you recommend for storing images in:-
File System or
Database
This is conceptual question, I want to conclude, which approach is better in different projects.
Note: please justify which approach is better.
...
Hi
I need a quick advice. I'm looking for a couple of tools to do these tasks
take some images and combine them into a multipage pdf
take a pdf and output each page as a separate image
I can't find anything free on google, apart from suggestions like "open an openoffice doc, add each image on a page and print to a pdf file" ...
Any...
hello, am am trying to crop an image that is a jpeg image on the hard disk(imgOld) and save it at the same quality as the image it was cropped from
Image imgCropped = cropImage(imgOld, new Rectangle(iDiskCropX, iDiskCropY, iDiskCropWidth, iDiskCropHeight));
ImageCodecInfo codecJpeg = this.getEncoderInfo("image/jpeg");
...
Okay, this is a weird one to me. Here's the HTML element I'm working with:
A photo with a caption. Ideally, I'd like it to look like this, through pure CSS:
The width of the image's parent element needs to be dependent on the image's size.
I can change the markup all I need to. (The text isn't currently in its own div, but it can ...
I've got a handle to a BITMAP structure (HBITMAP) in a Windows Mobile application -- I'd like to save the bitmap as a PNG file, using the IImage interface if possible. (There's no BMP file in this situation, the BITMAP is only in memory).
It looks like I could use IImagingFactory's IImagingFactory::CreateImageEncoderToFile method to sav...
Does anyone have a nice solution for GalleryView when I want to display photos that are a mix of landscapes and portraits?
...
In cocos2d how would you detect a touch on an image? I'm having a lot of trouble with this so thanks in advance!
...
I'm suffering from an OutOfMemoryException when obtaining an Image from an ImageList I've been unable to find an appropriate solution to the problem.
I've got a Custom ListView control, which has attached to it an Event for the drawing of ListViewItems. This then calls a static method which is designed to draw the item.
For a ListView ...
Hi,
I need to create a file that embeds an image as text within some records. I'm having some trouble writing the images as text. What I'm doing is gathering the image as a byte array from a SQL database (image type) then I'm writing that image to a text file by going through each byte and writing that byte's ASCII equivalent to the f...
Duplicate of http://stackoverflow.com/questions/885696/how-do-i-perform-a-better-colorize-function
I am using this function in vb2005 to colorize a pixel, however when a user chooses a color >50 i begin to lose detail in the image, any idea how i can fix this?
Private badcolor As Color = Color.FromArgb(0, 0, 0, 0)
Public Function gra...
I have a major headache trying to get an image that is contained within a div to appear to float outside of its containing element.
While I'm pretty sure this just isn't possible, I want to be sure I've exhausted all avenues before telling designer and client that they're just not going to get it to look exactly as outlined in the desig...
public class test extends Activity {
ImageView imView;
ImageView imViewLine;
String imageUrl="http://www.web.com/app/";
String FileType = ".png";
int imageNum = 0;
Random r;
int count = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
...
byte[] imageData = null;
long byteSize = 0;
byteSize = _reader.GetBytes(_reader.GetOrdinal(sFieldName), 0, null, 0, 0);
imageData = new byte[byteSize];
long bytesread = 0;
int curpos = 0, chunkSize = 500;
while (bytesread < byteSize)
{
// chunkSize is an arbitrary application defined value
bytesread += _reader.GetBytes(_reader....