Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Deep Zoom Composer Crashes anytime I try to do more than a few files...???
5 replies. Latest Post by rukina on April 28, 2009.
(0)
caseynsh...
Member
20 points
99 Posts
09-05-2008 1:32 PM |
It lets me add the images, it lets me compose them, but as soon as I try to Export them.. it crashes.. doesn't seem to matter to much the size of the images, as I shrunk them by 80% so they were much smaller size and it still crashed.
simbuaar...
Participant
1172 points
405 Posts
09-08-2008 10:23 AM |
reinstall deep zoom latest version .. it does not crashes when you export images ..
09-08-2008 11:03 AM |
It DOES crash when you Export Images often. It does work 80% of the time, however, the other 20% it does crash.
I have installed it on two different machines and received the same results.
It consistently fails on large files (5-10 jpgs each about 5-10 megs)
Here is the debugging info.
EventType : clr20r3 P1 : deepzoomcomposer.exe P2 : 1.0.0.0 P3 : 489692a8 P4 : presentationcore P5 : 3.0.0.0 P6 : 470bc96a P7 : 4be P8 : 5 P9 : system.argumentexception
When I debug into the error.
{"Value does not fall within the expected range."}Source = PresentationCoreStackTrace = " at MS.Internal.HRESULT.Check(Int32 hr)\r\n at System.Windows.Media.Imaging.CroppedBitmap.FinalizeCreation()\r\n at System.Windows.Media.Imaging.CroppedBitmap..ctor(BitmapSource source, Int32Rect sourceRect)\r\n at DZC.Export.ExportWorkspaceCtrl.CreateCompositionPreviewBitmapFromResizableImages()\r\n at DZC.Window1.TabControlSelectionChanged(Object sender, SelectionChangedEventArgs e)\r\n at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)\r\n at System.Windows.Controls.TabControl.OnSelectionChanged(SelectionChangedEventArgs e)\r\n at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()\r\n at System.Windows.Controls.Primitives.Selector.SetSelectedHelper(Object item, FrameworkElement UI, Boolean selected)\r\n at System.Windows.Controls.Primitives.Selector.NotifyIsSelectedChanged(FrameworkElement container, Boolean selected, RoutedEventArgs e)\r\n at System.Windows.Controls.Primitives.Selector.OnSelected(Object sender, RoutedEventArgs e)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)\r\n at System.Windows.Controls.TabItem.OnSelected(RoutedEventArgs e)\r\n at System.Windows.Controls.TabItem.OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)\r\n at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)\r\n at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)\r\n at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)\r\n at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)\r\n at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)\r\n at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)\r\n at System.Windows.Controls.TabItem.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)\r\n at System.Windows.UIElement.OnPreviewGotKeyboardFocusThunk(Object sender, KeyboardFocusChangedEventArgs e)\r\n at System.Windows.Input.KeyboardFocusChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)\r\n at System.Windows.Input.InputManager.ProcessStagingArea()\r\n at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)\r\n at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)\r\n at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew)\r\n at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)\r\n at System.Windows.UIElement.Focus()\r\n at System.Windows.Controls.TabItem.SetFocus()\r\n at System.Windows.Controls.TabItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)\r\n at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)\r\n at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.ReRaiseEventAs(RoutedEventArgs args, RoutedEvent newEvent)\r\n at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)\r\n at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)\r\n at System.Windows.Input.InputManager.ProcessStagingArea()\r\n at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)\r\n at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)\r\n at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r\n at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)\r\n at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)\r\n at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)\r\n at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)\r\n at System.Windows.Threading.Dispatcher.Run()\r\n at System.Windows.Application.RunInternal(Window window)\r\n at System.Windows.Application.Run(Window window)\r\n at System.Windows.Application.Run()\r\n at DZC.App.Main()"
09-09-2008 3:28 AM |
Value does not fall within the expected range
do u want to debug this pbm when ever you open new image you must declare new object like
Image brush1 = objUC_Shirts.InnerContent.FindName("brushBusinessCollar") as Image; bi3.UriSource = new Uri("http://localhost:3209/TStore_Web/Shirt/" + ImageName1, UriKind.Absolute); brush1.Source = bi3;
09-09-2008 10:28 AM |
I don't desire to debug into Deep Zoom Composer.. I would like it to work. :)
rukina
4 points
2 Posts
04-28-2009 1:36 PM |
I had the exact same problem. In my case the problem was a somehow corrupt JPG-file. The only way I found out was to import all my images and then add them one by one to the artboard and always click on the export tab. Eventually I narrowed it down to one file that caused DZC to crash. After eliminating it everything went just fine. Hope that helps if anyone still encounters that problem.