Page 1 of 1

Requesting for SDK

Posted: Fri Jan 19, 2024 2:00 pm
by Denuvo
Hi!
I'm new here and i'd like to develop the addon library to meet my personal need.
I usually archive my picture files via iso disk image.
For me, here's a lot of advantages to use iso disk image format as archive format, such as:
1. Read only. i did not want my stored picture files somehow been accidentally changed.
2. Fast seeking speed. read pictures from iso disk image is almost as the same responsive as stored on hard disk natively.
3. Easy management. like many other archive formats, packing multiple pictures into one archive file is easy for managing and transfer.
And i know it may not be a very common need for users, so i decide to develop a relative addon for iso disk image format support myself.
So could you please provide some header files for developing for additional archive format support? thanks!
like the function defination of ACEReadArchiveData...
Much thanks for the help!

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 9:10 am
by xnview
you have the format SDK here

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 10:28 am
by Denuvo
xnview wrote: Sat Jan 20, 2024 9:10 am you have the format SDK here
Hi, this SDK seems intended for extra image format support, not for archive format types like zip, rar, etc. :(

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 10:33 am
by xnview
oh sorry, there is no sdk for archive

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 10:41 am
by Denuvo
xnview wrote: Sat Jan 20, 2024 10:33 am oh sorry, there is no sdk for archive
Oh, is there any chance i could add support for extra archive formats? XnView is relly the best image viewer on the market and i wish to write addons to make it stronger

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 10:51 am
by xnview
XnView uses libarchive

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 11:00 am
by Denuvo
Sorry, i means xnview mp. does xnview mp uses libarchive as well?

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 11:01 am
by xnview
i means XnView MP

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 11:20 am
by Denuvo
Thanks! that was an exciting news because libarchive supports ISO image format natively.
There's only one problem left, xnview mp does not recongnize *.iso file extension, if i rename my *.iso file's extension to *.zip, xnview mp could open my iso disk image file with out any problems. So is there any settings provided to make xnview mp recongnize such archive format like *.iso that supported by libarchive? I've tried to directly open my *.iso file with xnview my but with no luck, i have to manually rename it to something like *.zip

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 2:00 pm
by xnview
you can add iso in Settings>Custom filter

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 5:01 pm
by Denuvo
Thanks for the assistance, now it works with iso files perfectly.
This software is really mind blowing to me.
Thanks again for creating such awsome software! :D
More interestingly, i know this software from chat-gpt's recommandation :P

Re: Requesting for SDK

Posted: Sat Jan 20, 2024 6:32 pm
by xnview
Denuvo wrote: Sat Jan 20, 2024 5:01 pm More interestingly, i know this software from chat-gpt's recommandation :P
:o

Re: Requesting for SDK

Posted: Mon Jan 22, 2024 7:34 am
by Denuvo
Hi, I've found another minor issue during daily use:
When I set image to fit window and I zoomed the image after, zoom out and zoom in the image will not able to make the image to fit the window again ,except manually set the image to fit the window again.
Is there anyway to workaround it? It's minor to me so its ok if there's no possible solution at the moment to fix it, thanks! :D

Re: Requesting for SDK

Posted: Mon Jan 22, 2024 8:09 am
by xnview
Denuvo wrote: Mon Jan 22, 2024 7:34 am Hi, I've found another minor issue during daily use:
When I set image to fit window and I zoomed the image after, zoom out and zoom in the image will not able to make the image to fit the window again ,except manually set the image to fit the window again.
Is there anyway to workaround it? It's minor to me so its ok if there's no possible solution at the moment to fix it, thanks! :D
Please create a new topic