Is there a way to export mulitple layer combinations as JPEG or PNG files in Inkscape? - export

I have a SVG with multiple layers, I wonder it there is an automatic way to show/hide certain layers and export these combinations as PNG or JPG files. I came across this extension
https://inkscape.org/~Xaviju/%E2%98%85inkscape-export-layers-extension
which apparently does what I want, but I saved it in the user extensions inkscape folder and it doesn't show up in the Extensions--> Export menu after I restart Inkscape. Maybe because of the version I'm using (1.0.2).
Is there another way to do this?

Maybe this one will help?
https://gitlab.com/Moini/inx-exportobjects
It allows you to keep one or more layers constant, and to export to various formats.
Just noticed that you shouldn't check 'export visible layers only', it errors out (until I've fixed it, that is).

Related

Batch export raster layers with underlaying other layers to PNG using same layout (ArcGIS Pro)

I wouldn't ask if I had not searched a way for the whole day - so my problem is, that i have multiple raster files (>300) that show different flooding of cells in each iteration step (so not strictly a time series, but close). I want to display the results on a hillshade (that remains the same) of every raster and export it to a png. My goal is to animate them using one layout in ArcGIS Pro, where only the active raster layer should change on every export and then animate the exported png files to one GIF or video file!
How is this possible in ArcGIS Pro 2.8?? Or QGIS?
ArcGIS Pro Animation tools are not working for this scenario (because I dont have feature classes and/or time series data) and QGIS seems to only work with change of extents in Atlas (or time series with time data as well). In ArcMap there used to be a tool called Group Animation, which does exactly what i want to do ...
Any ideas? Maybe a python script? Any hints on that?
Very appreciated!
Max
I have tried out the ArcGIS Pro Animation tools which apparently need time series data or feature classes (which I dont have). QGIS Atlas also seems to only work with varying the extent of the image on every iteration...

Can't use PNG files larger than 10kb in pdf generation

I am trying to generate pdf files using renderToStaticMarkup from react-dom/server library and every time I am using png files larger than 10KB it doesn't display them. I read the documentation for any workarounds, but found nothing. It does not allow for other file types like .svg either. Is there any way for me to add good quality images to pdfs or I have to go by without them? Thanks for all the answers in advance!
PS. When I load images from external links they display properly.

How should I go about streaming large local video files in React?

I've recently taken up leaning some more JS and started working on a video player using React.But I am stumped on this issue I am having; I can not import files larger than 2gb and I cannot find any information on streaming the files from local directories, every doc I find either uses smaller than 2gb files, or uses remote files, like a w3.org link.
How should I go about streaming said files. Should I be using HLS, DASH, or something else?
As an example:
import video from './content/filename.mp4';
This will throw the error saying:
RangeError [ERR_FS_FILE_TOO_LARGE]: File size (filesize) is greater
than 2 GB
Making it impossible for me to playback in the default video player or something like video-react or videojs. The one solution I can think up is splitting the files into chunks, but I can't seem to find any reliable ways to do that.
In normal html and js, the same files load normally (I dynamically load the src based on the query parameters) and play in the default video player, so I assume this is a Webpack limit to avoid crashing the browser.
Thanks in advance!

How to batch export raster files from qgis?

I need to export->save as quite a big amount of raster files in qgis and just can't find a way to make it all at once. I'm not very advanced in coding. Any suggestions?
You can try Processing Toolbox-->Database--> Package Layers
this way save your all rasters in one gpkg package.

File format of CF10-jpg

While working on a tool that allows to exchange images of several third-party applications and thus creating individual "skins" for those applications, I have stumbled across a jpg-format about which I cannot seem to find any decent informations.
When looking at it in a hex-editor, it starts with the tag "CF10". Searching the internet has only provided a tool that is able to handle these kind of files, without any additional informations.
Does anyone have any further informations about this type of jpg-format?
file(1) should give you some useful information. You can also use ImageMagick's identify(1) program (optionally with the -verbose option) to get even more details about the file. See the example on that page for a good idea of what information it provides.
You could also try and see what the Droid identification tool says about that file.
CF stands for "Compression Factor". CF-10 means factor ten, and I don't think it's different from any "standard" jpeg.
DROID gives it as being a "JTIP (JPEG Tiled Image Pyramid)". Some info from http://www.bcr.org/cdp/digitaltb/digital_imaging/formats.html :
JTIP (JPEG Tiled Image Pyramid) is similar to GridPrix. It offers multiple layers of higher and higher resolutions. Each layer is further divided into tiles. A user can zoom into these tiles, or request a corresponding tile at a higher resolution.

Resources