How do you save a transformed image?

Windows Store App 8.1.
I have an image that the user has rotated, scaled and clipped etc.  How do you save the transformed image?
There are solutions of the forums but these use the System.Media.Imaging library that isn't available, classes like the TransformedBitmap etc. are not available. 
I'm playing around with this approach but the decoder throws a "The image format is unknown"; 
imageManipulation is UIElement.Image.
Any ideas on how to achieve the saving of a Transformed image in a 4.5.1 8.1 store app?
RenderTargetBitmap rtb = new RenderTargetBitmap();
await rtb.RenderAsync(imageManipulation, (int)imageManipulation.ActualWidth, (int)imageManipulation.ActualHeight);
IBuffer buffer = await rtb.GetPixelsAsync();
using (InMemoryRandomAccessStream ras = new InMemoryRandomAccessStream())
await ras.WriteAsync(buffer);
await ras.FlushAsync();
BitmapDecoder dec = await BitmapDecoder.CreateAsync(BitmapDecoder.BmpDecoderId, ras);
Rob

Hi,
You can use BitmapEncoder to apply transforms such as scaling and cropping, set metadata and properties, and edit pixels while preserving any unedited
data. After transform the data, you can copy the contents from the in-memory stream to the original file’s stream and close all of the streams. That make you can save the encoded image to the file:
memStream.Seek(0);
fileStream.Seek(0);
fileStream.Size = 0;
await RandomAccessStream.CopyAsync(memStream, fileStream);
fileStream.Dispose();
memStream.Dispose();
You can see the link to get more information:
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj709937.aspx
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

