With some tests i found that the size i was getting from my stream was actually good. So the problem was in fact in my .ASPX , it seems that when you send a file from a stream or a byte of array and you DONT specify the size you want to send , it's sending a file larger than the one in the...
Hum sorry i didnt paste the right "Save" override for my exemple
void Save(Stream stream, ImageFormat format)
{
scaledBitmap.Save(stream, format);
}
scaledBitmap is a private member in my ThumbManager class that i use to resize images.
My code use many classes so its hard for me to put every information you could want...
For the resize you may want to know what my Manager is doing... Here are the 2 main functions you may want to look at.
/// <param name="xSize">Largeur</param>
/// <param...
...= null;
MemoryStream stream = new MemoryStream()
imgDim = ImageManager.ResizeImageInMemory(imgBase, stream, 320);
size = (stream.ToArray().Length * 1.0) / 1024;
Here's the problem, the estimation with this is WRONG, it gives me for exemple 23ko for a 320x? image, but when i download it its...
The problem is just linked to the fact that IE wont ask me for a username/password <-- I mean with an application using Response.Redirect ;)
If i use only IE and try to reach a private ftp server i recieve the popup and everything is working fine
The problem is just linked to the fact that IE wont ask me for a username/password when i try to reach a private ftp server... But why ? hehe
That's the big question
Oh crap , seems like the ftp i linked to you was only accessible from our intranet (local network)
Well try that ftp://ftp.membres.lycos.fr
Its global and its not working when i try my application with IE, but i recieve the popup and its working with FireFox.
Maybe it's just an option to...
For your test ca8msm, you make me realize something... In our test, our ftp server is not a public ftp server, there's a pop that must ask you our username/login and then we can enter it...
In firefox, i see the popup and i can enter into the ftp... In IE, no popup, "The page cannot be...
Hi i am actually working in a big project in ASPX (c#) and i've got a very weird issue and maybe one of you will put me in the right direction because i've try almost everything before posting here =/
Here's my problem :
In the application the user can manager almost everything, they can add...
...(in my exemple, to a folder).
All of my users have their own personnal folder. They must have all permission on that folder.
I have to write e *.Vbs script file to give all the access to a user.
I also have to write another *.Vbs script file to remove those permissions for the same user...
Sorry for the mistake... Yes i mean mapping drive. Im french so sometimes it's hard for me to describe something in english like i can describe it in french ;)
Hi!
Im looking for a way to create a new partition with in a VBScript file. This one will be execute at user's log in...
For exemple, if the users login name is Mark88, i want to create a "temporary" disk partion U:\ that will give access to his personnal directory C:\Users\Mark88\...
Mmmm... i know that .Transparent work well for the 'Left-Bottom' part of a bitmap but sometimes (it depend of the picture) it doesnt work and my background stay 'Yellow' =/
I don't find this 'way' to do it very stable if during the execution of the application the Picture of the TImage control...
...The picture can change so the code must be in consequence (I cannot use the Basic 'Mask' In the 'form' in know). The simple boolean propriety *.Transparent of the TImage not always work so i want something more 'efficient' :P
Anyone who know a way to do it, please help me ! Any clue or html...
Hi !
I am doing some 'customize' cursors with the Image Editor (that come with delphi) and i all goes well but i can't do 'Color' cursors, the only colors that i can put is white and black... i can open .Cur with colors but when i past it in my NewCursor image it turn to white/black... Is there...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.