Requesting for SDK

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Requesting for SDK

Post 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!
Last edited by Denuvo on Sat Jan 20, 2024 10:32 am, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post by xnview »

you have the format SDK here
Pierre.
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Re: Requesting for SDK

Post 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. :(
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post by xnview »

oh sorry, there is no sdk for archive
Pierre.
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Re: Requesting for SDK

Post 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
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post by xnview »

XnView uses libarchive
Pierre.
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Re: Requesting for SDK

Post by Denuvo »

Sorry, i means xnview mp. does xnview mp uses libarchive as well?
Last edited by Denuvo on Sat Jan 20, 2024 11:01 am, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post by xnview »

i means XnView MP
Pierre.
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Re: Requesting for SDK

Post 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
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post by xnview »

you can add iso in Settings>Custom filter
Pierre.
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Re: Requesting for SDK

Post 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
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post by xnview »

Denuvo wrote: Sat Jan 20, 2024 5:01 pm More interestingly, i know this software from chat-gpt's recommandation :P
:o
Pierre.
Denuvo
Posts: 14
Joined: Fri Jan 19, 2024 1:18 pm

Re: Requesting for SDK

Post 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
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Requesting for SDK

Post 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
Pierre.
Post Reply