White border in Targa alpha layers - why?!

Hello!
I'm in the process of building a game with the Unity engine, and I'm using Photoshop to create the textures. Many of these textures are being applied to flat single-polygon planes with a transparency, in the form of 32-bit Targas with alpha layers.
The problem I have is that pretty much all of these textures are displaying a pixel-thin white border around the edges of the polygon plane (or around the edges of the texture - they're one and the same). It's as if I've added a pixel-thin white border to all the alpha layers, but I've done no such thing. When I go back and look at the saved Targas, there is no border there.
I had assumed that this issue was being caused by Unity, but I've been recieving a great deal of help and feedback about this on the Unity forums (some of it from one of the software developers), and we've pretty much exhausted all the possibilities at their end. This leads me to suspect that the issue might somehow be caused by Photoshop.
If anyone has any suggestions or ideas regarding why this is happening, I would be extremely grateful.
Thanks!

Are you resizing the images in Photoshop?  Resizing a layer will cause some creep of transparency into the edge pixels, as Photoshop considers the virtual pixels outside an image layer to be transparent.
I'm betting your TGA images are slightly transparent around the edges because of this.
One workaround is to define image data to be a little bigger than what you need, do all your work, then crop to the exact pixel size you need at the last.
-Noel

Similar Messages

  • Export Layers to File PNG creats white border

    I am exporting dark blue (one color) animation in layers with transparency as PNG-8 from photoshop, the exported file has a white border around the the object while if I save it manualy it save corectly with no white border.

    I seem to remember this problem from another post a few years ago. I think the solution was to use scriptlistener to SFW instead of document.exportDocument();

  • Some of my pictures have a a white border!  why?

    A couple of the pictures in one of my pages show a white border on the top of them, but this only happens over the Internet, it doesn't show in iWeb. Does anyone know why, and how to fix it? Thank you.
    Take a look (the 2nd and 3rd images):
    http://web.mac.com/glopezruelas/iWeb/lopezjuvera/info.html

    Don't know why this happens, but selecting the wonky picture in iWeb and changing its opacity to 99% will fix it.

  • Targa alpha differences between Photoshop 7 and CS3

    We're using Targa images for games work and need precise control over alpha levels.
    In Photoshop 7, it seems that grey levels in the alpha channel are transferred directly to that Targa. For example, a grey level of 50% in the alpha channel produces an alpha value of 128 in the Targa file, as you would expect.
    In Photoshop CS3, I'm getting 105 for 50% grey. And in order to get 128 I have to set my Photoshop colour to #959595.
    This is a serious incompatibility for us. We can no longer generate correct alpha using Photoshop gradients. Also, some of us are using 7 and some CS3, and we need automation to work! There seems to be some sort of curve being applied to the alpha.
    Firstly, does anyone else see this? I'm beginning to doubt my sanity.
    Is there a way to fix it? When I say 128 I want 128!
    (I've searched the forums and knowledgebase for "targa alpha" and Google for "photoshop targa alpha" and turned up nothing relevant.)

    progress, I know that the values are often the same when you look at them in Photoshop, but they are not stored in the TGA as those values. Also, because the range 0-255 for alpha is mapped through a colour management curve, the values are NOT always preserved by save/open, but rounded.
    Proof: using colour settings "North America General purpose 2" make a small (e.g. 32x32) image with white background. Make an alpha channel. Set your foreground colour to 62, 62, 62. Fill the alpha channel. Save as TGA, open, check the alpha channel. It's now 61, 61, 61.
    If you save a TGA with alpha channel 61 grey, then try to change it to 62, then save it, you get an identical file.
    But really the point is this: alpha is not colour. It is transparency. It should not be subject to colour management. You say "the visual is maintained" but alpha is transparency, not colour, and the visual is _not_ maintained if it is transformed through colour management. This is because we are trying to manipulate images where "128 alpha" means exactly 50% transparency, as you would expect. But with Photoshop this is not what you get _in_the_file_.
    Ramón, if Chris means that Photoshop writes "128" in the file for "grey 128" in the alpha channel then he's wrong, as shown by my hex dumps earlier in this thread. This is why I wonder what he means.

  • White border problem when zooming with SWF in PDF

    Hi Everyone,
    I have posted my original querry in the Indesign forum:
    http://forums.adobe.com/message/5176893#5176893
    I'm having problems with zooming whedn trying to create a PDF with SWF inserted.. at certain levels of zoom I get a white border on the left and right of the document which squashes the content into the middle and makes it a little pixelated.  I also get a thin white border on the right when zooming out.  Does anyone have any ideas where I might be going wrong?
    Thanks,
    Em

    Not wishing to be rude, but that workflow is not supposed to be used that way.
    InDesign's ability to export SWFs is intended for showing the file in a Web page, and Acrobat's ability to embed SWFs is only intended for small annotations placed within the pages of a conventional PDF file. By placing the entire Layout as a SWF you are in effect playing the entire thing as a movie in Flash Player - all the advantages of the PDF format are completely lost, there is no vector-rendering of any content or text, and users will find it very hard to understand what's going on (the navigation buttons in Acrobat or Reader will not work, text is not searchable or accessible, multiple pages cannot be printed, etc.).
    It's not entirely trivial to do this 'correctly', as at the moment we don't have full support in the PDF standard for all the interactive features that InDesign can apply to page objects - that's why they are grouped into PDF and non-PDF in the various selection menus in InDesign. Rather than saving as a SWF you should be using Export to Interactive PDF, and ensuring that the various interactive items and media are all selected on the export dialog.
    Basic stuff such as links and video will export just fine that way, and the PDF will preserve everything else in the Layout as native text or graphics so it'll look fine, navigate properly and be searchable. Animations and buttons will not work as expected, so you may have to revise their behavior if PDF is your intended output destination.

  • White border in pdf preview of bleed doc

    Hi,
    As the attached image shows I get a thin white border on my pdf preview of a document that has a 3mm bleed. I have tried to increase the bleed to 5mm but with same result. I've also tried to exceed the black background outside the bleed marks in InDesign - no result. The pdf is exported with document is generated I'm stuck. Why do I get this annoying thin white border when previewing the pdf document? The people I'm sending this to thinks its something wrong and even if this should turn out to be in preview mode only its ruining my work as everyone else is asking about it when looking at the pdf. Use Document Bleed settings is ticked.

    You mentioned trying to increase the bleed areas by dragging the black box larger, but are you actually specifying the larger bleed when exporting the PDF
    Also, you mention Bleed Marks rather than Crop Marks.
    Crop marks show where the page will be trimmed and this is what the printer needs to see.
    Bleed marks are essentially useless. they only show the edge of the bleed, but give NO indication where the printer should trim to
    Your black screenshots are hard to decipher, but the Magenta box in your 2nd screenshot only shows the margins on the inside of the page.
    Unless you have set the margins to 0, the magenta margin box will always be smaller that the page (the final trim size which is what the Crop marks are for)
    Have you accidently set a Slug area larger than the bleed? This is only way I can get the white space to show.
    The example below used greatly exaggerated settings to better show some issues.I greatly increased the bleed area to swallow the Crop marks and then included the Slug area to show the white.(slugs are not always used or even needed)
    The Magenta box are the margins inside the page.
    The Red box is the bleed area.
    The Crop marks in between these two are what the printer need to cut on to produce the final page size.
    Click on the image below to see a larger version with more detail.
    P,S, you mentioned about not being able to print the bleeds. If you have bleeds and crops that will make the final PDF size larger than your desktop printer can print, just select FIT or REDUCE OVERSIZE PAGE in the print dialog and it will print on your printer. Of course it will not be to 100 scale, but it will show all the elements in the PDF.

  • Image Added to PDF FFile via Preview Adds Large, White Border

    ::not sure where to stick a 'Preview' discussion::
    I've downloaded several books as PDF files to add to my iBooks app on my iPhone, and I'm wanting to give them their respective book covers. I open the PDF file in Preview, drag and drop the image to the top of the list to create the cover, but I get an ugly, white border around the image itself. There is no white border on the image file itself, so I have no idea why this border is being created.
    I've noticed smaller image files have a larger border, but the image I'm using is 716x1024. It doesn't matter if I increase the image size to help reduce the white border, it still remains.
    Any advice?

    Edited to add - sorry, my description was slightly wrong.
    If I open a single .JPG in a new Preview, and save it as a .PDF, the dimensions are fine. The issue only occurs if I try to add .JPG's to existing PDF's.
    It also occurs if you use the shell to convert a single JPG image, i.e.
    "/System/Library/Printers/Libraries/./convert" -f /users/me/downloads/cvg06300162.jpg -o /users/me/downloads/cvg06300162.pdf
    - this gives the reduced size image as well.

  • White Border Around Template Images

    I recently created a "page layout" document from a template. This is my first attempt to use a template and it was all going well. Until I hit "print." When I print the document, the images that were already part of the template are printing with a white border around them. It looks fine in Pages and when I go to Print Preview, but it comes off the printer looking funny. What's the deal?

    Thanks for the clarification. I had a hard time selecting that white border around the photos. I couldn't even figure out what it was for awhile. I think the printing problem is related to that white border which is an image, photoBG_triple.png, that is behind the photos & their masks & on top of the lined paper image, notepaper.png. I think all that layering looks nice on screen or PDF, but could be a printing nightmare. How does it look funny? And what kind of printer are you using?

  • White border on pdf?

    Why am I getting a white border on the top and bottom of my pdf when I save my doc in pages?  And this only happens sometimes...

    Here is a sample of what I mean...  Apologies for the size.  Those white spaces at the top and bottom are not part of the original document.  I would LOVE to use Pages '09 still, however I am unable to edit old documents transferred over to my new laptop in Pages '09 format, the printed version is horrible, and the screen images are too fuzzy for my use and the work I need to do.

  • In pages/Pixelmator how do you put a white border around a piece of font, to make it stand out more. Please Help

    The Benchwarmers logo, I would like to have a white border around the font to make it stand out. Help please

    You would be better served to take a closer look at BeLight's free Art Text 2 Lite, or on YouTube, search for "Pixelmator text effects," or review the several Pixelmator tutorials on their site. Pages does not support the layered text effects necessary to create the Benchwarmers logo, but certainly can incorporate this image once completed through external means.  Is the following image the one you have in mind:

  • Thin white border around graphic

    I created a rectangular black box in photoshop and brought it into FCP as a PNG. When I lie it down to the timeline, a thin white border is created around it. I want it to be a clean edge of just black. Can someone please tell me why this is happening...
    thanks

    Most Photoshp people assume ink is being placed on a white paper background. In video, everything is transparent or over black. How you saved yoru image in PS will affect how it gets presented in FCP because of this inability of most PS wonks to understand video.
    If you build your PS stuff on black, the pixels around the edges will not be white.
    But this begs the bigger question, why would you build a black box in PS when you can do simple stuff like that directly in FCP or otion?
    bogiesan

  • White Border Added to File Thumbnails (in Finder) after iPhoto Export??

    I recently upgraded to Leopard and iLife '08.
    I love having a white border on my photos, but since iPhoto doesn't have the ability to attach a border when exporting, I often add one using Photoshop.
    --> First, I export photos to a folder on my desktop
    --> Then, I run a batch processing Action in Photoshop to add the borders (via canvas size, if you care)
    --> Finally, I add the resulting (bordered) photos to a separate iPhoto library, which I use exclusively to keep bordered versions of my "best of the best" photos.
    My question is this. I just dragged a bunch of (non-bordered) photos out of iPhoto to the aforementioned folder on my desktop. When I did this, I noticed that each of the FINDER thumbnails (i.e. not the iPhoto thumbs) now has a white border around it. Opening the file reveals that this white border ONLY applies to the thumbnail (i.e. the actual files look identical to the photos in iPhoto).
    1) Why is this?
    2) I also noticed that the white border (again, in FINDER thumbs) wasn't applied to the 2 photos I previously edited in Photoshop (as opposed to all others, for which I used iPhoto). Why is this?
    Thanks...
    -Jason

    Jason
    1) Why is this?
    This seems like a new feature introduced with the Finder in 10.5
    2) I also noticed that the white border (again, in FINDER thumbs) wasn't applied to the 2 photos I previously edited in Photoshop (as opposed to all others, for which I used iPhoto). Why is this?
    I can confirm this. Again, a Finder issue. My guess is that it depends on which app creates the thumbnail.
    Really, these are questions for Finder people, rather than iPhoto people.
    Regards
    TD

  • White Border around the screen?  1/2 inch...

    I have a white border around the screen, very noticable with any dark background...
    Whats the deal with this?
    Could this cause the display brightness to have to be turned up all the way just to get a good solid picture...?
    This is not acceptable?

    The lack of information, feedback, confirmation, etc that apple is famous for is exactly why I am deathly afraid of ordering the new 17" mbp. I have been stealing my girlfriends' peecee to catch up on emails and websites since I sold my old 15" mbp a couple months ago.
    I was just about to pull the trigger and buy the new 17" mbp until the "delay", again no specific information given out by apple. Some people were charged secondary charges and had ship dates of the day of the announcement of the delay - which would logically dictate that there were plenty of machines that had to be un-packed, cracked open and "updated". So with all the unibody related issues, all the 9600 related issues, and all the screen issues of the 15" led, I am not sure i'll be able to play guinea pig for apple... yet again...
    Weejun wrote:
    If this problem is fixed at all, I'll bet it won't be until a new lot of displays is made, either by a new >manufacturer or (more likely) under more stringent standards by the same manufacturer(s). I've >heard that display sources have become very limited, and suspect that Apple has had to settle for >lower quality than they would prefer. Maybe Apple can only handle complaints as they arise >because there aren't enough decent replacements. But a barrage of complaints might force it to >demand better quality from its contractors next time.
    Bottom line, I'm hoping for a C86 or C87 to show up. Maybe that's hoping for too much.

  • White border in composite

    I have a series of PNG images (character and background) rendered out of Autodesk Maya (with Mental Ray) for compositing in AE.
    They are the DiffuseNoShadow, Indirect, and Shadow pass. Premultiply was disabled.
    I imported the sequences into AE, initially 'Straight'.  For a foreground character, I screen the Indirect pass over the Diffuse in it's own comp, but notice a dark border.  Interpreting the Indirect layer as being 'Premultiplied' fixes things somewhat, but leaves traces of a faint white border.
    I would add a 'Matte Choke' to remove it, but since the layers have a "holdout" (from mental ray) doing so would create a black where the pixels were choked.  Also there are some narrow areas I can't choke as they'll be removed.
    Anyone have a solution to my border issue? My appreciation if you do!

    Wow,
    I actually wrote a plugin for AE for dealing witht this very issue
    http://aescripts.com/efx-render-elements-plugin-suite/
    Watch the full tutorial, to see how it works - I forgot to show it in the demo video ;(

  • Unwanted white border quicktime

    i just redesigned my site (thank you nancy and murray) and there is a white border i cant seem to get rid of on my quicktime player. Any ideas how to do it?
    it shows more in firefox than safari for some reason..
    http://www.toddheymandirector.com/

    i apologize.. its:
    http://toddheymandirector.com/spots/
    i couldnt find it anywhere in the code and i just did a test with one of the same movies here and it doesnt do it:
    http://toddheymandirector.com/testhtml/qttest.html
    so i dont know why its doing it in the /spots page

Maybe you are looking for

  • Can't find drivers for ipod nano 8GB for windows vista HELP

    I am trying to find the drivers for my ipod nano 8GB. I am running Windows Vista on my laptop. I have tried absolutely everything listed on this webpage and others. I have removed itunes and reinstalled it and still nothing. I downloaded usbstor.sys

  • Mod_plsql warning message in apache logs

    The following warning message has been reported in error logs and it relates to wwv_flow package :- [Thu Oct 19 16:08:47 2006] [warn] mod_plsql: /pls/htmldb/wwv_flow.accept had to be described for execution. Refer to the PL/SQL GateWay documentation

  • Installing packages as system

    Hi everyone. I have a question regarding installing packages and procedures. Lets assume, I am installing a procedure called "db_procedure" and I want it to be created under schema "EMP". My create or replace statement looks like this: Create or repl

  • My iPhone 5 hanged after updating new software version

    My iPhone 5 hanged after updating new software version

  • Could not invoke operation against the DB adapter due to BINDING. JCA-11812

    Hi, We are getting the following binding error BINDING. JCA-11812. Could not invoke operation against the DB adapter due to BINDING. JCA-11812 due to interaction processing error. Procedure(InputParameters,OutputParameters) ] Could not invoke operati