VBA no longer loads an image
When I upgraded to Excel 2013 from 2003, the following code now gives me Run-time error 1004: Unable to get the Object property of the OLEObject class. The intent is to simply load a file image into an Image object in a spreadsheet. The Image objects exist,
the file exists, and code to alter their position, width, etc works fine. For some reason the .object.picture or even .object.autosize give this error after the upgrade.
Set ole = Config_Sheet.OLEObjects(myimage)
With ole
.Object.Picture = LoadPicture(image_filename)
End With
There is nothing wrong with the code, it should work fine in Excel 2013 assuming the sheet and object are referenced as expected, and the filename exists.
Can you insert a new image control OK, is so try with the new object. If not, search your system for all MSForms.exd, delete all or rename say *.exd.old and try again. Might need to close and restart Excel.
Similar Messages
-
Safari will no longer load any images in the browser. What could be the problem?
In the last couple of months safari will no longer load any type of image in the browser. All the text loads fine and the layout is correct but everywhere there should be a picture of any sort is blank. what can I do to fix this?
- See:
iPod touch: Hardware troubleshooting
iPhone and iPod touch: Charging the battery
- Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
- If a 5G iPod
Iphone 5 lightning port charging problem - SOLUTION!
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
Disk image no longer loading...
have a disc image on a ext. drive, whilst watching a video the firewire cable popped out and lost the connection to the ext. drive. Now when ever i try and load the image, the following message pops up...
'The following disk images failed to mount,
No mountable file systems.'
any suggestions on getting in back? have tried running 'repair' using the first aid facility on disc utility...BDAqua wrote:
I really think you're out of luck.
There's one tiny chance I can think of... there used to be some 3rd party APP that allowed you to mount disk images without the checking of them, it really speeded up mounting them, but it's been to long to remember what it was.
Might try searching on MacUpdate or Version Tracker.
You can do this with Disk Utility. Open the preferences and look under the mounting tab for options. Don't forget to reset the preferences when you're done.
I believe that Data Rescue may be able to help if the image was neither compressed nor encrypted. The demo would tell you whether it could or not.
- cfr -
Loading an image from CameraRoll - how long should it take ?
Hi All
I'm loading an image from the CameraRoll using this method http://www.flashandmath.com/mobile/cameraroll/
Now on my iPad2 the image loads pretty instantaneously
However on my iPhone4 it takes approx 8 seconds for the image to load.
( The time is taken after calling loader.loadFilePromise waiting for Event.COMPLETE ... i.e. the image to load )
function onImgSelect(event:MediaEvent):void {
var promise:MediaPromise = event.data as MediaPromise;
removeBrowseListeners();
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImageLoaded);
loader.contentLoaderInfo.addEventListener(ErrorEvent.ERROR, onError);
loader.loadFilePromise(promise);
The code base is the same. There are (at least) 2 differences :-
1) The hardware (iPad vs phone)
2) The number of images on the camera roll (approx 60 on iPad vs almost 900 on the phone)
Has anyone else noticed such a difference in speed between devices / number of files ?
Is there a better/quicker way to load an image from CameraRoll ?
Is 8 seconds normal/acceptable (I show a busy indicator)
Any help / suggestions/ observations most appreciated !If you opted for the Secure Erase and the account has a lot of data in it, then it could take days to complete.
-
Long Load Times on Graphic Intensive Games
I'm experiencing some absurdly long load times (1-3 hours) with many games (SPORE, Portal, X:3, etc...) that I believe may be related to how graphically intensive they are. Older games with lower graphics quality (WoW, Civ 4, etc...) load up fine.
When I load any newer game the icon appears in the tray and the computer does nothing else for at least an hour, whereupon the program loads and begins playing immediately--often without any further delays or issues.
I also use Boot Camp to run Windows Vista (Ultimate 32) and experience no delays when running SPORE on Windows.
Below are my specs:
Hardware:
Hardware Overview:
Model Name: iMac
Model Identifier: iMac5,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.33 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: IM51.0090.B09
SMC Version: 1.9f4
Serial Number: QP7121Q** <Edited by Moderator>
Network:
Bluetooth:
Type: PPP (PPPSerial)
Hardware: Modem
BSD Device Name: Bluetooth-Modem
Has IP Assigned: No
IPv4:
Configuration Method: PPP
IPv6:
Configuration Method: Automatic
Proxies:
Proxy Configuration Method: Manual
Exclude Simple Hostnames: 0
FTP Passive Mode: Yes
Auto Discovery Enabled: No
Built-in Ethernet:
Type: Ethernet
Hardware: Ethernet
BSD Device Name: en0
Has IP Assigned: No
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
Proxies:
FTP Proxy Enabled: No
FTP Passive Mode: Yes
Gopher Proxy Enabled: No
HTTP Proxy Enabled: No
HTTPS Proxy Enabled: No
RTSP Proxy Enabled: No
SOCKS Proxy Enabled: No
Ethernet:
MAC Address: 00:17:f2:d4:e8:98
Media Options:
Media Subtype: Auto Select
Built-in FireWire:
Type: FireWire
Hardware: FireWire
BSD Device Name: fw0
Has IP Assigned: No
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
Proxies:
Proxy Configuration Method: Manual
Exclude Simple Hostnames: 0
FTP Passive Mode: Yes
Auto Discovery Enabled: No
Ethernet:
MAC Address: 00:19:e3:ff:fe:81:ea:7a
Media Options: Full Duplex
Media Subtype: Auto Select
Software:
System Software Overview:
System Version: Mac OS X 10.5.3 (9D34)
Kernel Version: Darwin 9.3.0
Boot Volume: MacintoshHD
Boot Mode: Normal
Computer Name: emeldi
User Name: Mike (mike)
Time since boot: 1 day9:05
ATA:
ATA Bus:
MATSHITADVD-R UJ-85J:
Capacity: 423.4 MB
Model: MATSHITADVD-R UJ-85J
Revision: FCQ5
Serial Number:
Removable Media: Yes
Detachable Drive: No
BSD Name: disk1
Protocol: ATAPI
Unit Number: 0
Socket Type: Internal
Low Power Polling: Yes
Mac OS 9 Drivers: No
Partition Map Type: Unknown
S.M.A.R.T. status: Not Supported
Volumes:
SPORE:
Capacity: 368.7 MB
Media Type: CD-ROM
Writable: No
File System: ISO Rockridge
BSD Name: disk1s0
Mount Point: /Volumes/SPORE
Volumes:
disk1s0:
Capacity: 368.7 MB
Media Type: CD-ROM
Writable: No
File System: ISO Rockridge
Audio (Built In):
Intel High Definition Audio:
Device ID: 0x83847680
Audio ID: 23
Available Devices:
Headphone:
Connection: Combo
Microphone:
Connection: Internal
Speaker:
Connection: Internal
Line In:
Connection: Combo
S/P-DIF Out:
Connection: Combo
S/P-DIF In:
Connection: Combo
Bluetooth:
Apple Bluetooth Software Version: 2.1.0f17
Hardware Settings:
emeldi:
Address: 00-17-f2-be-d3-95
Manufacturer: Cambridge Silicon Radio
Firmware Version: 3.1965 (3.1965)
Bluetooth Power: On
Discoverable: No
Requires Authentication: No
Services:
Bluetooth File Transfer:
Folder other devices can browse: ~/Public
Requires Authentication: Yes
State: Enabled
Bluetooth File Exchange:
Folder for accepted items: ~/Documents
Requires Authentication: No
When other items are accepted: Ask
When PIM items are accepted: Ask
When receiving items: Prompt for each file
State: Enabled
Devices (Paired, Favorites, etc):
JabraBT125:
Name: JabraBT125
Address: 00-1a-45-81-c4-f6
Type: Headset
Services: Headset, Hands-Free unit
Paired: Yes
Favorite: Yes
Connected: No
Manufacturer: Cambridge Silicon Radio ($3, $978)
Incoming Serial Ports:
Serial Port 1:
Name: Bluetooth-PDA-Sync
RFCOMM Channel: 3
Requires Authentication: No
Outgoing Serial Ports:
Serial Port 1:
Address:
Name: Bluetooth-Modem
RFCOMM Channel: 0
Requires Authentication: No
Diagnostics:
Power On Self-Test:
Last Run: 6/22/08 3:50 AM
Result: Passed
Disc Burning:
MATSHITA DVD-R UJ-85J:
Firmware Revision: FCQ5
Interconnect: ATAPI
Burn Support: Yes (Apple Shipping Drive)
Cache: 2048 KB
Reads DVD: Yes
CD-Write: -R, -RW
DVD-Write: -R, -RW, +R, +R DL, +RW
Write Strategies: CD-TAO, CD-SAO, DVD-DAO
Media:
Type: CD-ROM
Blank: No
Erasable: No
Overwritable: No
Appendable: No
FireWire:
FireWire Bus:
Maximum Speed: Up to 400 Mb/sec
Graphics/Displays:
ATI Radeon X1600:
Chipset Model: ATY,RadeonX1600
Type: Display
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 256 MB
Vendor: ATI (0x1002)
Device ID: 0x71c5
Revision ID: 0x0000
ROM Revision: 113-xxxxxx-139
EFI Driver Version: 01.00.139
Displays:
iMac:
Display Type: LCD
Resolution: 1680 x 1050
Depth: 32-bit Color
Built-In: Yes
Core Image: Hardware Accelerated
Main Display: Yes
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Display Connector:
Status: No display connected
Memory:
BANK 0/DIMM0:
Size: 1 GB
Type: DDR2 SDRAM
Speed: 667 MHz
Status: OK
Manufacturer: 0x2CFFFFFFFFFFFFFF
Part Number: 0x3136485446313238363448592D3636374433
Serial Number: 0xDB086DDD
BANK 1/DIMM1:
Size: 1 GB
Type: DDR2 SDRAM
Speed: 667 MHz
Status: OK
Manufacturer: 0x2CFFFFFFFFFFFFFF
Part Number: 0x3136485446313238363448592D3636374433
Serial Number: 0xDB086DDC
Power:
System Power Settings:
AC Power:
System Sleep Timer (Minutes): 0
Disk Sleep Timer (Minutes): 0
Display Sleep Timer (Minutes): 15
Sleep On Power Button: Yes
Automatic Restart On Power Loss: Yes
Wake On LAN: Yes
Display Sleep Uses Dim: No
Hardware Configuration:
UPS Installed: No
Printers:
Lexmark All In One:
Status: Idle
Print Server: Local
Driver Version: 1.1.3
Default: Yes
URI: usb://Lexmark/Lexmark%20All%20In%20One?location=1d120000
PPD: Lexmark All In One
PPD File Version: 1.0
PostScript Version: (3011.104) 0
Lexmark All In One-1:
Status: Idle
Print Server: Local
Driver Version: 1.1.3
Default: No
URI: usb://Lexmark/Lexmark%20All%20In%20One?location=3d120000
PPD: Lexmark All In One
PPD File Version: 1.0
PostScript Version: (3011.104) 0
Serial-ATA:
Intel ICH7-M AHCI:
Vendor: Intel
Product: ICH7-M AHCI
Speed: 1.5 Gigabit
Description: AHCI Version 1.10 Supported
WDC WD2500JS-40TGB0:
Capacity: 232.89 GB
Model: WDC WD2500JS-40TGB0
Revision: 20.06C04
Serial Number: WD-WCANY2508218
Native Command Queuing: Yes
Queue Depth: 32
Removable Media: No
Detachable Drive: No
BSD Name: disk0
Mac OS 9 Drivers: No
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Verified
Volumes:
MacintoshHD:
Capacity: 232.57 GB
Available: 11.26 GB
Writable: Yes
File System: Journaled HFS+
BSD Name: disk0s2
Mount Point: /
Volumes:
disk0s2:
Capacity: 232.57 GB
Available: 11.26 GB
Writable: Yes
File System: Journaled HFS+
USB:
USB High-Speed Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBEHCI
PCI Device ID: 0x27cc
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0xfd
Built-in iSight:
Version: 1.84
Bus Power (mA): 500
Speed: Up to 480 Mb/sec
Manufacturer: Micron
Product ID: 0x8501
Vendor ID: 0x05ac (Apple Computer, Inc.)
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27c9
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x3d
USB Hub:
Version: 1.00
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: OEM
Product ID: 0x0061
Vendor ID: 0x043d
Lexmark All-in-One:
Version: 1.00
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Lexmark
Product ID: 0x0069
Vendor ID: 0x043d
All-in-One:
Version: 1.00
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Lexmark
Product ID: 0x0060
Vendor ID: 0x043d
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27ca
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x5d
USB Multimedia Keyboard:
Version: 1.00
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: ALCOR
Product ID: 0x9462
Serial Number: Au9462
Vendor ID: 0x058f
USB RECEIVER:
Version: 25.10
Bus Power (mA): 100
Speed: Up to 1.5 Mb/sec
Manufacturer: Logitech
Product ID: 0xc50e
Vendor ID: 0x046d
USB Multimedia Keyboard:
Version: 1.22
Bus Power (mA): 250
Speed: Up to 12 Mb/sec
Manufacturer: ALCOR
Product ID: 0x9410
Serial Number: Au9462
Vendor ID: 0x058f
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27c8
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x1d
USB Bus:
Host Controller Location: Built In USB
Host Controller Driver: AppleUSBUHCI
PCI Device ID: 0x27cb
PCI Revision ID: 0x0002
PCI Vendor ID: 0x8086
Bus Number: 0x7d
Bluetooth USB Host Controller:
Version: 19.65
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Apple, Inc.
Product ID: 0x8206
Vendor ID: 0x05ac (Apple Computer, Inc.)
IR Receiver:
Version: 1.10
Bus Power (mA): 500
Speed: Up to 12 Mb/sec
Manufacturer: Apple Computer, Inc.
Product ID: 0x8240
Vendor ID: 0x05ac (Apple Computer, Inc.)
AirPort Card:
AirPort Card Information:
Wireless Card Type: AirPort Extreme (0x14E4, 0x87)
Wireless Card Locale: USA
Wireless Card Firmware Version: Broadcom BCM43xx 1.0 (4.170.46.7)
Current Wireless Network: ACTIONTEC
Wireless Channel: 9
Firewall:
Firewall Settings:
Mode: Limit incoming connections to specific services and applications
Services:
File Sharing (AFP): Allow all connections
Printer Sharing: Allow all connections
Applications:
com.apple.iChat: Allow all connections
com.apple.ODSAgent: Allow all connections
com.aspyr.empireatwar: Block all connections
com.RealNetworks.RealPlayer: Allow all connections
Locations:
Automatic:
Active Location: Yes
Services:
Bluetooth:
Type: PPP
IPv4:
Configuration Method: PPP
IPv6:
Configuration Method: Automatic
Proxies:
Proxy Configuration Method: 2
Exclude Simple Hostnames: No
FTP Passive Mode: Yes
Auto Discovery Enabled: No
PPP:
ACSP Enabled: No
Display Terminal Window: No
Redial Count: 1
Redial Enabled: Yes
Redial Interval: 5
Use Terminal Script: No
Dial On Demand: No
Disconnect On Fast User Switch: Yes
Disconnect On Idle: Yes
Disconnect On Idle Time: 600
Disconnect On Logout: Yes
Disconnect On Sleep: Yes
Idle Reminder: No
Idle Reminder Time: 1800
IPCP Compression VJ: Yes
LCP Echo Enabled: No
LCP Echo Failure: 4
LCP Echo Interval: 10
Log File: /var/log/ppp.log
Verbose Logging: No
Built-in Ethernet:
Type: Ethernet
BSD Device Name: en0
Hardware (MAC) Address: 00:17:f2:d4:e8:98
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
FTP Proxy Enabled: No
FTP Passive Mode: Yes
Gopher Proxy Enabled: No
HTTP Proxy Enabled: No
HTTPS Proxy Enabled: No
RTSP Proxy Enabled: No
SOCKS Proxy Enabled: No
Built-in FireWire:
Type: FireWire
BSD Device Name: fw0
Hardware (MAC) Address: 00:19:e3:ff:fe:81:ea:7a
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
Proxy Configuration Method: 2
Exclude Simple Hostnames: No
FTP Passive Mode: Yes
Auto Discovery Enabled: No
AirPort:
Type: IEEE80211
BSD Device Name: en1
Hardware (MAC) Address: 00:19:e3:df:5e:9b
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
Proxy Configuration Method: 2
Exclude Simple Hostnames: No
FTP Passive Mode: Yes
Auto Discovery Enabled: No
IEEE80211:
Allow Net Creation: Yes
Disconnect On Logout: No
InterferenceRobustness: 0
Join Mode: Automatic
JoinModeFallback: Prompt
MAC Address: 00:19:e3:df:5e:9b
PowerEnabled: 1
PreferredNetworks:
SecurityType: Open
SSID_STR: ACTIONTEC
Unique Network ID: F0FA7942-54E7-409B-A1CA-10B05F3B2EDE
SecurityType: WPA2 Personal
SSID_STR: D Pad
Unique Network ID: A391D57D-A4EC-4B2E-B741-0D6569BD77AB
Unique Password ID: 404D3742-17AA-4C24-A229-7E37725522EA
SecurityType: Open
SSID_STR: linksys
Unique Network ID: FD2A5229-348A-4E90-B4E2-48E4DE62C394
SecurityType: Open
SSID_STR: M and M
Unique Network ID: D980D42A-E76C-4A68-920D-AAC9537C26C9
SecurityType: Open
SSID_STR: default
Unique Network ID: 5A2D9117-3263-46B9-952D-A4463BA5F377
SecurityType: Open
SSID_STR: Sweet Lou's **** Shack
Unique Network ID: FA247542-1EF4-41B6-A242-688E75C85B57
RememberRecentNetworks: 1
Ethernet Adaptor (en2):
Type: Ethernet
BSD Device Name: en2
Hardware (MAC) Address: 00:01:23:45:67:89
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
Exceptions List: *.local, 169.254/16
FTP Passive Mode: Yes
Ethernet Adaptor (en3):
Type: Ethernet
BSD Device Name: en3
Hardware (MAC) Address: 00:10:32:54:76:98
IPv4:
Configuration Method: DHCP
IPv6:
Configuration Method: Automatic
AppleTalk:
Configuration Method: Node
Proxies:
Exceptions List: *.local, 169.254/16
FTP Passive Mode: Yes
Volumes:
net:
Type: autofs
Mount Point: /net
Mounted From: map -hosts
Automounted: Yes
home:
Type: autofs
Mount Point: /home
Mounted From: map auto_home
Automounted: Yes
Universal Access:
Universal Access Information:
Cursor Magnification: Off
Display: Black on White
Flash Screen: Off
Mouse Keys: Off
Slow Keys: Off
Sticky Keys: Off
VoiceOver: Off
Zoom: OffThat's old info for the HDD space--I've purchased an external, so my main drive stays plenty free, now.
-
I have upgraded to Mountain Lion and have found that some of my software no longer works, notably Image Browser and also the Epson Scanner Perfection 3490 software. Is there a 'patch' or way to allow me to use these programmes especially the scanner.
Apple discontinued support for PowerPC apps with Lion, I think, so you're out of luck there. No patch coming, unfortunately. Best to upgrade whatever old applications you have or, since it seems like you're using some relatively old software, scout around for replacements that give you the functionality you need.
Go to Apple menu > System Preferences > Print & Scan and select your scanner from the list--if it's not there you'll need to add it (start with the little plus icon). Once you have it in the list you can click on the Open Scanner button and a pretty barebones scanner driver will load for you. But Image Capture (as mentioned previously), found in your Applications folder, will probably do the job as adequately, or better, than your old scanner software. -
When I go to a web page with lots of images (basically, all of them) Safari loads the text portion of the page promptly, then hangs up and waits and after an excruciatingly long time will give up and load question marks for all the images. If I reload the page the images immediately load properly. Sometimes I'll stop the loading process while it's hung up, and reload the page, and again all images appear fairly promptly. Anyone else having this problem? It helps to empty the cache and clear the history, but I can't do that every time I load an image heavy page. Any ideas?
iMac Mac OS X (10.3.4)Hi Elaine,
Welcome to Apple Discussions
Two areas to check:
Safari Preferences>Appearance panel. Make sure the "image load" selection is checked. If not, do so, then try a page load again.
Otherwise, go to your System Preferences>Network>TCP panel. There, enter 4.2.2.1 and 4.2.2.2 (separate lines) in the DNS servers box. Then select "apply".
Restart Safari and try the page load again.
I notice your tag says 10.3.4. Is this correct? Latest version of OS X Panther is 10.3.9, which would give you an upgraded version of Safari (v 1.3.2). You can upgrade via Software Update in System Preferences. If you do this, do not use the computer during the upgrade process. After finished, make sure you "repair permissions" using Disk Utility>First Aid Panel ini your Utilities folder.
Post back
Message was edited by: Hawaiian_Starman -
Pre-loading external images for XML-based gallery
I'm working-on an XML-based photo gallery here:
http://www.unionandparkwood.com/demo/flash_gallery/
It works how I want it, except that the first time a
thumbnail is clicked for an image, it pauses long enough to skip
the fade. If you click-through the images a second time, you'll see
that it works smoothly. My guess is that the first time the
thumbnail is clicked, the image isn't cached, yet.
I tried to fix this by creating a JavaScript file for the
page to pre-load each image and thumbnail:
0003a = new Image;
0003a.src = "images/Down-Range.jpg";
0003b = new Image;
0003b.src = "thumbnails/Down-Range.jpg";
But that didn't work. What would be the best way to do this?
I included a link to "Download ZIP" of the FLA project on
this page, too, because it wouldn't be easy for me to describe
what's happening. In a nutshell, a thumbnail click launches a
function that loads the appropriate image into the main image
holder. What seems to be happening the first time is the image
isn't loaded before the fade is finished, so the image just appears
after a short pause the first time.>>What seems to be happening the first time is the
image isn't loaded before
>>the fade is finished, so the image just appears after
a short pause the
>>first time.
As has been said many times in thos forum - use the
MovieClipLoader class to
load images, and then use that class' onLoadInit method to do
things with
the loaded image. Loading is asynchronous - you _have_ to
wait until the
image is done loading before doing a fade.
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Loader won't load large images
I have some pretty large PNG images stored in a database (example 1000x15000 px, 4.5MB). I am trying to load this using the Loader class...the problem I am having is when I call load(), nothing happens. No events, no errors.
I can take the same image and embed it. As long as as I set the height to less than 8000px it works fine. If I convert the same image to a ByteArray, and try to load that byte array nothing happens.
Any suggestions?
ThanksHmm, so at this point I am just trying to load the image into memory and not display it. I don't really need to display it at full size. Are you saying that I can't even load the image at all?
I haven't tried stitching. It seems like a lot of effort and I was hoping I wouldn't have to do that. Additionally, the data is already stored as a single PNG file in the database so I don't know how I am going to break it up. I was hoping since I can display the embedded image at 8000px high I could do the same thing with the ByteArray.
Flash isn't even throwing an error so I can't even tell the user why the image isn't loading. Since the Loader won't load it I can't determine the image height. -
Hi, I have a series of images that I want to load from the
top down. My page has a 3 column table with a menu, a long series
of images, and a shorter series of images. Link--->
L=Travel-Tees.com]http://travel-tees.com/index.htm[/L] I'd like the
page to load all the images on the top of the page first so the
user doesn't have to wait for ALL the images to load from column 2
before column 3 starts to load. Can I paste some javascript in the
page to tell it to load top down, or do i have to fix the page
layout and tables somehow? Any help is appreicated...Thanks!That's how images are fetched from the server - top down. But
the size
(weight in bytes) of the images determines how rapidly the
images are
transmitted to the client browser, and will definitely affect
the order in
which you see them appear on the page. So, unless the images
have been
preloaded on some *earlier* page, you will not be able to do
this in any
practical sense.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"pimpride" <[email protected]> wrote in
message
news:fpum5v$59n$[email protected]..
> Hi, I have a series of images that I want to load from
the top down. My
> page
> has a 3 column table with a menu, a long series of
images, and a shorter
> series
> of images. Link--->
L=Travel-Tees.com]http://travel-tees.com/index.htm
> I'd
> like the page to load all the images on the top of the
page first so the
> user
> doesn't have to wait for ALL the images to load from
column 2 before
> column 3
> starts to load. Can I paste some javascript in the page
to tell it to
> load top
> down, or do i have to fix the page layout and tables
somehow? Any help is
> appreicated...Thanks!
> -
I am loading a png file and saving it again with following code. The newly created image file is smaller size and poorer quality. How can I retain size and quality of the image?
===========================================
File input = new File(imgFilePath+"img1.png");
BufferedImage im = ImageIO.read(input);
Graphics2D g = im.createGraphics();
File output = new File(imgFilePath+"out2.png");
ImageIO.write(im,"png",output);
===========================================Would a moderator please change this topic back to not solved.
@Noel: I tried exactly what you said, copying the image to itself so the source and target would be the same size. It does not work. I do understand that you respond to many posts and can't actually try to reproduce every issue. However, in this case, if you did try it on the posted image you would see that the problem is as I described it.
@Acidiclnk: Thank you for reproducing the problem. Unfortunately, I checked your response as the correct answer, but now realize that it does not solve the problem. What you suggest shifts the position of the image from its as loaded position. Then, as you said, copied images do register with the original. The problem is, the shifted image no longer lines up with the other maps of my texture.
It took me awhile to find the commands you described, as they are a bit different in my CS4 ("Align Layers to Selection > Vertical Centers", etc). When I tried them, the pasted image was correctly registered with the original. Unfortunately, as I mentioned, the image is no longer aligned with the other maps of the texture.
For this particular case, since there were large, uniform areas in the image, I temporarily added fiducial marks to the problem image and one of the other maps. Then, after copy/paste, I moved the shifted copy until it's fiducial was aligned with the other map, then removed the fiducals. (I could not use MTSTUNER's Duplicate Layer suggestion, since duplicating it to a new image created a new image with the same problem as the original).
To summarize: PhotoShop loads this image in one position, but aligning the centers or copy/paste moves it to another position. I would be happy to know why this is so. I did verfy that it's unique to PhotoShop as copy/paste works without the shift in another graphic editor. Any insights would be welcome. -
Long Loadtime of Image (internet) Previews
Ok, so I had a WRT150N router on the third floor of my house and the Apple TV on the first floor of the house and everything was going fine. The thing I noticed was the instant loading of the previews of iTunes top movies, top music, trailers, etc. Now, I just bought an Airport Extreme Base Station with firmware 7.2.1 at the same place where my old router was. The thing I'm noticing now is it takes a lot longer to load top music, movies, tv shows, youtube previews, etc on my Apple TV. The signal strength that appears on the Apple TV is either 4 or 5 bars (fluxuates), this was also the case with the Linksys router. I tried power-cycling my cable modem and the Airport Extreme Base Station. Does anyone think that this might have something to do with either the Airport Extreme or Apple TV or the position of the two devices? Is anyone having longer load times of image previews of youtube, top music, top movies, etc?
After disabling the printer sharing service on the Airport Extreme Base Station and plugging my Powerbook directly up to the Airport Extreme Base station, I've noticed the sluggish load time of image previews of iTunes top movies, music, tv shows, etc or significantly faster if not at normal load times. Could the printer sharing feature or the shared HD feature slow down the performance of the network? (This may be more of an Airport BS question than an Apple TV one)
-
Applet loading of images -- network or JAR approach faster?
hi all,
i'm stumped. my applet used to load images over the network. (it was actually designed by someone else.) yes, the applet used to load each image file independently over the network and incurred a network hit per image file.
to avoid the overhead of a separate network connection for each image file, i bundled all the images into the same JAR file that contains the applet. yet, the loading time for the applet is somehow slower now. i'm totally mystified.
i put the code for loading each image into a separate thread as well. here's the thread code:
BEGIN CODE
public class ImageLoaderThread extends Thread {
private Hashtable images;
private DesignApplet applet;
public ImageLoaderThread(DesignApplet applet, Hashtable images, String imageFile) {
super(imageFile);
this.images = images;
this.applet = applet;
public void run() {
try {
System.out.println("Starting to load image ...");
String imageFile = getName();
InputStream is = applet.getClass().getResourceAsStream(imageFile);
int arraySize = is.available() * 2; // CH: create extra space just in case
System.out.println("Image Loader Thread: " + imageFile + "bytes available: " + arraySize);
BufferedInputStream bis = new BufferedInputStream(is);
byte[] byBuf = new byte[arraySize]; // a buffer large enough for our image
int byteRead = bis.read(byBuf, 0, arraySize);
Image buttonImage = Toolkit.getDefaultToolkit().createImage(byBuf);
images.put(imageFile, buttonImage);
catch(Exception e) {
System.out.println("Exception while loading: " + getName());
e.printStackTrace();
END CODE
imageFile is the name of an image file stored in the JAR file. it's not stored on the server anywhere, so i know the image is getting created from the JAR file. despite this, the speed of image creation seems tied to the network. in other words, when i attempt to load the applet over a slow link, it takes longer to load than over a fast link.
any ideas what i'm doing wrong? i'm seriously stumped and could use help. my goals are to minimize loading time of the applet while minimizing network hits for the server.
thanks!
p.s. if you want to play w/ the applet, click on the following link and click the "Customize" button: http://www.cengraving.com/s/z/Photo-plaques/PP024.jspWhy are you using a thread to load each image why not just load the images in the gui thread?
Each thread you create takes a finite time to be started and stopped. This will surely have added to the load and startup time.
There is also blocking going on since using the Java Console I can see that each thread reports in sequence:
"Starting to load image ..."
And then after all threads have reported they are starting they then report in squence:
Image Loader Thread: " + imageFile + "bytes available: " + arraySize information.
This shows that there is at least some blocking going on with the threads.
I don't think using separate threads to do the loading is helping at all. Just load them one after another in the same thread (the thread all your threads are being started from).
The putting of the images into the images Hashtable will also be blocking since Hashtable is synchronized. -
Poor performance when dragging item within a list loaded with images - Flex 4
Hi,
I have a custom built List component that is using a TileLayout. I am using a custom itemRenderer to load images into this list from our server (in this test, 44 images rae loaded). I have enabled dragEnabled and dragMove so that I can move items around within the list. The problem comes when I start dragging an item. The dragging operation is very slow and clunky.
When I move the mouse to drag the item, the dropIndicator does not get refreshed for a few seconds and the movement feels like my PC is lagging pretty badly. I've also noticed that during this time my CPU usage is spiking up to around 25-40%. The funny part is I can scroll the list just fine without any lag at all, but the minute I drag the application starts to lag really bad. I do have some custom dragOver code that I used to override the dragOverHandler of the list control, but the problem persists even if I take that code out. I've tried with useVirtualLayout set to both true and false and neither setting made a difference.
Any ideas as to what could be causing the poor performance and/or how I can go abouts fixing it?
Thanks a lot in advance!Ahh, good call about the Performance profiler. I'm pretty new to the profiling thing with Flex (haven't used Builder Pro before
the Flex 4 beta) so please forgive me
I found some interesting things running the performance profiler but I'm not sure I understand what to make of it all. I cleared the Performance Profile data when right before I loaded the images into the list. I then moved some images around and then captured the Profiling Data (If I understand Adobe correctly, this is the correct way to capture performance information for a set of actions).
What I found is there is a [mouseEvent] item that took 3101ms with 1 "Calls" (!!!!). When I drill down into that item to see the Method Statistics, I actually see three different Callees and no callers. The sum of the time it took the Callees to execute does not even come close to adding up to the 3101 ms (about 40ms). I'm not sure what I can make of those numbers, or if they are even meaningful. Any insight into these?
The only other items that stand out to me are [pre-render] which has 863ms (Cumulative Time) / 639ms (Self Time), [enterFrameEvent] which has 746ms / 6ms (?!), and [tincan] (what the heck is tincan?) which has times of 521ms for both Cumulative and Self.
Can anyone offer some insight into these numbers and maybe make some more suggestions for me? I apologize for my ignorance on these numbers - as I said, I'm new to the whole Flex profiling thing.
Many thanks in advance!
Edit: I just did another check, this time profiling only from the start of my drag to the end of my drop, and I still see [mouseEvent] taking almost 1000ms of Cumulative Time. However, when I double click that item to see the Method Statistics, no Callers or Callees are listed. What's causing this [mouseEvent] and how come it's taking so long? -
I import 1:1 previews, and I still get long "loading..." delays. Mac OSX.4.11 LR 2 G5 2.5
Even after I have just been to an image, this happens. Especially at 1:1.
Thanks for opinions.Where do you see it? If it is going into Develop, you will always see that, as Develop does not use prerendered previews, but always renders from the RAW file. The 1:1 previews are used in Library where their presence should speed up browsing. If you see "loading from previews" often while browsing in the Library, it means your harddisk is not keeping up. It might actually help then to use lower-res previews.
Maybe you are looking for
-
My laptop Pavilion 9700 will not recognize the DVD/CD drive: The drive does not show up in the Device Manager's list: The disk spins and the light is on: Use a paper clip to open the door; I updated to Sevice Pak 2 recently, but I am not sure if th
-
Making a new website for another user
Hi all, How can I make a completely new website for someone else without publishing my own pages to a map? Do I just delete my pages from the published material or does my index page go beserk when I do that? Thanks for your input!
-
Hi, We have an application which we are wanting to introduce timezone support. The DB server resides and runs in GMT but now have clients who could be based anywhere in the world. Has anybody any experience in converting a system from the old DATE to
-
We are not able to pass the presentation variables(date & Date1) to the det
Hi, We have followed the below link to use the date between prompt and passed the presentation variables in the filter condition of the report criteria. http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html But we are not able to pass
-
I don't really need to have my music on two places: iTunes Library and iPod. iPod should be enough. But a lot of services and views are available in Library. So what if I put my entire Library to my iPod? It works! But in that case the music consumes