Is it possible to save PNG with transparency to Camera Roll?

I've had a user contact me saying that the pictures he creates save as JPG and because they are JPG they lose transparency. I looked at the code I'm using and it's CameraRoll.addBitmapData(bitmapData). I could find no other options or parameters. He also said it is highly compressed JPG as well. If it's not supported (although I thought it was in an earlier version??) is there a work around!?

It isn't really limited due to an iOS issue, just that Adobe chooses to not add PNG with transparency support. I completely disagree with the premise that this should be limited just because on iOS  Photo Album doesn't display PNGs with transparency accurately. There are dozens of existing iOS apps now passing around and creating PNGs with transparency (and viewing them properly).
As far as Android, I implemented this myself just using the builtin BitmapData.encode support for creating PNG format ByteArray, and just saving directly to the filesystem a .png file since Android (unlike iOS) allows it.
To make that process  clean with the rest of the Android eco-system, you will probably want to include two additional ANE based features (or choose to roll your own ANE that combines everything)...
The two extra steps as far as ANE support is:
1) an ANE that will trigger a refresh of the Android Gallery (or some base directory more exactly) when the filesystem underneath it has changed if you write to the filesystem directly, there are a few ANEs that do this out there like:
http://forums.adobe.com/message/6092838
2) In newer versions of Android, different users get different mapped 'home dirs' for Pictures so you really don't want to just write to some common /mnt/sdcard folder and hope for the best.
The proper base directory to save Pictures to on Android with the newer APIs is to call (on the native Java side):
File path = Environment.getExternalStoragePublicDirectory( Environment.DIRECTORY_PICTURES);
Just wrapping that returned directory location above from Java with an ANE, will guarantee you are always working with the proper base directory for the current runtime user in Android.
I don't know if any ANE out there has added that 'Public Pictures Directory' function above but it is a trivial function call, and you could even just tack this on as an additional API function on whatever RefreshGallery ANE you grab (with source code of course)

