A user will be able to upload an image. If the image is greater than a set size I want to downsize it to that size. Obviously it doesn't have to match exactly due to ratios, the width would be the key size so the height would be variable.
If the image is smaller than the set size I would like to create a new image to the set size with ...
Can anyone suggest a good control that can be used to display images (png's most likely and it will always be one type that I can dictate). The images would be available server side only so I don't have to worry about clients uploading anything. Just displaying images on a server.
The control needs to have the following functionality...
I have loaded a jpg image in which I want to draw letters and circles, given a x,y coordinate.
I have been trying to figure out the paintIcon of the ImageIcon class
public void paintIcon(Component c,
Graphics g,
int x,
int y)
Does this method allow me to edit jpg ima...
I'm attempting to plot a particular line over an original image (an array) that i have. Basically, I have an angle and offset (measured from the center of the image) that I want to plot the line over. The problem is, I'm not exactly sure how to do this. I can write a really complicated piece of code to do this, but I'm wondering if there...
Possible Duplicates:
Which is more secure: filesystem or database?
User images - database vs. filesystem storage
store image in database or in a system file ?
I can't decide which one I should follow. Can you guys give some opinions? Should I store my images in the file-system or DB? (I would like to prevent others from stea...
hi
i am using .ashx to retrive image and i place the the image inside the ajax update panel it retrive the image when a new image is added to the form but when we change the image it is not updating the image it dont even call the .ashx file but when i refresh the browser it works properly
...
I have a container with a lot of small images.
<div id="container">
<img src="1.jpg" />
<img src="2.jpg" />
<img src="3.jpg" />
...
<img src="100.jpg" />
</div>
I set opacity to 0. (not hidding)
Then I want to show(fadeIn) random image after half second. for example 5th, 1st, 55th ...
Any suggestions, thanx a lot
...
I'm creating barcodes on the fly, and embedding them in web pages. What format should I use? I'm wavering between JPG and PNG, and I don't really understand the advantages of both. Size matters in this, as does readability (better a clear barcode than a blurry one). Is there another format that would be better yet?
...
I want to convert tif to an image type that is viewable in a web page.
The tifs are black and white so jpg does not work well at all and end up even larger.
Here are some tests I have made so far using C# and Image.Save to do the conversion:
Orignal tif is 7KB (bit depth: 1).
Converted to:
JPG: 101KB (bit depth: 24)
BMP: 256KB (bit...
HI
i need all types of images resize script in php
...
silverlight uses wcf with basicHttpBinding
i send the image as an byte[], and it's working as long as the image has less than 20KB
but when it's bigger i get the error:
The remote server returned an error: NotFound
in the Reference.cs
public bool EndSave(System.IAsyncResult re...
Hi Guys,
I am trying to make a text editor in Flex.
i can move image on mouse click.
Problem is it moves with the key up or down handler. But it moves out of text area after the last line in textarea. And it also doesn't move with scroll.
Pls give suggestions for these problems.
Thanks.
Regards,
Shivang
...
Can someone please tell me how to get a full screen image preview view when someone taps on an image view of a nib... like the one in appstore application screenshots....
it will be a real help...
Thanks in advance
...
Given the following link to an image:
<a href="path/to/img.jpg">Title</a>
What is the most semantically sound method for indicating the location of a thumbnail?
The best I could come up with so far is using data- attributes like so:
<a href="path/to/img.jpg" data-thumb="path/to/thumb.jpg">Title</a>
However, it doesn't seem very se...
Hi everyone,
I'm trying to upload multiple images onto a panel but I don't just know how to do this. I can upload a single image but not more than one at a time. Actually I need this knowledge to make a simple card game I recently designed look more real.
Can anyone help me out.
...
Hello All,
I am resizing images with C#/GDI+ using the following routing
bmpOut = new Bitmap(lnNewWidth, lnNewHeight);
Graphics g = Graphics.FromImage(bmpOut);
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBilinear;
g.FillRectangle(Brushes.White, 0, 0, lnNewWidth, lnNewHeigh...
I need to process large images (20,000x20,000pixels) in C#. Opening these images directly isn't the way to go because of memory limitations, but what I want to do is split the image into smaller pieces (cropping). I was looking for a 3rd party library that could the trick, but so far no result. I tried FreeImage and ImageMagick, but they...
If too many images are being loaded from the server at once (or over a period of time) will it slow down the website for users?
What about saving images to the server?
Would a website that puts a lot of stress on the server makes the website more vulnerable to DOS attacks?
If our website needs to save and load mass amount of images, i...
Hi,
If I have a site (e.g. foo.com) and on the home page of foo.com, there is a image request where the src=bar.com..., will the cookies on the bar.com domain be sent to the bar.com servers?
Thanks!
...
Hi,
This might not seem to be strictly programming related question, but i am looking for this for sometime now without any success hence asked here.
Is there any image processing tool to convert *.svg files(Scalable vector graphics) files to any other common/widely used image format such as jpeg/gif/bmp etc..
I have a svg file which ...