Newest MultiView

miker1264 · 5446

paolone

  • Moderator
  • Senior Member
  • *****
    • Posts: 499
    • Karma: +87/-0
Reply #150 on: March 07, 2022, 02:23:29 PM
Downloaded. Many thanks!


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1053
    • Karma: +104/-0
Reply #151 on: March 08, 2022, 07:40:37 AM
Glad to see you are making progress. Any chances to commit you work to the repository?  8)



miker1264

  • Legendary Member
  • *****
    • Posts: 1286
    • Karma: +82/-2
Reply #152 on: March 08, 2022, 09:26:54 AM
Glad to see you are making progress. Any chances to commit you work to the repository?  8)

I need to refresh my local copy of the ABIv11 sources then recompile everything. I will have to get with you when I'm ready to do that in the next few days to make sure I have the right procedure. I'm still a bit new to GitHub procedures.

The revised datatypes are ready to go but the MultiView code will need to be fixed up and cleaned up a bit before submitting. DTConvert GUI is also almost ready to submit after testing.

My updated TGA and PCX datatypes don't compile for ABIv0. The compiler keeps complaining about strange errors. I may need to re-write portions of code for each to make them work.




deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1053
    • Karma: +104/-0
Reply #153 on: March 08, 2022, 05:31:12 PM

I need to refresh my local copy of the ABIv11 sources then recompile everything. I will have to get with you when I'm ready to do that in the next few days to make sure I have the right procedure. I'm still a bit new to GitHub procedures.

The revised datatypes are ready to go but the MultiView code will need to be fixed up and cleaned up a bit before submitting. DTConvert GUI is also almost ready to submit after testing.

Good, just let me know when you are ready.

My updated TGA and PCX datatypes don't compile for ABIv0. The compiler keeps complaining about strange errors. I may need to re-write portions of code for each to make them work.

Or wait until I update gcc for ABiv0 to 6.3.0. This should happen in ~2 months.



miker1264

  • Legendary Member
  • *****
    • Posts: 1286
    • Karma: +82/-2
Reply #154 on: August 08, 2022, 05:50:03 AM
For MultiView 1.8 I plan to include Multi-Image support.

I was waiting to figure out what to do about my current TIFF Datatype. The Datatype itself works with standard Datatypes Viewers, Picture Viewers & Paint Programs. But MultiView OpenDTO causes a problem in how it gets a Datatype. That method is not compatible with TIFF.

So the solution is to solve both requirements - open TiFF images & provide Multi-Image support. When MultiView starts the first thing it will do is "Check_Multi_Image". It will get the Datatype from file in the normal manner then test it. It will test for icons & Pictures. It will query the Datatype Class such as Picture, Sound, Text, etc.. If class is "Picture" it will find the Base name. It is looking for TIFF, MNG, or JNG. If found or if it finds an icon file it returns TRUE for Multi-Image support.

If Multi-Image is FALSE then MultiView will load the Datatype as it usually does. If, however, it is TRUE then it will load the Datatype differently to support multiple images. For example for Icons or TIFF maybe the TAB button toggles Next Image. We use the same window if the image is the same size but we use Erase Rectangle before drawing the next image. If the images are different sizes simply close the window & open a new one for the 2nd image.

Multi-Image support involves WhichPicture & GetNumPictures. TIFF, MNG & JNG (when I finish them) will all support these two methods. Other Multi-Image Formats can be added later when they become available. ICO Datatype, INFO Datatype & ICNS Datatype already support these methods for Multi-Images.

« Last Edit: August 08, 2022, 05:56:09 AM by miker1264 »



OlafS3

  • Senior Member
  • ****
    • Posts: 455
    • Karma: +47/-0
Reply #155 on: August 08, 2022, 08:57:42 AM
thanks Miker

Could you also compile for 68k? Perhaps also all updated datatypes?



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2073
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #156 on: August 08, 2022, 11:17:25 AM
Great work as always miker


magorium

  • Senior Member
  • ****
    • Posts: 442
    • Karma: +54/-0
  • Convicted non contributor
Reply #157 on: August 09, 2022, 01:20:15 AM
Great to see this happening miker.


Thank you for your hard work !


salvo

  • Legendary Member
  • *****
    • Posts: 1881
    • Karma: +22/-4
  • Peace an Love
Reply #158 on: August 09, 2022, 04:54:38 PM
great miker thank you :D

IcarosDesktop on HP Z400 Workstation