User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Removing alpha channels EXTREMELY time consuming

  1. #1
    No Products Registered

    Join Date
    Jun 2008
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Removing alpha channels EXTREMELY time consuming

    I'm removing the alpha channels from my game to make it run smoother on iOS .

    Instead of creating a PNG with alpha, I created a BMP with a black background. I imported it to MMF2 then proceeded to remove the black outline from around the image. I did this 25 times and it took over 2 hours. There's over 600 of these to do for the entire game!

    The images have different colors around the edges so I can't just choose a background color that's similar to the image.

    Can photoshop or any other program do a crisp, non-bleeding 2 pixel choke like that used for green screen?

    Does anyone know a sanity saving way to remove the background without leaving the ugly outline?

  2. #2
    No Products Registered

    Join Date
    Jun 2008
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    Anyone?

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    In photoshop you can make use of the "feather" option under select - modify to select an area and then smoothen out the edges of the selection, then maybe you could fill the selected areas in black, so that any anti-aliasing pixels are made to appear on black. You could potentially set it to automate too using photoshop's action recording, you just might have to manually select the bg each time then hit play.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2010
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    You could turn the tolerance on the fill tool down and try to make the outline all one color, the same as any blank space you have, then just fill the outer space transparent.

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    If you simply use the transparent color option in MMF2 you don't need to remove the alpha channels. MMF2 will be able to compress the images much better if you use that option.

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    But when you change from Alpha Channel to Transparent Color in MMF2, everything that is not the transparent color becomes visible, and you still have the problem of trying to fix the outline by hand.
    Working as fast as I can on Fusion 3

  7. #7
    No Products Registered

    Join Date
    Jun 2008
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    Thanks for the suggestions. Unfortunately they're not producing the desired results.

    Surely there's a way. Google doesn't help as I don't know the terminology. There's got to be a name for what I'm wanting to do. That will be the key to finding the solution.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export Module
    AndyH's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,445
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    Not sure if this is specifically the problem you are having, but when I convert images with an alpha channel to be used with a single indexed transparency colour for MMF I will load the original image (with alpha) in Photoshop, create a layer beneath it with the colour I want the semi-transparent areas to blend with (eg: black, white or what ever colour is the most proninent for the background of the game where the graphic will be used) and then flatten the layers in Photoshop. This tends to help reduce the amount of editing I have to later do to sort out the edges of the graphics. You can create a macro in photoshop to do this too, which saves on time.

    Also, if your image contains areas that you want to blend with another colour, you would have to manually add this colour on the bottom layer in the areas affected before you flatten it.

    What you are still left with though is if your edges blend are too 'thick' you will still need to reduce that, and in Photoshop there are a number of ways, none easy though. For example you could use the magic wand tool with a higher tolerance to select the 'transparent' areas of your image which would creep into the blended edges so you could delete/cut them out. I would be interested to know if there is an easier trick or filter to help with this too.
    Andy H @ ovine.net
    Awful Jokes - a new cartoon every day: http://awful.ovine.net/
    Ovine's games: http://www.ovine.net

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    Nice idea Andy, that could be completely automated with photoshop's recording feature too since there's no specific selection, just create new layer, move layer to bottom, fill, flatten, save, close, move on to the next. Could get it to go through all your images instantly.

    I've never had to remove my alpha channels, but then my games never tend to be dealing with a high number of objects on screen...

  10. #10
    No Products Registered

    Join Date
    Nov 2009
    Posts
    327
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Removing alpha channels EXTREMELY time consuming

    hmm, this is very interesting thread to read as i consider getting the ios exporter, and many of my games assets have heavy alpha usage.

    exactly how badly does having alphas affect performance?

    what res are you working at?

    what kind of sizes are the active objects that you are fixing


Page 1 of 2 1 2 LastLast

Similar Threads

  1. Alpha channels
    By WhatPixelYouOn in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 7th May 2013, 03:03 PM
  2. iOS and alpha channels
    By ratty in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 12th February 2013, 04:25 PM
  3. Turning alpha channels off
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th May 2008, 04:09 PM
  4. Alpha Channels?
    By AllistairF in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 18th August 2006, 06:20 AM
  5. Alpha Channels?
    By MrCyberpunk in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 30th June 2006, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •