Newest MultiView

miker1264 · 13943

paolone

  • Moderator
  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #150 on: March 07, 2022, 07:23:29 AM
Downloaded. Many thanks!


deadwood

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



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #152 on: March 08, 2022, 02: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: 1524
    • Karma: +118/-0
Reply #153 on: March 08, 2022, 10:31:12 AM

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: 1827
    • Karma: +84/-6
Reply #154 on: August 07, 2022, 10:50:03 PM
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 07, 2022, 10:56:09 PM by miker1264 »



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #155 on: August 08, 2022, 01:57:42 AM
thanks Miker

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



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #156 on: August 08, 2022, 04:17:25 AM
Great work as always miker


magorium

  • Legendary Member
  • *****
    • Posts: 632
    • Karma: +62/-0
  • Convicted non contributor
Reply #157 on: August 08, 2022, 06:20:15 PM
Great to see this happening miker.


Thank you for your hard work !


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #158 on: August 09, 2022, 09:54:38 AM
great miker thank you :D