PNG transparent error
Hi.
I have made some PNG-24 files In Photoshop CS6 on my Mac i5.
I followed what my Dad did on his PC but he is using CS5 and PC. The problem I get is that when I look at them on the iPad the full screen view is great but the thumbnail has parts of other pictures on the transparent areas. We have looked at my Dads on the iPad and his from the PC are OK.
Can some one help please.
Thanks, James.
jptphotography wrote:
Just to verify. This only shows on the thumbnail on the iPad2 or the iPhone not on any other equipment. When the file is shown at full size on the iPad or iPhone it's perfect.
Then it would seem this is a display problem with a low res pic (thumbnail) on a small display. THe GPU has to make some assumptions based on a limited data set, and apparently they are incorrect. Would say that is just a technology problem and nothing you can do except display the full image rather than the thumbnail, as this seems to work fine.
Similar Messages
-
PyGtk/Python 2.0 png transparency help
I've googled and tried to solve this myself for the past few hours to no avail, so i'm hoping someone will be able to help. I installed gmail-notify and decided i wanted to make the popup transparent, so i started looking into the .py file. Even though i'm learning C, and some Assembly, i just can't fully understand python and the gtk library and the frustration is starting to get me. So basically what i'm trying to achieve is to make the image that pops up (background.png) transparent. I'm running stand-alone Openbox, with Cairo. And iv'e made the alpha layers and all that too in the png image. Any help would be greatly appreciated.
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
# Uploaded by juan_grande 2005/02/24 18:38 UTC
import pygtk
pygtk.require('2.0')
import gtk
import time
import os
import pytrayicon
import sys
import warnings
import ConfigParser
import xmllangs
import GmailConfig
import GmailPopupMenu
import gmailatom
sys.path[0] = "/usr/share/gmail-notify"
BKG_PATH=sys.path[0]+"/background.png"
ICON_PATH=sys.path[0]+"/icon.png"
ICON2_PATH=sys.path[0]+"/icon2.png"
def removetags(text):
raw=text.split("<b>")
raw2=raw[1].split("</b>")
final=raw2[0]
return final
def shortenstring(text,characters):
if text == None: text = ""
mainstr=""
length=0
splitstr=text.split(" ")
for word in splitstr:
length=length+len(word)
if len(word)>characters:
if mainstr=="":
mainstr=word[0:characters]
break
else: break
mainstr=mainstr+word+" "
if length>characters: break
return mainstr.strip()
class GmailNotify:
configWindow = None
options = None
def __init__(self):
self.init=0
print "Gmail Notifier v1.6.1b ("+time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())+")"
print "----------"
# Configuration window
self.configWindow = GmailConfig.GmailConfigWindow( )
# Reference to global options
self.options = self.configWindow.options
# Check if there is a user and password, if not, load config window
while ( self.options["gmailusername"] == None or self.options["gmailpassword"] == None ):
self.configWindow.show()
# Load selected language
self.lang = self.configWindow.get_lang()
print "selected language: "+self.lang.get_name()
# Creates the main window
self.window = gtk.Window(gtk.WINDOW_POPUP)
self.window.set_title(self.lang.get_string(21))
self.window.set_resizable(1)
self.window.set_decorated(0)
self.window.set_keep_above(1)
self.window.stick()
self.window.hide()
# Define some flags
self.senddown=0
self.popup=0
self.newmessages=0
self.mailcheck=0
self.hasshownerror=0
self.hassettimer=0
self.dont_connect=0
self.unreadmsgcount=0
# Define the timers
self.maintimer=None
self.popuptimer=0
self.waittimer=0
# Create the tray icon object
self.tray = pytrayicon.TrayIcon(self.lang.get_string(21));
self.eventbox = gtk.EventBox()
self.tray.add(self.eventbox)
self.eventbox.connect("button_press_event", self.tray_icon_clicked)
# Tray icon drag&drop options
self.eventbox.drag_dest_set(
gtk.DEST_DEFAULT_ALL,
[('_NETSCAPE_URL', 0, 0),('text/uri-list ', 0, 1),('x-url/http', 0, 2)],
gtk.gdk.ACTION_COPY | gtk.gdk.ACTION_MOVE)
# Create the tooltip for the tray icon
self._tooltip = gtk.Tooltips()
# Set the image for the tray icon
self.imageicon = gtk.Image()
pixbuf = gtk.gdk.pixbuf_new_from_file( ICON_PATH )
scaled_buf = pixbuf.scale_simple(24,24,gtk.gdk.INTERP_BILINEAR)
self.imageicon.set_from_pixbuf(scaled_buf)
self.eventbox.add(self.imageicon)
# Show the tray icon
self.tray.show_all()
# Create the popup menu
self.popup_menu = GmailPopupMenu.GmailPopupMenu( self)
# Create the popup
self.fixed=gtk.Fixed()
self.window.add(self.fixed)
self.fixed.show()
self.fixed.set_size_request(0,0)
# Set popup's background image
self.image=gtk.Image()
self.image.set_from_file( BKG_PATH )
self.image.show()
self.fixed.put(self.image,0,0)
# Set popup's label
self.label=gtk.Label()
self.label.set_line_wrap(1)
self.label.set_size_request(170,140)
self.default_label = "<span size='large' ><i><u>"+self.lang.get_string(21)+"</u></i></span>\n\n\n"+self.lang.get_string(20)
self.label.set_markup( self.default_label)
# Show popup
self.label.show()
# Create popup's event box
self.event_box = gtk.EventBox()
self.event_box.set_visible_window(0)
self.event_box.show()
self.event_box.add(self.label)
self.event_box.set_size_request(180,125)
self.event_box.set_events(gtk.gdk.BUTTON_PRESS_MASK)
self.event_box.connect("button_press_event", self.event_box_clicked)
# Setup popup's event box
self.fixed.put(self.event_box,6,25)
self.event_box.realize()
self.event_box.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1))
# Resize and move popup's event box
self.window.resize(180,1)
self.width, self.height = self.window.get_size()
self.height+=self.options['voffset']
self.width+=self.options['hoffset']
self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
self.init=1
while gtk.events_pending():
gtk.main_iteration(gtk.TRUE)
# Attemp connection for first time
if self.connect()==1:
# Check mail for first time
self.mail_check()
self.maintimer=gtk.timeout_add(self.options['checkinterval'],self.mail_check)
def connect(self):
# If connecting, cancel connection
if self.dont_connect==1:
print "connection attemp suspended"
return 0
self.dont_connect=1
print "connecting..."
self._tooltip.set_tip(self.tray,self.lang.get_string(13))
while gtk.events_pending():
gtk.main_iteration( gtk.TRUE)
# Attemp connection
try:
self.connection=gmailatom.GmailAtom(self.options['gmailusername'],self.options['gmailpassword'])
self.connection.refreshInfo()
print "connection successful... continuing"
self._tooltip.set_tip(self.tray,self.lang.get_string(14))
self.dont_connect=0
return 1
except:
print "login failed, will retry"
self._tooltip.set_tip(self.tray,self.lang.get_string(15))
self.default_label = "<span size='large' ><u><i>"+self.lang.get_string(15)+"</i></u></span>\n\n"+self.lang.get_string(16)
self.label.set_markup(self.default_label)
self.show_popup()
self.dont_connect=0
return 0
def mail_check(self, event=None):
# If checking, cancel mail check
if self.mailcheck==1:
print "self.mailcheck=1"
return gtk.TRUE
# If popup is up, destroy it
if self.popup==1:
self.destroy_popup()
self.mailcheck=1
print "----------"
print "checking for new mail ("+time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())+")"
while gtk.events_pending():
gtk.main_iteration( gtk.TRUE)
# Get new messages count
attrs = self.has_new_messages()
# If mail check was unsuccessful
if attrs[0]==-1:
self.mailcheck=0
return gtk.TRUE
# Update tray icon
self.eventbox.remove(self.imageicon)
self.imageicon = gtk.Image()
if attrs[1]>0:
print str(attrs[1])+" new messages"
sender = attrs[2]
subject= attrs[3]
snippet= attrs[4]
if len(snippet)>0:
self.default_label="<span size='large' ><u><i>"+self.lang.get_string(17)+sender[0:24]+"</i></u></span>\n"+shortenstring(subject,20)+"\n\n"+snippet+"..."
else:
self.default_label="<span size='large' ><u><i>"+self.lang.get_string(17)+sender[0:24]+"</i></u></span>\n"+shortenstring(subject,20)+"\n\n"+snippet+"..."
self.show_popup()
if attrs[0]>0:
print str(attrs[0])+" unread messages"
s = ' '
if attrs[0]>1: s=self.lang.get_string(35)+" "
self._tooltip.set_tip(self.tray,(self.lang.get_string(19))%{'u':attrs[0],'s':s})
pixbuf = gtk.gdk.pixbuf_new_from_file( ICON2_PATH )
else:
print "no new messages"
self.default_label="<span size='large' ><i><u>"+self.lang.get_string(21)+"</u></i></span>\n\n\n"+self.lang.get_string(18)
self._tooltip.set_tip(self.tray,self.lang.get_string(18))
pixbuf = gtk.gdk.pixbuf_new_from_file( ICON_PATH )
self.label.set_markup(self.default_label)
scaled_buf = pixbuf.scale_simple(24,24,gtk.gdk.INTERP_BILINEAR)
self.imageicon.set_from_pixbuf(scaled_buf)
self.eventbox.add(self.imageicon)
self.tray.show_all()
self.unreadmsgcount=attrs[0]
self.mailcheck=0
return gtk.TRUE
def has_new_messages( self):
unreadmsgcount=0
# Get total messages in inbox
try:
self.connection.refreshInfo()
unreadmsgcount=self.connection.getUnreadMsgCount()
except:
# If an error ocurred, cancel mail check
print "getUnreadMsgCount() failed, will try again soon"
return (-1,)
sender=''
subject=''
snippet=''
finalsnippet=''
if unreadmsgcount>0:
# Get latest message data
sender = self.connection.getMsgAuthorName(0)
subject = self.connection.getMsgTitle(0)
snippet = self.connection.getMsgSummary(0)
if len(sender)>12:
finalsnippet=shortenstring(snippet,20)
else:
finalsnippet=shortenstring(snippet,40)
# Really new messages? Or just repeating...
newmsgcount=unreadmsgcount-self.unreadmsgcount
self.unreadmsgcount=unreadmsgcount
if unreadmsgcount>0:
return (unreadmsgcount, newmsgcount, sender, subject, finalsnippet)
else:
return (unreadmsgcount,0, sender, subject, finalsnippet)
def show_popup(self):
# If popup is up, destroy it
if self.popup==1:
self.destroy_popup()
# Generate popup
print "generating popup"
self.popuptimer = gtk.timeout_add(self.options['animationdelay'],self.popup_proc)
self.window.show()
return
def destroy_popup(self):
print "destroying popup"
if self.popuptimer>0:gtk.timeout_remove(self.popuptimer)
if self.waittimer>0: gtk.timeout_remove(self.waittimer)
self.senddown=0
self.hassettimer=0
self.window.hide()
self.window.resize(180,1)
self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
return
def popup_proc(self):
# Set popup status flag
if self.popup==0:
self.popup=1
currentsize=self.window.get_size()
currentposition=self.window.get_position()
positiony=currentposition[1]
sizey=currentsize[1]
if self.senddown==1:
if sizey<2:
# If popup is down
self.senddown=0
self.window.hide()
self.window.resize(180,1)
self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
self.popup=0
return gtk.FALSE
else:
# Move it down
self.window.resize(180,sizey-2)
self.window.move(gtk.gdk.screen_width() - self.width,positiony+2)
else:
if sizey<140:
# Move it up
self.window.resize(180,sizey+2)
self.window.move(gtk.gdk.screen_width() - self.width,positiony-2)
else:
# If popup is up, run wait timer
sizex=currentsize[0]
self.popup=1
if self.hassettimer==0:
self.waittimer = gtk.timeout_add(self.options['popuptimespan'],self.wait)
self.hassettimer=1
return gtk.TRUE
def wait(self):
self.senddown=1
self.hassettimer=0
return gtk.FALSE
def tray_icon_clicked(self,signal,event):
if event.button==3:
self.popup_menu.show_menu(event)
else:
self.label.set_markup(self.default_label)
self.show_popup()
def event_box_clicked(self,signal,event):
if event.button==1:
self.gotourl()
def exit(self, event):
dialog = gtk.MessageDialog( None, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, self.lang.get_string(5))
dialog.width, dialog.height = dialog.get_size()
dialog.move( gtk.gdk.screen_width()/2-dialog.width/2, gtk.gdk.screen_height()/2-dialog.height/2)
ret = dialog.run()
if( ret==gtk.RESPONSE_YES):
gtk.main_quit(0)
dialog.destroy()
def gotourl( self, wg=None):
print "----------"
print "launching browser "+self.options['browserpath']+" [url]http://gmail.google.com[/url]"
os.system(self.options['browserpath']+" [url]http://gmail.google.com[/url] &")
def show_quota_info( self, event):
print "Not available"
#if self.popup==1:self.destroy_popup()
#print "----------"
#print "retrieving quota info"
#while gtk.events_pending()!=0:
# gtk.main_iteration(gtk.TRUE)
#try:
# usage=self.connection.getQuotaInfo()
#except:
# if self.connect()==0:
# return
# else:
# usage=self.connection.getQuotaInfo()
#self.label.set_markup("<span size='large' ><u><i>"+self.lang.get_string(6)+"</i></u></span>\n\n"+self.lang.get_string(24)%{'u':usage[0],'t':usage[1],'p':usage[2]})
#self.show_popup()
def update_config(self, event=None):
# Kill all timers
if self.popup==1:self.destroy_popup()
if self.init==1:gtk.timeout_remove(self.maintimer)
# Run the configuration dialog
self.configWindow.show()
# Update timeout
self.maintimer = gtk.timeout_add(self.options["checkinterval"], self.mail_check )
# Update user/pass
self.connection=gmailatom.GmailAtom(self.options["gmailusername"],self.options["gmailpassword"])
self.connect()
self.mail_check()
# Update popup location
self.window.resize(180,1)
self.width, self.height = self.window.get_size()
self.height +=self.options["voffset"]
self.width +=self.options["hoffset"]
self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
# Update language
self.lang=self.configWindow.get_lang()
# Update popup menu
self.popup_menu = GmailPopupMenu.GmailPopupMenu(self)
return
def main(self):
gtk.main()
if __name__ == "__main__":
warnings.filterwarnings( action="ignore", category=DeprecationWarning)
gmailnotifier = GmailNotify()
gmailnotifier.main()
Cheers!Anyone?
-
I'm having trounble with PNG transparency in Firefox
After I publish my site I see all the PNG transparency in Firefox but in other browsers the PNG transparency works well.
Is there a fix for this?You would need to publish a URL to get help with this and also mention which version of Firefox you are using. Are you using the latest V 4.0?
-
Hidden color in PNG transparency. How does photoshop define it and can i change it?
There is hidden colorinformation in PNG transparency. I need to set the hidden color to black.ow can i change this information?
You can see the false colorinformation of the PNG, when you open the file in Paintshop Pro.
My workaround of this is using PSP instead of Photoshop.Nice! Never thought of Shift clicking the Mask...Thank you for that information!
So when i click on the mask, i really get those hidden information. But i cant change it, do i?
I am using CS6.
And mask from transparency does not work for Smartobjects or does it? -
FCP 7 ignores PNG transparency if you don't design the "right" way :)
So here I am, doing my own thing as usual, editing, getting ready to slap on a lower third. So I decide to design it a different way this time. What if it looks like a curvy sheet of paper coming from the bottom of the screen, so that it's not just a regular suspended lower third that flashes on and off.
All good until I export the thing. It took me 2 hours to understand why FCP 7 is ignoring png transparency. Apparently, it's not how you export it, it's not the content (weird layers modes), and it's not even the DPI setting. It is the design itself. For some reason, FCP thinks you should never attempt to bring in a lower third that starts at the bottom of the screen, filling it completely. So there ya go. If you want PNG transparency, DO NOT FILL THE BOTTOM PART OF THE IMAGE. Leave some transparent space. Talk about putting your creativity on a leash.
To better illustrate this odd behavior which I would classify as a bug, I wasted 5 minutes recreating my "problem" for the world to see.
Have fun!
http://vimeo.com/19856624Hello,
Thank you for your advice. I have no experience using TIFF or even alpha channels when exporting an image. I understand how they work though, so I'll try that.
I have fiddled with that regular save as well, and it seemed to make a difference but then again it would still not be recognized as a transparent PNG either way. It may be a bug in my setup, I don't know.
Usually, if I want to animate something I use motion and that seems to take care of alpha channels on export. But of course, it would be a lot faster to do it right there in FCP, so thank you for again, I'll try using TIFF exports. -
.PNG Transparency in Photoshop CC won't carry over to Photoshop Touch
Whenever I creat a template in Photoshop CC with the intent of using it in Photoshop Touch, the.PNG transparency will not show in PS Touch. I open the document in Photoshop CC and its all layed out perfectly, I open it in Photoshop Touch and its flat and filled with white.
I'd really appreciate any help with this issue. Thanks!Does Photoshop Touch support PC and Mac files like .png files
Adobe Photoshop Touch for tablet
Photoshop Touch for phone -
.PNG Transparency Trouble in Robohelp
Hi! I'm trying to import a .PNG pic into my Robohelp file.
The background of the .PNG is set to transparent, but when I pull
into Robohelp, the background remains displayed. I've tried other
picture formats that have worked (with diminsihing clarity) but
want to know if I'm doing something wrong with the .PNG file.
Thanks!!From my limited experience, your problems are related to
incompatibility problems in general, not transparency per se.
PNG comes in many sub-formats, and RoboHelp can deal with
only a few limited sub-set.
For example, we had a lot of problem by using PNGs that have
16 colors. Instead, we need to convert them (back) to 256 colors.
Also, if we compress PNG images, often RoboHelp does not deal
with that very well.
I am telling you all of this, because instead of focusing on
the transparency itself, simply try a slightly different PNG format
(number of colors, compression, etc.) or a different tool.
We have used batch-conversion tools (IrfanView, etc.) with
success for this purpose. It takes a bit of trial and error, but we
established "rules" for PNG.
We prefer PNG over GIF because their size is so much
smaller. -
Hope somone can help with this. Basically I have a PNG image with a transparancy to sit over a gradient background, like this :
http://www.hpwebdesign.co.uk/mklink/index102.shtml
The little graphics next to campaign metrics are OK, but the main header image they sit in with the light blue gradient and hand graphic etc is not - the little areas around the curved corners should be transparent but are not (in IE6).
I assume this is because that is a background image for the <div> being referenced in the CSS, rather than dropped into the page directly.
So I guess my question is can this be overcome?
Thanks.IE 6 doesn't support transparent PNGs natively. You will either have to resort to Javascript hacks to force IE 6 to render it correctly (although these do not work for repeated background images in CSS), use a lowest common denominator image format (GIF), or use conditional commenting to give IE 6 it's own stylesheet with it's own image to get something somewhat like what the other browsers will see.
Or just not worry what IE 6 sees as long as your site content is accessible and usable. -
After Effects PNG Sequence Error Help Please
When I try to render a png sequence I got the following errors
After effects warning: Could not create file <file path> Access was denie
Another message box saying
AEGP plugin PNGIO Support: Unable to create PNGIO
(5027::12)
Another message box saying
After Effects error cannot close a closed file
(3::5)
It renders a few frames and then it crashes with these errors. Please help THANKSHere is my log
Adobe After Effects v12.0 (Windows 64) render log for project “Untitled Project.aep”
Rendering started on 11/8/2014 at 9:34:58 AM
11/8/2014 9:34:58 AM: Starting composition “cinematicsPre 2”.
Render Settings: Best Settings
Quality: Best
Resolution: Full
Size: 1702 x 953
Proxy Use: Use No Proxies
Effects: Current Settings
Disk Cache: Read Only
Color Depth: Current Settings
Frame Blending: On for Checked Layers
Field Render: Off
Pulldown: Off
Motion Blur: On for Checked Layers
Solos: Current Settings
Time Span: Work Area
Start: 0:00:04:10
End: 0:00:25:27
Duration: 0:00:21:19
Frame Rate: 30.00
Guide Layers: All Off
Skip Existing Files: Off
Output Module:Lossless
Output To:C:\Users\Matthew\Desktop\Youtube Stuff\ObeyRC\Sequence\1\cinematicsPre 2_[#####].png
Format: PNG
Output Info: -
Start Frame: 130
Output Audio: -
Channels: RGB
Depth: Millions of Colors
Color: Premultiplied
Resize: -
Crop: -
Final Size: 1702 x 953
Profile: -
Post-Render Action: None
0:00:04:10 (1): 3 Seconds
0:00:04:11 (2): 1 Seconds
0:00:04:12 (3): 1 Seconds
0:00:04:13 (4): 1 Seconds
0:00:04:14 (5): 1 Seconds
0:00:04:15 (6): 1 Seconds
0:00:04:16 (7): 1 Seconds
0:00:04:17 (8): 1 Seconds
0:00:04:18 (9): 1 Seconds
0:00:04:19 (10): 1 Seconds
0:00:04:20 (11): 1 Seconds
0:00:04:21 (12): 1 Seconds
0:00:04:22 (13): 1 Seconds
0:00:04:23 (14): 1 Seconds
0:00:04:24 (15): 1 Seconds
0:00:04:25 (16): 1 Seconds
0:00:04:26 (17): 0 Seconds
0:00:04:27 (18): 1 Seconds
0:00:04:28 (19): 1 Seconds
0:00:04:29 (20): 1 Seconds
0:00:05:00 (21): 1 Seconds
0:00:05:01 (22): 1 Seconds
0:00:05:02 (23): 1 Seconds
0:00:05:03 (24): 0 Seconds
After Effects warning: Could not create the file 'C:\Users\Matthew\Desktop\Youtube Stuff\ObeyRC\Sequence\1\cinematicsPre 2_00154.png'. Access was denied.
AEGP Plugin PNGIO Support: Unable to create PNGIO. (5027 :: 12)
After Effects error: cannot close a closed file. (3 :: 5)
11/8/2014 9:35:23 AM: Finished composition “cinematicsPre 2”.
Total Time Elapsed: 25 Seconds
Log closed on 11/8/2014 at 9:35:23 AM -
PNG Transparency Issues in v2.0?
I've been working on a project started in Captivate 1.0 and
imported into version 2.0. I employ a generous number of 24-bit PNG
files for "continue" buttons and "menu" buttons throughout a 200+
slide project. For some reason I cannot explain, some instances of
the PNG files have lost their transparent drop shadows and the area
around the button itself has gone solid black.
I can edit the button properties and re-select the button
.png file again to restore the dropshadow and "fix" the appearance
of the graphic, but when I re-publish certain images appear with
the solid black area again.
At one point I did change the project background property to
"black" by accident and then changed it back to "white." Could this
be a bug related to this action?
I don't mind making one pass through the project to reset the
buttons - but multiple passes are really eating up a lot of
production time.
Thanks in advance for any assistance you can offer.
-Mark
Any help would beHi mtippin,
Shooting in dark here, try editing the properties of button,
like transparency or any other property related to button only, and
do apply all, for all slides. See if that works for you?
thanks -
Hi helpers !@
im trying to load multiple external png files from a folder. the path for the images comes from an xml attribute and i got no problem with the path. The error message pops on when i try to add the loader into an array for later use and then when im done remove each child i created. There is something in my pratice that is not ok , i meen i know im wrong with at some point ! Duh theres an Error message for each loader i create .. .
ReferenceError: Error #1069: Property Loader not found on flash.display.LoaderInfo and there is no default value.
here some code , pls guide me !
function affichageM(){
var nodeM:XML;
for each ( nodeM in listeM ){
var reqM:String = localLogoM + nodeM.attribute("icon_max2");
var imageLoaderJ = new Loader();
imageLoaderJ.contentLoaderInfo.addEventListener(Event.INIT,addM);
imageLoaderJ.load(new URLRequest(reqM));
// just counting for fun
iNodeM ++;
function addM(e:Event){
try { var l_img:Loader = Loader(e.currentTarget.Loader);
l_img.name = "imageLoaderJ" + mc_ArrayImg.length().toString() ;
l_img.visible = false;
mc_ArrayImg.push(l_img);
mc_Jour.addChild(l_img);
//calling the fucntion that will animate all img in the array and had some text to them.....
drawMyImg(mc_ArrayMImg.length()-1);
catch (error:Error) {
//just counting errors for fun
iErreurM++;
var errorMessage:TextField = new TextField();
errorMessage.autoSize = TextFieldAutoSize.LEFT;
errorMessage.textColor = 0xFF0000;
errorMessage.text = error.message + " " + mc_Jour.numChildren + " " + mc_ArrayImg.length;
errorMessage.x = 10*iErreurM;
addChild(errorMessage);
return;Hi, I'm not sure you are on the correct forum. This is the Flash Player forum. When you first open your thread, look to your right "More like This" and perhaps one of those forums would be helpful. Perhaps the Flash forum?
Thanks,
eidnolb -
.png transparency- problem with underlying layer control
I have an opaque orange rectangle with a clear uneven square cut into it through which I am displaying a slideshow (Spry Image Slideshow) and it works fine except that I cannot control the slideshow with my cursor. I can control the slideshow fine when it is on top of the rectangle, but I want the cutout to act as a frame on top of the slideshow.
Is the transparency in the .png akin to a sheet of glass? If so can I access the controller somehow through the "glass" with some added code?Hi
You cannot place a 'layer' over the slideshow, as this 'layer', (Is this an ap div?) will then 'have focus' above the slideshow and anything underneath this, (the slideshow controls) will not be selectable.
You could program your own event handlers in javascript to control the slideshow, but this will require you to have a reasonable understanding of javascript programming.
PZ -
Latest Adobe Acrobat X doesn't support PNG transparent graphic?
So in the past using version 8.x I had no problem inserting graphics, including a signature that is a transparent PNG. Now with the update to the latest studio 5.5 which came with Acrobat X 10.1.1 when trying to insert that graphic (which took a while to figure out how to do, edit object, right click ,insert image), it blocks out the lines/etc that are part of the document (it doesn't block out the other fields where I put edit fields), but it shouldn't be because it's a transparent graphic (PNG).
After reading a few other articles in this forum about smilar problems I found the answer myself: While Photoshop uses the ICA driver provided by Apple Acrobat doesn't. Acrobat requires the installation of the drivers and software provided by EPSON. This package can be found on the EPSON web site, but only when searching for drivers for Mac OS X.6 that also run on OS X.7.
-
PNG transparent image would not show correct color
I am trying to draw some colored string on an transparent png image (24 bit color). I tried to draw red, blue and green color
string. The string using blue and green color showed ok. But string drew in red color showed as black. Any idea what's wrong?
My test png file is saved from photoshop with transparency checked
and png-24.
Here is my test program
import java.io.*;
import java.awt.*;
import java.awt.image.*;
import javax.swing.*;
import javax.imageio.*;
public class TestPng {
public static void main(String args[]) {
try {
String imageFileName = args[0];
BufferedImage bi = ImageIO.read(new File(imageFileName));
Graphics2D g = (Graphics2D)bi.getGraphics();
g.setColor(Color.red);
g.drawString("Testing1", 10, 10);
g.setColor(Color.green);
g.drawString("Testing2", 10, 25);
g.setColor(Color.blue);
g.drawString("Testing3",10,45);
ImageIO.write(bi, "png", new FileOutputStream(args[1]));
} catch (IOException e) {
e.printStackTrace();
}Found the problem. The color pallate of the original png image does not include the red color. Once added the red to the original png image color pallate. The program can show the correct colors.
-
Hi people
I am working on a site that has a striped background image.
I thought about using the PNG alpha transparency for some
images and using a
script (pngfix.js) to force IE 6 to accept the transparency.
It works fine, but my IE security is set to
´medium´ (default). If it´s set
to ´high´, even the Flash cannot be displayed. The
PNGfix script is blocked
also.
Does somebody know the correct way of doing it?
Thanks in advance
GusNo, it is not working, I try it on my page but IE7 blocked
the script,
We can write this text to our site: "If you use IE7 with
security high, please change it for medium, to prevent problems
with showing this site..."
Titti
http://textures.z7server.com
Maybe you are looking for
-
HOW TO CHANGE COLOR OF PARTICULAR CELL IN ALV
I HAVE DISPLAYED A REPORT IN ALV I WANT TO CHANGE THE COLOR OF VBELN FIELD ON WHICH HOTSPOT IS ON? HOW TO DO THIS?
-
Hi ... i need some clarifications 1) can we assign contact person to org unit? i know we can assign emplyee to position...but what about contcat person... 2)if we assign a target group to Marketing plan does that come to campaign element
-
Hi all, I'm creating a website for a client and have built a desktop, tablet and mobile site. What I'm wanting to know is can I add meta tags to only the desktop pages or does it need them on the tablet and mobile sites as well? Does this include ima
-
Where to put optional plug-ins of CS4 in Windows 7?
At last I succeeded to add the optional plug-ins (contactsheet, picture package) into CS-4 on my laptop with Windows XP. On my PC with Windows 7 I've tried several maps, but could not find the right one to bring back the contactsheet and picture pack
-
Hi, how do I become an IDoc if an Invioce / Billing Doc is created/changed. I set up the hole partner profile / port / message type. I need to create the coressponding idoc instantly to the creation / change of the invoice. thx 4 help daniel