Similar Messages

  • How do i save a .png with transparent background?  cannot find in help

    how do i save a .png with transparent background?  cannot find in help

    rickseng
    With what program are you working and with what version of the program and on what computer operating system?
    I suspect that you are working with some version of Photoshop Elements. If that is correct, then be advised that some how
    your thread got posted in the Adobe Premiere Elements Forum (video editing) instead of the Adobe Photoshop Elements Forum (photo editing).
    If Photoshop Elements question, then please re-post your thread in the Adobe Photoshop Elements Forum or wait for a moderator
    here to see your thread here and move it from here to there.
    Photoshop Elements
    Thought....if are creating an image on a transparent background in Photoshop Elements Windows for a Premiere Elements Windows project, then you Save As png or psd.
    Please clarify if I have misinterpreted your question.
    Thank you.
    ATR

  • Recommend an image editor that has a magic wand tool to delete white background and save as PNG with transparency

    Hi Everybody,
    I need an iPad app that can open an image and has a Magic Wand-type tool so I can select white background around a subject. Then delete the white areas so it becomes transparent. Then save as a PNG with transparency. I've tried Pixelmator...I can select the white but I can not delete the white. I downloaded Photoshop Express...no magic wand tool.
    Does anyone have any recommendations?
    Thanks,
    Gary

    It's a shame you don't have Mac. The feature is built in the system (in Preview, Pages, etc).
    That makes me think: this feature should be in the iPad iWork apps too (Pages and keynote): check out this guide: http://www.cultofmac.com/256475/knock-out-those-backgrounds-instant-alpha-hidden -in-pages-for-ipad-ios-tips/

  • Export locally png with transparent background

    Is it possible to use Ps touch to remove the background from jpeg images and  export them locally as png with transparent background (reducing the size of the picture)? I would need to use this feature to create more keynotetouch-friendly images.

    Yes. That's possible. You can export a PSTouch project as png to the Camera Roll....and there are other channels as well where this is possible, like  "Share By E-mail" , "Send to iTunes" etc.
    Those options are accesible via the Share  menu (see attached screenshot) as part of the PSTouch project organizer

  • Imported png with transparency not working as mask

    I created an image with several wavey lines in photoshop to
    use as a mask layer in Flash. I "save for web" as a png with
    transparency. I import it to Flash and when it is on the stage it
    is indeed transparent. But when I go to use it as a mask it masks
    the entire rectangle of its dimensions, not just the waves. I trade
    breaking it down and converting it to a symbol but no go. What am I
    missing here?

    Images are rectangle or square, even if you have transparency
    or not, the entire image will be a mask.
    The way you must work is usign vectorial shape as mask. You
    can do it directly in Flash or use illustrator to build you shape
    and then import it in Flash "Copy paste or export as swf". I know
    that you have several wavey lines in photoshop. So, to keep them,
    you have 3 possibilities.
    1- Simply use path in Photoshop and export them into
    Illustrator set them a color and use it in Flash
    or
    2- Import your image in Flash, then use the Trace Bitmap
    option (Modify / Bitmap / Trace Bitmap)
    or
    3- Import you PNG in Illustrator and Convert it into shape
    usign the Live Trace option.
    These 3 way works great, depending on the complexity of you
    graphics, each one have its own advantages

  • Black PNGS with transparent BGs arent showing up

    I am using iPhoto to organize my digital scrapbooking graphics. Problem is that the majority are png with transparency. When I imported them, all of the transparent portions of the images appeared in black, so many of them just look like black squares, because it's a black image on transparent background.
    Is there any way to get the png to look normal or is this a flaw in iPhoto. Is there a way to change the background of the thumbnail to gray?
    Thank you for any help.

    Welcome to the Apple Discussions. It's not a flaw but just the nature of the beast. iPhoto is set to display transparent backgrounds as black. Send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    Happy Holidays

  • Export to png with transparancy

    hey, can this be done?
    export to png with transparent background
    even setting the background of the slide to "none" doesn't work
    if you can't achieve this, does anyone have any ideas how I could do a workaround?
    cheers, D

    Ahh, I read this and thought you required the export. You essentially want to take an image from Keynote into some other application WITH transparency, correct? If so, you may want to take a look at Skitch.
    http://www.plasq.com/skitch -currently in public beta as a free download
    You could copy the items as you're currently doing, then open Skitch and paste them in. Your objects will appear with a white background. Next, click the color well at the bottom of the colors on the right hand side in order to bring up the color palette. Change the opacity to Zero, then hold down Shift, while clicking in the color well. The background is dropped out and you have full transparency. You can even use Skitch to resize the image to exactly the size you want it to be. Click and drag the tab and to export at that size.

  • Iphone 4s with upgrade to ios 6, why are the images I save "save photo" not in my camera roll?

    I have an iphone 4s upgraded with ios 6. Why are the images I save "save photo" not in my camera roll? Where do they go?
    Thx,
    surfin steve

    Hey, I just had this problem, I went into Settings -> Privacy-> Facebook (which is where I was saving photos from) -> turned it on, then back to settings -> Facebook-> and logged in. When I went back to Facebook and saved a photo and it saved to my camera roll. I haven't tried it with anything else yet though. Hope this helps!

  • Combining 100 pngs with transparent background, vertically into one image PSE9

    As the question suggests,
    In PSE9 is it possible to combine 100+ PNG files (with identical dimensions & transparent background) into a single PNG file where the images are stacked vertically? and without trimming/cropping the transparent part of the image! I want to retain the exact original image dimensions so that they all stack neatly and precisely. 
    So far what I've tried is opening up the 100 PNG files in PSE9, create a new document with transparent background using the same width as the individual files and the height set to the individual file height multiplied by 100. (i.e. original image is 36 x 120 so the new file will be 36 x 12000) Then I get stuck! Whenever I drag a single file into the newly created document, it seems to be cropped to the image edges and no longer retains it's original height and width. Not to mention that hand dragging 100 files seems like a long-winded way of doing things... My automate button seems to be greyed out (so no contact sheet?) and I can't find any other automated process.
    Any help would be greatly appreciated,
    Thanks
    N.
    PSE 9 on Win 7

    Please compare the resoultion of the two documents too. And a better way of arranging the layers would be to use distribute option in the move tool. You can find more about the move tool at http://helpx.adobe.com/photoshop-elements/using/moving-copying-selections.html#main-pars_h eading_0
    Thus your workflow would be:
    Create a new document with the required dimension.
    Use File>Place to place all your png files on the created document as layers
    Use distribute option in move tool
    A still better workflow would be to use put all the files in a folder and write an ExtendScript to read the files and place them as layers on the document of said dimension

  • Bug in fireworks CS4 when exporting 24/32bit png with transparent alpha?

    Hi there,
    I recently upgraded to CS4 from CS3 and am quite disappointed to find that the png export facility for 24 or 32 bit png's is next to useless on my installation of Fireworks (Vista). I have a colleage who has reported the same behanviour on his mac.
    Please see this native fireworks CS4 png file and attempt to export it as 24 or 34 bit png, ensuring the canvas is transparent (it shuold be already)...
    http://www.capitalh.net/demo-bug.png
    Viewing in preview mode in CS3 would show the png with its alpha channel indicated by the chequered transparent pattern. Exporting it as such would produce the desired result > a png with a nice blended alpha channel.
    Viewing in preview mode in CS4 shows a horrible render of the image on a white background. Exporting the image produces the same result. Please see this link for confirmation:
    http://www.capitalh.net/demo-bug-export.png
    Please also see this simpler image, this time using a simple ellipse shape:
    http://www.capitalh.net/demo-bug-export-simpleshape.png
    You'll notice that it is not transparent, and the ellipse has not been anti-aliased.
    Can anyone shed some light on this behaviour?
    Exporting png's as such is something that I do daily at work, and is a basic requirement of an image editting application targetted at web design.
    Am I doing something wrong? I've been using Fireworks since 2003 so I'm inclined to think that I'm not.

    That's a bit, um, oh never mind. Would've been a rubbish joke anyway.
    Aww...pooh. I love "rubbish" jokes!
    If fireworks is unable to export a transparent png at 24bit, then why have the option?
    (granted the option is acutally implied, not given)
    Also, why the horrible rendering on preview and export?
    Transparency for 24-bit isn't an option and isn't implied. Create a FW document with a transparent canvas. Go to File>Image Preview. If you select PNG8 as your export option, then you have drop-downs for No Transparency, Index Transparency, or Alpha Transparency. PNG32 shows the checkerboard where the document is transparent. If you select PNG24, you do not have the transparency options. Transparent areas in your document are set to white, just as they are if you select the JPEG format. Try it.
    I don't know why your rendering is horrible. I'd have to see your image.
    And also, why all this confusion related to Photoshop, seems Adobe really aren't helping the issue:
    http://forums.adobe.com/thread/152434
    Possibly Adobe thought it was less confusing, as they didn't have to go into the math. However, you do see Linda Rathgeber's answer, that the Photoshop convention is...well...misleading? (I'd call it wrong, but that's just me. ) It's just one other issue to bring into alignment as Adobe works to merge the Macromedia offerings into their line.

  • IS it possible to save report with interactive features in a file?

    I know we can save the static report but is it possible to save the interactive features also?
    Like drill down, prompt, etc.
    i can understand that the html or pdf file cannot connect to database to retreive the data but just want to cross check with you experts.
    Please help gurus.
    Thanks,
    Karthick

    Hi all,
    My client is expecting html file with drill down features of the report in it. Is it possible by any way? I Know it is not possible. But if this is not possible i need to move out of obiee to some other product which i dont like to do.
    Thanks,
    Karthick

  • Png with transparent background not rendering on the mac

    I created a png with a transparent background for a header.  It renders fine on the ipad and iphone but not on the mac.  Is there a reason why? The header is on http://surfingthebluemarble.com/news.html
    Thanks in advance for your help!
    Regards,
    umbre gachoong

    If the header in question is the News on the Blue Marble header it seems to be rendering fine on the page and fine if I download the image to my system.
    The background is transparent.

  • Is it possible to save pictures with their original filenames?

    I was wondering if it is posible to save pics with their original filenames.
    I saved pics from web but they are renamed as Picture1, Picture2, etc.
    Thanks very much for answering.

    Thank you! I tried it and it really isn't that difficult. I actually took time and played around with the Mac last night and it's pretty awesome... Slowly but surely getting the hang of things:) thank you again! I appreciate your help very much!!

  • Javascript question. Possible to save bookmark with javascript in Safari?

    Is it possible to save a bookmark using javascript in Safari?
    In IE I use:
    window.external.AddFavorite(url, title);
    In Firefox I use:
    window.sidebar.addPanel(title, url,'');
    In Safari I have no clue.
    Any thoughts, is it even possible?

    I'm going to call this bookmark function from inside a Flash application and I don't want the URL to be the exact URL that the Flash application has.
    If you have a solution to the problem I would be very happy if you could post it!

  • How do I save a .mov file to camera roll with IOS6

    I uploaded the new IOS6 op system and now I cannot save a .mov file to my camera roll.  The option is not there as it was in IOS5.
    Anyone having this issue and are there any work arounds?  Thanks

    Import it to iTunes by drag to the open iTunes Music window.
    Mark it there by clickin once.
    Go to the menu and search for "new version for…" .
    Wait, if ready, right-click the new file once and you can see it in the finder to work with it.
    But do not change location.
    Only work with a duplicate by holding down option key when dragging to an other place.
    If you want to delete it from its original location, do it within iTunes.

