Hi,
I m developing flex application, in which I want to Draw Image from User local hard-drive to the canvas of size 640x360.
User can choose Image of bigger resolution & is scaled to Canvas size.
But if user selected images of larger resolution like 3000x2000, the scaling take lot time & freezes the application until scale done.
Is t...
Hi,
I'm trying to draw an image in an ImageView, but i want it to be unscaled, with scrollbars as necessary. How can I accomplish this? Right now I just have a drawable set as the android:src of the ImageView in the XML. This autoscales the image to fit the screen width.
I read that this might be because of the compatibility mode (deve...
Here's a link to a tiny VB.Net 2008 sample:
http://www.4shared.com/file/255391716/26c45c1e/UserControlTest.html
And, a C# sample:
http://www.4shared.com/file/255392906/27f4efbb/UserControlTestCHash.html
Apologies but its a free hoster, so you have to wait 10 seconds.
First here's the steps to replicate, then I'll explain what the p...
Hi there
what would you use if you had to have a div box on your website that would have to be updated constantly with new HTML content from the server.
simple polling is probably not very resource inefficient - imagine also having 10'000 users and the div has to update.
what is the most efficient or elegant solution for such a proble...
I am creating a video player on android and am having trouble resizing the video. I am trying to make it so that when i click the video it goes to full screen covering everything and if i click again it goes back to the smaller size with other buttons on the screen. I have seen another similar problem and an answer from haseman (http://s...
Basically my problem is that i've adapted a piece of code found here
http://social.msdn.microsoft.com/Forums/en-US/vemapcontroldev/thread/62e70670-f306-4bb7-8684-549979af91c1
which does exactly what I want it to do, that is scale some pushpin images according to the map's zoom level. The only problem is that I've adapted this code to...
Hello,
I'm trying to perform a daily operation on a larger than normal dataset (2m+ records). However, Rails seems to take a very long time performing operations on such a dataset. Operations like
Dataset.all.each do |data|
...
end
take a very long time to complete (I assume this is because it can't fit all the items into memory a...
Hi all,
As far as I have read, scaling a big image to draw it on the iPhone is very slow [1]. I really need to do it fast and I wonder why zoom goes so fast on the iPhone while code scaling is so slow. Any idea? By the way, any fast way to do scaling?
[1] For instance: http://stackoverflow.com/questions/1282830/uiimagepickercontroller-...
Hi,
I'm currently creating a website for a social project in switzerland.
And before there is an overflow of user, I want to prepare the application to scale.
I answered by myself many questions but some are left.
I explain what I want to do.
First
at the beginnning, the Application will have only one server (short time) with DNS...
Hello people,
I'm getting crazy with a small problem here,
I keep getting an error and I cant seem to figure out why,
the code is supposed to change the range of a list,
so if we give it a list with values (1 2 3 4) and we want to change the range in 11 to fourteen the result would be (11 12 13 14)
the problem is that the last functio...
i am using this simile timeline with large amounts of data and i keep getting firefox popping up saying "a script has appeared to no longer be running, do you want to kill it"? is there a limit to the amount of json you can send back to it. I have about 1000 different timeline points with dates, descriptions, etc.
...
I have an image (i) that's been scaled from its original size (rectLarge) to fit a smaller rectangle (rectSmall). Given a point p in rectSmall, how can I translate this to a point in rectLarge.
To make this concrete, suppose I have a 20x20 image that's been scaled to a 10x10 rect. The point (1, 1) in the smaller rect should be scaled ...
Hi,
I am designing a jpeg to bmp decoder which scales the image. I have been supplied with the source code for the decoder so my actual work is to design a scaler . I do not know where to begin. I have scouted the internet for the various scaling algorithms but am not sure where to introduce the scaling. So should I do the the scaling a...
Hello.
I need fast implementation of popular interpolation algorithms. I figured it out that C# in such simple algorithms will be much slower than C++ so i think of writing some native code and using it in my C# GUI.
First of all i run some tests and few operations on 1024x1024x3 matrix took 32ms in C# and 4ms in C++ and that's what i ...
Hi.
I experienced a Problem in Visual Studio 2010 and i dont know if its a bug or i just did somehting wrong.
I have 6 Images(Icons) that all have the same size (50x60px), are of same type(png), made with same program(gimp), saved with same options.
I want to use these icons as backgrounds for buttons. But the Images are scaled differe...
I want to increase the throughput of a script which does net I/O (a scraper). Instead of making it multithreaded in ruby (I use the default 1.9.1 interpreter), I want to launch multiple processes. So, is there a system for doing this to where I can track when one finishes to re-launch it again so that I have X number running at any time....
How do I know when a project is just to big for MySQL and I should use something with a better reputation for scalability?
Is there a max database size for MySQL before degradation of performance occurs? What factors contribute to MySQL not being a viable option compared to a commercial DBMS like Oracle or SQL Server?
...
I recently took over a file hosting site (similar to rapidshare, megaupload etc.) and currently averaging about 75k visitors/day. After the migration, we wrote our own system from scratch. It's now time to upgrade the infrastructure and have been toying around with web servers and scaling. Now the issue is that after file upload is compl...
To get image thumbnails on BlackBerry I use EncodedImage.scaleImage32(). It works Ok, but when I open native image viewer (from the Camera app) I see the difference in quality - native viewer thumbnails look nice (smooth, anti-aliased), while mine are a bit ugly. Looks like native viewer resizes images using some filter (bicubic or smth ...
The attached simple Java code should load all available cpu core when starting it with the right parameters. So for instance, you start it with
java VMTest 8 int 0
and it will start 8 threads that do nothing else than looping and adding 2 to an integer. Something that runs in registers and not even allocates new memory.
The prob...