Similar Messages

  • How do you SAVE a scanned image from my printer?

    I have an HP Deskjet 3510 Printer.  How do I save a scanned image from my printer to a folder?  This is my first MAC.

    It's automatically saved,  if you use the Image Capture application already pre-loaded on your computer you specify the folder, file name, and type of file (jpg, pdf, etc...) right there. You didn't say what scanning app you use but I'm sure it is very similar.
    BTW because this is your first Mac I'd suggest book marking and using the Intel-based iMac Support link.

  • How do you save an image from messaging

    How do you save an image sent with messaging In ios7 on my iphone?  I can't find the option and it does not automatically do this.

    Press on the image to bring it up full-screen and then press the export button in the bottom left and then choose where to send it or save it.

  • How can you save keynote slides as high resolution (300 dpi) images?

    Apparently there is a way to save powerpoint slides as 300 dpi images, with some finagling, but not the mac version.  Does anyone know how to do this in keynote?  Or is there a relativley easy way to do it with free/cheap software?  I can increase the dpi in photoshop, but it doesn't produce crisp images for obvious reasons.

    how can you save keynote slides as high resolution (300 dpi)
    to save individual images from each slide in Keynote;     file > export > images > TIFF (for optimum quality)
    You are using the wrong terminology to describe creating an image file
    - dpi ( meaning dots per inch )  is the measurement used in printing to create the number of print dots per inch that will be deposited on to physical media like paper or film   This is done in the printer settings box of the print driver and is dependant on how the individual printer can print..
    ppi ( meaning pixels per inch ) is the measurement you need to use when creating the number of pixels in a digital image file. You establish image resolution in Keynote using the inspector;     
    Keynote > inspector > document > slide size
    I can increase the dpi in photoshop, but it doesn't produce crisp images for obvious reasons.
    You can resample images in editing applications such as Photoshop or Painter but what you are doing is adding non image information to the image to increase pixel count, this is called noise. As you state this is not the procedure to use in your situation.

  • I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    Hi,
    This feature is not available in Adobe Edge animate. You can not export as image from Edge animate.
    Publish options available in edge describe here
    Edge Animate Help | Publish your content
    Regards,
    Devendra

  • How do you create a disk image using Disk Copy?

    Hello,
    Is there any way you can create a disk image using Disc Copy? Is there a better way to create a Disk Image?
    I would like to burn two copies of a 4.2 gig folder on my mac. I usually insert a blank DVD-R and then the mac asks if I would like to prepare it at which point I click "yes". An icon of a DVD disk appears on the desktop and then I drag my files onto this icon. It takes a few moments to create the disc image and then I click "burn". However, after the disc is burned the disc image disappears and I have to start all over again if I want to make another copy.
    How can I save this disc image? If I could save the disc image, it would enable me to burn a second DVD right after the first without having to create the disk image all over again. This would save a lot if time.
    I am using OS 10.1.5
    Thank you for any suggestions

    Thanks Niel for the info about creating a Disk Image with the Disk Copy utility in OS 10.1.5
    That worked however when I insert a blank DVD-R, the disk image still has to be copied to the DVD-R buffer and then it can be burned. And so this doesn't really save any steps - the "copying into the buffer" step still has to occur whether or not you have created a disk image of your files. So creating a disk image doesn't really shorten the process of burning multiple copies of a DVD.
    I will try to describe the steps more clearly:
    Two of the three steps for creating a DVD (steps 2 and 3) are very time-consuming:
    1. put blank DVD into the drive (a DVD disk icon quickly appears)
    2. drag files onto this icon (this step takes a long time as the files are copied into the buffer)
    3. choose "burn" (the actual burning also takes a long time)
    I was hoping that when I create two or more DVDs of the same files, I could first create a Disk image so that when I create the second DVD, step 2 could be skipped. That does not seem to be the case - the disk image still has to be re-loaded. And so I think I will not bother with the Disk image idea - it doesn't seem to be necessary or helpful when burning DVDs to backup data.
    Thanks for your suggestion.

  • How can you get a mirror image of a photo on iPhoto?

    How can you get a mirror image of a photo on iPhoto?

    By using an external editor. Preview is already on your Mac. It's called 'Flip Horizontal'
    In order of price here are some other suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate or the App Store.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • How do I save an HDR image from Nik silver FX to a jpg in photoshop?

    How do I save an HDR image from silver FX to a jpg in photoshop. when I go to file - save as then option of a jpg does not come up?

    Since the hdr image is probably 32 bits/Channel, you would need to go to Image>Mode and choose either 16 or 8 bits/channel.
    Then in the HDR Toning dialog use the Exposure and Gamma Method with the Exposure set to Zero and Gamma set to One.
    Then you should be able to save out your image as a jpeg.

  • How do I save an edited image back to my iPhoto gallery?

    How do I save an edited image from Elements back into my iPhoto gallery?

    You have two options:
    1. Set PSE as your external editor, send the photo from iphoto, work on it in PSE and save it without changing the name or format (you don't want to see the Save As window) and iphoto will remember your original + last saved version, although you'll have to lose the edits to see the original again. This doesn't work for raw files and you will probably need to set the Editor preferences>saving files>on first save to save over existing to get it to work for other formats.
    2. Export the photo to the desktop, use file>open in PSE, make all the changes you want, save the file in any format with any name you like, then import the edited photo to iphoto as a new file.

  • How do you save a picture from email to the iPhoto?

    How do you save a picture from email to the iPhoto?

    Click and hold on the Save button, and a menu appears, listing each attached file’s name along with a Save As button. Select any individual file, and you’ll save just that attachment to disk. But the really nice feature is the final menu item—Add to iPhoto. That’s right; with one button click-and-hold, you can add all of a message’s attached images to iPhoto.
    From Macworld.

  • How do you save photos from import or Photo Stream to an album?

    How do you save photos from import or photo stream to an album?  I have a MacBook Air (which keeps telling me my start-up disk is full) and I am trying to organize photos so there aren't duplicates and triples.  I have photos in events, last import, photos and albums....I feel like they are all taking up space.  If I move a photo from photo stream to an album, then delete the photo from photo steam its deleted from the album.  That doesn't make sense to me.  There should be a way to clean up photo stream, and events, and last import by putting photos into albums.  Even more bizarre; I imported photos from my 4S, and only a fraction of them transferred over. 
    I am completely lost.  Any help would be appreciated.
    Thank you!
    sarah

    and I am trying to organize photos so there aren't duplicates and triples.  I have photos in events, last import, photos and albums....I feel like they are all taking up space.
    Sarah,
    Only the photos you are seeing in the events and the Photo Stream will take up space. iPhoto stores each photo only one. After you import it, it will be assigned to one event.
    Then you can use it in many albums and projects. Using the photo this way will only reference the one single copy of the photo in the event. The albums don't store the photos and do not require additional space. If you delete a photo from an event, it will be removed from all albums that have been using the this photos.
    What you are seing are not actually duplicate photos but different ways to access the same photos.
    The "Last event" is the same event as the last one you imported. It is there for a quick access to your recently imported photos.  Photos is a quick access to all photos in your library as an endless stream of photos. These are also no duplicates.
    So if you want to save space and delete photos, do that by browsing your events. Deleting a photo from an event will delete the original image file and remove the photo from all albums, books, and other products. You have only duplicate photos, if you are seing the same photo twice in an event.
    Even more bizarre; I imported photos from my 4S, and only a fraction of them transferred over.
    That is a different problem, but it may be related to to fact that you need to free space.
    If you get a warning, that the system needs space, don't do anything but update the backup of your mac and move files to an external disk to free space.
    It is not save to keep working, when the system is running out of space.
    How much free space do you have? Anything below 15GB free space is really critical.
    -- Léonie

  • Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    In case you are using "Clear history when Firefox closes":
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    If you have software like Advanced SystemCare (Surfing Protection feature) that might reset some files to older versions to protect these files against changes then check the settings or uninstall this software.

  • How do you save from Photoshop back to iPhoto?

    How do you save your external edits from Photoshop back to iPhoto?
    Fine, I know how it can be done ONCE : you simply flatten the image and then hit Save, and you see your edited image in iPhoto.
    But, what if you FIRST want to save the .psd document complete with layers outside iPhoto, THEN flatten the image and save as a jpeg back to iPhoto? I tried this yesterday. I saved as a PSD file - with all layers and a new name - to my Pictures folder. Then I flattened the image and wanted to save it to iPhoto, but the temporary iPhoto location had disappeared from the Photoshop Save dialogue and Photoshop now displayed it under the new name.
    This is annoying : you've got to save the PSD document first in order to preserve the layers. But when you do this, you lose the ability to save the image a second time, all layers flattened, back to iPhoto.

    But if I'd flattened the psd without saving it as a psd, I could simply have saved it back to iPhoto (I've done that before).
    Hold on - perhaps that's the answer...
    What if..
    1. I flatten the image and Save it back to iPhoto, then ...
    2. Undo the 'flatten image' in Photoshop, then save THAT version as a psd?
    I'll try this and let you know if it works.
    ETA - Yay it works! Shoulda thought of that right off. I blame toothache

  • How do you save a jepeg scanned file to email it?

    I scanned a document and the mac saved it as a jpeg file in photosmart utility (colorsync utility?).  I could not email it as an attachment,  and I could not save it as a different type of file.  I could not copy the file to paste it as a word document.  How do you save a jpeg scanned file to email it?

    I scanned the document on an hp injet printer and it was all automatically done by the laptop.  I didn't use image capture, that I know of.  I don't know what that is, or how to utilize it to scan the pages.  I scanned about 10 pages and they went into a folder called scanner output.  I was able to attach that to the email, but then the email could not be sent.  The email tries to send it, then after about 7-8 minutes I get a message that says:
    "Sending the message content to the server failed.
      Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be delivered."

  • How do I save/burn my images,after editing, to a disc and what format JPEG? THX!!!

    How do I save/burn my images,after editing, to a disc and what format JPEG? THX!!!

    You're lacking information. We need to know what software you are using what version it is. What computer system and what version is the operating system.

