Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3287292
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:28:36+00:00 2026-05-17T20:28:36+00:00

I need a very weird thing I admit. I hope you’ll be able to

  • 0

I need a very weird thing I admit. I hope you’ll be able to help me.

My current situation (all in one solution VS2010):

  • I have the Silverlight assembly with
    user-control (basically a drawing of
    kind)
  • I have a WCF service to
    provide the images (hosted in the
    website project)

I somehow need to:

  • when someone requests the RESTful service (above) for the image of a certain size
  • create, set-up and render that control to an image (I did it using the WriteableBitmap)
  • return the image to the service somehow <– THIS IS MY PROBLEM
  • provide that image as a response (I know how to do that)

I’ve tried to reference the Silverlight assembly (from non-Silverlight assembly) with helper class returning the image. But that’s just ugly.

  • Is there a way to host the WCF service that is inside Silverlight ?
  • If no, is there any other way to get the image from the Silverlight -> non-Silverlight service class

Thanks,
Kate

Note: The Silverlight control is a massive one, and used in three other projects (editor, viewer, windows phone 7 application) so I can’t really move it. Also Silverlight’s WPF-like drawing is far superior to non-Silverlight.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:28:37+00:00Added an answer on May 17, 2026 at 8:28 pm

    There are lots of ways to do this, and I’m not entirely clear on what you’re trying to accomplish, but something like this should work:

    (1) The WriteableBitmap.Pixels property should contain an RGBA version of the image in question.

    (2) Use FJCore to convert the RGBA bytes to JPEG format.

    (3) Submit the JPEG file (contained in a byte[] array) via a call to the web service.

    (4) On the web service, save the file in some appropriate location, where the other non-Silverlight applications can access it.

    Would that do something like what you need?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a very simple menu which probably contains only one or two items:
I need help working with very big numbers. According to Windows calc, the exponent
This is a weird one, y'all. - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
My website has a search procedure that runs very slowly. One thing that slows
I am stuck in a very weird situation. There is a two method defined
This is a really weird one and I'm wondering if I need to change
I need to do very similar thing to what is described in Injecting Entitymanager
I need very basic template engine, which is incapsulated in single class. So I
I need a very simple jQuery to constantly scroll a list of text items
I need a very fast SQLite database acces. Setting parameters this way: PRAGMA synchronize

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.