Hi, I need to resize an image, but the image quality cannot be affected by this, the images will be from like 10x10 to 1000x1000, it will have some major congestions and some empty times it has to scale both up and down "potentially losing some image quality." is OK but it has to be at minimum, everything with raster graphics indeed NO libraries or other external binaries please
A:
What you need is for your images to be scalable. I'd recommend using an XML format to store your images, since XML is very scalable. For example:
<Image Width="640" Height="480">
<Pixel X="0" Y="0">
<Red>20</Red>
<Green>80</Green>
<Blue>0</Blue>
<Alpha>255</Alpha>
</Pixel>
<Pixel X="1" Y="0">
...
If you're worried about memory, I bet this will compress really well :-).
Robert Fraser
2010-04-21 22:08:23
Is...is this sarcasm? If so, brilliant! If not, maybe you need a thesaurus... :-)
NickAldwin
2010-04-21 22:23:05
excuse me sir..WHAT?
2010-04-22 16:30:16
Robert Fraser
2010-04-24 20:53:59
@NickAldwin - I don't joke around when it comes to XML.
Robert Fraser
2010-04-24 20:54:35