|
In my MFC program,I want to display different size images in a list! I use CListCtrl and CImageList! But the CImageList only can load fixed images!
Started by frouds on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Maybe you can also take the biggest size and fit the smaller images into the bigger frames but I think it will be the same effort and be less efficient.
Another option (there is no built-in mode)...
|
|
I am using a Silverlight 3.0 Image control, setting it's Stretch property="Uniform". Unless I am mistaken, the expected behavior for Stretch="Uniform" is that it should scale the image, maintaining aspect ratio, letterboxing as needed. This works fine...
Started by PortageMonkey on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It does not constrain the size of the child vertically (though it does with no explicit size set is it says: ....
Children with an infinite Size in the vertical axis, effectively saying to the child: "you can be as tall as you like".
|
|
For example, would a 1x1 image load faster than a 2x2? The size would be smaller, but the browser would have to work twice as much, right?
So, is there an ideal size and shape (square vs rectangle) for background images?
I know it's probably not too important...
Started by Crossbrowser on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
An image with rich colors embedded will be heavy in size compared of a site using plenty....
Although the quality of the image will have a role in the download time.
I don't think there is an 'ideal' size for your image.
|
Ask your Facebook Friends
|
My web application allows users to upload images of items they are planning on selling. I'm trying to find a good compromise between having the images large enough and detailed enough for buyers to get an idea of the condition of the item and having the...
Started by Kevin Pang on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Sweating the details on size limits, do some math on how many images you'll have, what the averageSmall images could still be usable - If you're trying to prevent that, I would go for small Amazon s3 for storage of a large number....
|
|
For the task I'm trying to accomplish, I need to generate many images, all consisting of a black circle border on a transparent background, but each a different size (going up in size from 3x3 to, say, 20x20).
Preferably they would be GIFs or PNGs, as...
Started by jonathanconway on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Simply create a Bitmap of the correct size, create a Graphics object.
Your strategy sounds good.
|
|
I have a small script that I use to resize all of the images in a directory. I run this script in cygwin and it uses "convert" to do the image resizing. The images change their resolution just fine, but I am having problems with file sizes after the script...
Started by Buggabill on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Also there are tools like....
Another, more likely option here would probably be that you are resizing the images which original images use an optimized color palette, maybe just with a few colors and after resizing at the same time.
Happen.
|
|
Hi,
We have some code which produces an RTF document from a RTF template. It is basically doing string search and replaces of special tags within the RTF file. This is accessible via a web page.
Typically, the processing time for this is really quick....
Started by A_M on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Best bet to keep the file size down is to link the image to the document rather than insert a copy an option? Using zip/rar, you'll get your file size back, but you'll have to uncompress, first.
|
|
I am using ASP.net with VB.NET. Is there some Validator that i can use that will check the size of the uploaded image? Else what must i do in code to make sure that the user do not upload images more than 1MB?
Thanks in advanced
p.s C# code will also ...
Started by Etienne on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use the following code to determine the size [in KB] of the uploaded file and once you know the size you can easily decide if you want to proceed further with the file or reject the upload to validate the file size client ....
|
|
Hi,
I am actually placing screen shots into the MS word document. When i save the document am not sure of which format the image is being considered. The size of the Document is becoming very large. Is there any option in MS word to save the document ...
Started by Vinodtiru on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you want to reduce file-size, crop/compress the images....
All images saved in Word are stored at their original resolution, at their original size, regardless of any resizing/cropping that is performed in Word itself.
Question.
|
|
I would like to create a single System.Drawing.Icon programmatically from 32x32, 16x16 Bitmaps. Is this possible? If I load an icon with -
Icon myIcon = new Icon(@"C:\myIcon.ico");
...it can contain multiple images.
Started by Damien on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Multiple images in it, but when you load an .ico file and create an Icon object, only one of those images can't create a System.Drawing.Icon with multiple images, you have to pick one before you create images and save them....
|