Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image Browser?
#1
Is it possible to create a maintenance script that we can run that scans:

C:\Program Files (x86)\CQC\CQCData\DataServer\Images\System\*.*

C:\Program Files (x86)\CQC\CQCData\DataServer\Images\User\*.*

The out put would be placed into the HTML documentation folder structure, for example:

C:\Program Files (x86)\CQC\CQCData\HTMLRoot\Web2\CQCDocs\UIImages

The generated HTML pages would then list out each folder and image within that folder, and it's name. Perhaps somehow reference the below structure? In trying to create a UI it's pretty difficult to view what images are available altogether.

[Image: Screen-Shot-2019-06-14-at-08-35-17.jpg]


In what format are *.CQCImgStore2 images?

Happy to help write something or to help put it together.
Reply
#2
You wouldn't be able to see them in the browser probably. Though I guess it's possible the browser may just scan the file for the signature of a known image format and find the PNG content inside it.

You couldn't copy them to the HTMLRoot directory, since it won't serve them up. Just copy them to a directory somewhere else and point the browser directly at the directory and browse it that way. You can always try one that way and if the browser finds the image and shows it, then just right click on the Images\System directory and copy and then paste them into a temp directory somewhere.

You can preview of them of course. When you select an image the Preview button becomes available to see it.
Dean Roddey
Explorans limites defectum
Reply
#3
Why file type are they? PNG? How is the image packaged inside of the CQCImgStore2 format or is that proprietary?

Can the CQCImgStore2 files not be unpacked to extract the PNG (or whatever format they are in) within?
Reply
#4
The actual image data is PNG, but it's contained with other housekeeping information that allows CQC to track changes and so forth, which greatly improves performance.

They could be unpacked potentially but no tool exists to do that. It only happens internally when it has to convert the PNG data to a bitmap.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Image Pack Previews Not Available gReatAutomation 4 153 05-22-2019, 04:51 PM
Last Post: gReatAutomation
  Google Calendar and Web Browser kblagron 4 282 04-25-2019, 10:10 PM
Last Post: kblagron
  Cover Art Browser pjgregory 15 3,301 05-25-2018, 11:18 AM
Last Post: Dean Roddey
Question Boolean image is in error state ghurty 4 1,258 05-24-2018, 09:04 PM
Last Post: ghurty
  Using Overlay and Static Image Browser kblagron 2 1,193 03-11-2018, 11:59 PM
Last Post: kblagron
  Problem with Genre Browser pjgregory 4 1,345 03-02-2018, 09:34 AM
Last Post: Dean Roddey
  How to Import a CQC Image Package KenC 9 3,436 10-28-2017, 04:38 PM
Last Post: KenC
  Cover Art Browser scrolling issues sic0048 7 2,986 08-22-2017, 08:00 PM
Last Post: Dean Roddey
  Field Logo Image depending on another condition lleo 6 2,492 07-27-2017, 09:45 AM
Last Post: Dean Roddey
  Web browser widget background color dlmorgan999 3 1,964 04-27-2017, 05:01 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)