Paraview programmatically Save Screenshot not working on an XYChartView - animation

Using ubuntu 16.04 LTS, Paraview 5.0.1.
I have a Layout with two views, one RenderView and one LineChartView.
I want to programmatically Save Screenshot and Save Animation of the two together.
When doing either one, and also when doing this with only the LineChartView, only a portion of it shows up in the created image. The image below shows an example, where the error is evident.
The same result is obtained when saving the image with:
WriteImage("test.png")
SaveScreenshot("test.png"). Tried several combinations of ImageQuality, ImageResolution, magnification.
Via menu (not my final target, but I tried it).
How can I programmatically get the correct images/animations, both of this View alone and paired with another one?

As posted by Cory Quammen in a comment, upgarding to 5.4.1 seemed to work.
I wouldn't know if suitably setting some parameters (e.g., lineChartView1.ViewSize and/or in SaveScreenshot) this could also work in 5.0.1.

Related

LibreOffice Writer - captions crop figures

I am creating a report meant to be read/edited by MS Word. To do that I have created it from scratch and saved as .docx.
In this report I am including some images together with captions. All of the captions were added manually. Everything went fine, I have saved the document and closed Writer.
Now I want to put my hands on it again and, upon opening the report, this is what I am seeing:. Previously the figure was showing fine inside the text box (that inserting a caption creates). The text box is in the same position and size, but there appears to be a boundary over which it just displays white. I can reduce the figure's size inside the boundary of visibility, and a glimpse of the captions appears too .
Note that the red arrow disappears too.
Needless to say, I can not work on a 100+ pages document and then check again each picture, delete it and re-create it, check again the cross references and so on. I would much rather work with LaTeX, but I am required to deliver a .docx file.
I am working on Ubuntu 20.04, Libreoffice is updated to version 6.4.6.2 and the only plugins I have equipped it are TexMath and Zotero.
Thank you for your time.
I noticed the same thing. It seems to be an issue already in Libreoffice Writer between Linux and Windows. If you create a document on Linux with a cropped image and then open the file in Libreoffice on Windows the cropping of that image is already messed up. Happens to me with Libreoffice Version 6.3.5.2.

DropZone Bootstrap theme error adding multiple files in the list using Firefox for mobile

i followed this official example to use DropZone with Bootstrap theme, it works good in Chrome but i noticed a problem in Firefox for mobile, seems that it can't manage the multiple file addition, you can see it directly from the official example page, if you try to select more than 1 file per time (2 pics for example) the creation of the list fails, there is only one preview row with no preview image and 0 byte dimension text.
Here the example adding two pics in a single time:
Just updated Firefox for Android at 79.0.5 version(08/17/20) and the problem is gone, but is still present in the previous versions, it would be very useful to understand what it is related to.

Only image added not the extension

I recently re-installed VSC and I'm having a strange issue in my HTML files.
I remember I was used to using the autocomplete function to get an instant list of the images I wanted to insert, then I was choosing one and then VSC would add it to my code in the form of filename.jpg
This time, when I try to do the same thing, I only get the filename and then I have to type the extension manually.
What am I missing?

Reading multiple PDF files in Preview app Mac OS X Maverick

I need to work on multiple PDF files and because of annotating those files, I prefer to use Preview built-in app for Mac OSX.
If I am in the middle of one PDF file say on Page 5, and I transit to some other PDF file and come back to the previous file, then I always get the first page of that PDF.
Is there any setting which I can use so that I always get the page from where I left?
Not sure what the problem is, mine works as you seem to want it to. Maybe your Preferences are set differently. Here are mine.

Phonegap on WP7 does not load images

I'm starting my first PhoneGap project and am developing using Visual Studio and Windows Phone 7, although I intend on ultimately deploying to iOS and Symbian as well.
However, I'm stuck at Step 1. I have added an image to the www/images folder, and put the following code:
<img src="images/login-btn.png" width="103" height="42" style="margin-left:90px;" />
And I get:
It works fine when I preview it in IE9, but I don't have a Mac to test it on iOS yet.
It's worth noting that the JS files and CSS have loaded fine, it's just any image (whether referenced in CSS or an <img> tag) always comes up broken.
My guess would be the Build Action of your image file is incorrect.
According to http://wiki.phonegap.com/w/page/48672055/Getting%20Started%20with%20PhoneGap%20Windows%20Phone%207#4Reviewtheprojectstructure section 4. You should be setting the Build Action of your images etc to Content which simply copies them into the output project when it is built. They are probably currently set to Resource or None.
To change the Build Action right click a file and choose properties to go to the properties window if you do not already have it open. It is probably then the first property. Just click and choose the correct one.
I'm posting this to questions that I found while trying to find my answer to the same problem. The JS framework I use adds a url query to each image when in a debugging mode (in order to force browsers to reload image, instead of using cached). So, my image "image/background.jpg" would be accessed as "image/background.jpg?d=34342233". But, when running on PhoneGAP for Windows Phone, it won't recognize the image, and thus it shows up as broken. So, I had to turn off debugging for the framework I use, and suddenly the images showed up (still, don't forget to set the Build Action to "Content" as mentioned earlier).

Resources