This is a great sample, complete with full source.

http://msdn.microsoft.com/smartclient/codesamples/fotovision/

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
---
Principal Partner
OpenNETCF Consulting
www.OpenNETCF.com

RE: For those interested in picture viewing apps... by Romu

Romu
Thu Jun 17 02:39:03 CDT 2004

My own one can display full screen picture, and fotovision doesn't ;-)

http://www.codeppc.com/dotnet/ search Pex with all C# source code.

But I'm very interested in an efficient algorithm to rotate pictures, the available version uses managed GetPixel/SetPixel and this is awfully slow.

I've done a new version (not yet published) that uses the access to the internal bitmap structure which with a can create a in memory bitmap for rotation. That's quicker (more than 2 times faster) but it remains too slow (> 2mn to rotate a 1024*768 pixel picture).

That's why I'm waiting for the .Net CF2 (previously announced with picture rotation), but the tech preview doesn't contain what I'm waiting for.

Romu

"Chris Tacke, eMVP" wrote:

> This is a great sample, complete with full source.
>
> http://msdn.microsoft.com/smartclient/codesamples/fotovision/
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> ---
> Principal Partner
> OpenNETCF Consulting
> www.OpenNETCF.com
>
>
>
>
>

Re: For those interested in picture viewing apps... by Ralph

Ralph
Thu Jun 17 07:51:38 CDT 2004

Pex looks like a great app.

FotoVision Pocket is an app of a larger sample; desktop app that shares
photos on a website and exposing a web service that allows a Pocket PC app
to download and view photos offline. It can display photos using the full
client area (caption still visible), but it would have been nice to display
full screen like you mention.
--
ralph


"Romu" <Romu@discussions.microsoft.com> wrote in message
news:8F8C9D3F-7C93-4BA9-A605-7599F16B57A6@microsoft.com...
> My own one can display full screen picture, and fotovision doesn't ;-)
>
> http://www.codeppc.com/dotnet/ search Pex with all C# source code.



Re: For those interested in picture viewing apps... by Ralph

Ralph
Thu Jun 17 09:18:13 CDT 2004

FotoVision Pocket does not do any rotating or resizing on the Pocket PC
device for the exact reasons you mentioned. It would have been nice to
download one photo from the web service and then manipulate it on the
device. Instead, it tells the web service the size photo it wants to
download and if horizontal photos should be rotated or not, the web service
manipulates the photos and sends the bits down to the Pocket PC.
--
ralph


"Romu" <Romu@discussions.microsoft.com> wrote in message
news:55D4259D-2288-49C4-A257-0C98AA9DB049@microsoft.com...
> Thanks for Pex. You're absolutely right, Fotovision is quite more
ambitious than Pex.
> I'll take a look to verify how (if they do) they implement this sh....
rotation.
> And I agree, full screen would be nice.



Re: For those interested in picture viewing apps... by Romu

Romu
Thu Jun 17 10:16:01 CDT 2004

I've downloaded the software and verified what you say before your message. So, I'll continue to look at a way to efficiently rotate the images.

"Ralph Arvesen" wrote:

> FotoVision Pocket does not do any rotating or resizing on the Pocket PC
> device for the exact reasons you mentioned. It would have been nice to
> download one photo from the web service and then manipulate it on the
> device. Instead, it tells the web service the size photo it wants to
> download and if horizontal photos should be rotated or not, the web service
> manipulates the photos and sends the bits down to the Pocket PC.
> --
> ralph
>
>
> "Romu" <Romu@discussions.microsoft.com> wrote in message
> news:55D4259D-2288-49C4-A257-0C98AA9DB049@microsoft.com...
> > Thanks for Pex. You're absolutely right, Fotovision is quite more
> ambitious than Pex.
> > I'll take a look to verify how (if they do) they implement this sh....
> rotation.
> > And I agree, full screen would be nice.
>
>
>