Maybe you are looking for

  • Volume level method

    i can't figure out what's wrong with my volumeLevel() method in this code, can anyone please show me what's wrong with it? thanks! class volumes      int currentVolume;      void volumeUp()           if(currentVolume == 5)           System.out.printl

  • I am not able to use my 4S

    So I have a 4S and I bearly downloaded IOS 7.1.3 or something from IOS 6, it started yesterday, and it still hasnt finished, its not taking to long I believe, cause i think it crashed or gotstuck, because it has not downloaded not 1% for about 6 hour

  • Content Conversion module in JMS Adapter - MessageTransformBean

    Hi All, We are using Content Conversion module using MessageTransformBean in JMS adapter to read a flat file from MQ Queue.It works fine and the file is getting picked and successfully converted into a xml structure in XI. The flat file is multiple l

  • When i open att.yahoo all i get is a list of topics, none of which leads me anywhere. there is no content, i need to access my att e-mail and cannot.

    i have emptied cache, restarted, re-installed, and tried typing att.net direct e-mail, but firefox reverts to att.yahoo and i get the list of topics.

  • Non-conforming RAM

    I'm wondering if I can use 2 RAM sticks from a 2010 iMac in a Late 2012 machine - it's easy to try and I might experiment with this just for the heck of it. The only difference in the spec is speed - 1333 MHz  (2010) vs 1600 MHz  (2012) The machine I