Hello Eiffel experts,
after only attempting very trivial tasks in Eiffel previously, I've decided
the best way to learn Eiffel is to try something a little more substantial.
The first step in my project is to write a Vision2 app that is able to open
and view a .jpg file. Second I'd like to be able to clip it then save the
.jpg file and third I'd like to be able to view the exif info. Further steps
will be dependent on me getting this far ;)
Looking through EiffelMedia I see that some of the examples load .jpg files,
for example lovely loads matterhorn.jpg as a background image. However, the
EiffelMedia 0.9 examples don't work with the version of EiffelStudio I have
installed (EiffelStudio 6 (6.0.6.7183 GPL Edition)). I get the following
message when I try to compile:
Error code: VYCQ(2)
Error: current class conforms to target of conversion query.
What to do: make sure current class does not conform to target of
conversion query or remove the target from the type list.
Class: EM_VECTOR4F
Feature name: to_reference
Conversion type: EM_VECTOR4F_REF
I see four options:
1) Go back to using an older version of Eiffel
2) Wait until I can get EiffelMedia working with ES6 (not sure if this is my
problem or a result of ES 6 implementing new language concepts).
3) Find another library function to convert .jpgs into pixmaps
4) Write my own functions to load and save .jpgs
Any advice appreciated.
Thanks
.