Maybe you are looking for

  • Macbook to TV - Frame dropping

    I have recently purchased a new Sony 32" LCD TV that only has supports a frame rate of 50Hz. However, this means that when I attach my macbook via a VGA cable to the TV to playback things on my Mac every few minutes the frame drops off for a few seco

  • Formation of moisture between LCD and front panel in a iMac

    Hi Guys I am using a 21,5" iMac for the last 18 months or so. Every monsoon (which is pretty heavy in Bombay) I face a strange problem. A few minutes after starting the mac, moisture starts accumulating between the LCD panel and the front glass which

  • HT3669 Epson SX 535WD Unable to send scans to Mac  Book Pro via USB from Epson Printer screen?

    Hi, I have recently updated to mavericks, I am having porblems opperating my Epson sx 535wd scanner?  The printer side seems to work fine! I have downloaded the latest software form the EPSON www site however I am unable to download the Scanner drive

  • Nokia Lumia 520: Lumia Black Update

    Hello, I have a Nokia Lumia 520.2 (GoPhone) I am eagerly awaiting the black update as I have heard in may include support for my bluetooth keyboard I would very much like to use. I am still showing "Lumia Amber" and I am wondering if I am getting gli

  • Preset title length

    Is there anyway to preset the title length in iMovie 08? Every time I add a title it is between 3 and 5 minutes long. Can't I set the length before I add it? Thanks