Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

[VW7.2.1] ImageEditor causes virtual machine to crash in Linux
I have a 800x600 bmp file. I read into VW as follows.

ImageReader imageFromFile: 'colors.bmp' toClass: DummyTree selector:
#colors

I start ImageEditor, load the resource DummyTree class>>colors. VW
disappears from the screen totally.

Is there a better way to get a photo size *.bmp or *jpg into VW and
view it there?

Thanks,
Koh

Report this thread to moderator Post Follow-up to this message
Old Post
A-S Koh
10-01-04 01:59 AM


Re: [VW7.2.1] ImageEditor causes virtual machine to crash in Linux
A-S Koh wrote:

> I have a 800x600 bmp file. I read into VW as follows.
>
> ImageReader imageFromFile: 'colors.bmp' toClass: DummyTree selector:
> #colors
>
> I start ImageEditor, load the resource DummyTree class>>colors. VW
> disappears from the screen totally.
>
> Is there a better way to get a photo size *.bmp or *jpg into VW and
> view it there?
>
> Thanks,
> Koh

To view the image, you can do something like

ApplicationWindow new
component: (Wrapper on: DummyTree colors);
open

(I think in the good old days it would work even without the wrapper,
but things change).

As for the ImageEditor, "don't do that". ImageEditor can only work with
small images, and even for those it's worse than primitive. If you want
to edit the picture, you are better off doing that in a real image
editor, and importing it afterwards.

--
Vassili Bykov
Tools Technical Lead, VisualWorks Engineering
v b y k o v  A T  c i n c o m  D O T  c o m
http://www.cincomsmalltalk.com/userblogs/vbykov

Report this thread to moderator Post Follow-up to this message
Old Post
Vassili Bykov
10-03-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:39 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.